Skip to content

How to use the library #1

Description

@sidgitind

Thank you for this sitemap library. I am trying to use it in my project and stuck with these queries.

  1. I want to add a URL to the sitemap as and when a new product is added to my website. I am confused by the usage of the add() function in your example controller.
  2. In your example controller, the general function will be called by bots when accessing the sitemap file, why add() function is used here...

Thanks for your help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions