jonge-democraten / website

JD website
https://jongedemocraten.nl
MIT License
6 stars 2 forks source link

RSS-feeds should be available #46

Closed Pi2048 closed 9 years ago

Pi2048 commented 9 years ago

In principle, Mezzanine does this by default. In the tag, it writes:

This, however, should vary with the blog that is currently being watched. For example, the blog at http://jd.local:8000/blog/category/jd-blog/ also has an RSS feed, namely at http://jd.local:8000/blog/category/jd-blog/feeds/rss. The tag in his , however, still points to the main blog RSS feed (which contains all posts in all blogs for that site).

This could be a Mezzanine bug. We have to look into it further.

Pi2048 commented 9 years ago

I fixed this a little differently. All pages now contain an autodiscover tag for all blogs together and every blog category separately.

Using the currently existing demo data, you can already see this behaviour in action. Load jd.local:8000 and view source. There will be eight tags for the different feeds there. The lh.jd.local:8000 site has six (two types * (two categories + one for all posts)). The ams.jd.local:8000 site has only two.