There can an RSS containing all posts.
(Can optimize the SEO)
I like this suggestion and already have a branch feature/feed built out with the necessary classes to accomplish this. There's one problem though:
Canvas doesn't "know" about how posts are routed from the frontend. The link value in each <entry> in the feed itself needs to be an absolute path to where the post can be publicly viewed.
So, the only viable solution I can see is passing some sort of config variable to serve as the path prefix.
That would make it so the following scenarios would be covered:
www.athlead.com/posts/post-slugwww.theartinstitute.com/post-slugHowever, Dwight wants his to look more personalized to himself:
www.schrutefarms.com/dwight/post-slugwww.schrutefarms.com/mose/post-slugWhen it's a dynamic routing structure, even a config variable passed to Canvas won't do the job.
I'd really like to see this feature as a part of the package, but until I find a solution that will work for all these scenarios, and more, it's stuck where it is.
Related to https://github.com/cnvs/canvas/issues/490
Maybe of interest to you : https://www.tastethecode.com/adding-rss-to-any-laravel-site
Even I use Canvas with my Laravel Blog and I have written an whole article on it. You might find it very useful https://stackcoder.in/posts/how-to-generate-rss-feeds-in-php-larvel
Even I have written an article how to add Sitemap https://stackcoder.in/posts/how-to-generate-sitemap-in-php-laravel
Kindly go thought it
@austintoddj I know it might be bit over asking from you.
Since many of them will have issues with generating RSS Feeds and Sitemap Can you please include my article links in the documentation.
Not only mine. But any other article/packages links which can help to grow the Canvas Community. I am damm sure many of them will surely find the articles/packages very useful
@austintoddj Я знаю, что это может быть немного больше, чем просить от вас.
Поскольку многие из них будут иметь проблемы с созданием RSS-каналов и карты сайта, пожалуйста, включите ссылки на мою статью в документацию.
И не только моя. Но любые другие статьи/пакеты ссылок, которые могут помочь расширить сообщество Canvas. Я чертовски уверен, что многие из них наверняка найдут статьи / пакеты очень полезными
This works with the link view domain.com/username/feed ?
@prodigital-design yea it does
Closing in lieu of #923.
Most helpful comment
Maybe of interest to you : https://www.tastethecode.com/adding-rss-to-any-laravel-site