This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Has anyone conjured up a reliable way to handle sitemap.xml inclusive of dynamic plugin data like ProBlog / Blog / or ProEvents?
ChadStrat
Not tried it yet... but this looks simple enough: http://www.laravel-tricks.com/tricks/adding-a-sitemap-to-your-laravel-application
Hello, do you you have some instructions for me, how to integrate this laravel package into october?
My idea, create a polymorphic relation w/ the following fields:
- inclusion (drop down field with: default (set in settings, either included/excluded), included, excluded
- priority: a dropdown with 0.0 (lowest priority), 0.1, 0.2... up to 1.0 (highest priority)
- update interval: a dropdown with daily, weekly, monthly, yearly
Since its polymorphic, it can relate to any model. You then can set a blog/problog/events inclusion and priority. I'm not sure how to do non-database content (like pages/cms/static pages/etc..)... but similar idea probably.
Then you can query all the references and use the sitemap package above to add the urls.
1-4 of 4