Thank you for this sitemap library. I am trying to use it in my project and stuck with these queries.
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.
In your example controller, the general function will be called by bots when accessing the sitemap file, why add() function is used here...
Thank you for this sitemap library. I am trying to use it in my project and stuck with these queries.
Thanks for your help.