Specific Link
Hi there, is it possible to add a specific category to the feed link. e.g. cat=4. I' ll need it as as second feed link, not as default.
Kind regards
Comments (4)
-
repo owner -
reporter hmm... no way will work. Only the original. (this one: http://www.city-magazin.info/?feed=rss2) and i need this. http://www.city-magazin.info/?cat=4/feed
may you have a look on it?
-
repo owner this link is working on your site: http://www.city-magazin.info/?feed=rss2&cat=4
... but there is an error in the generated XML feed:
line 300, column 404: XML parsing error: <unknown>:300:404: not well-formed (invalid token) ... ingeladen mitzumachen. Das Motto lautet ?“Ostern im SOLEMIO“ ...
problem is "“" - don't know why at this moment... Do you have a latest version of the SBRSS plugin? I did some updates to fix possible character encoding problems. There may still be some chars, that will render the RSS feed invalid. I will try to look at it later today or tomorrow (trying to replicate the problem and fix it).
-
reporter Ok, thank you. I have Version 1.4.14 installed
- Log in to comment
hi :) this is native WordPress function, you can generate feed for whole site or for specific category. Like the global feed for my site is https://ladasoukup.cz/feed and feed for just one category of posts is https://ladasoukup.cz/blog/behind-the-scenes/feed/ - just add "/feed" at the end of url of your category archive (listing) page.
There is also a way how to get RSS feed for multiple categories: https://ladasoukup.cz/feed/?cat=30,31 (working in WP 4.2)... In past versions, the link was like this https://ladasoukup.cz/?feed=rss&cat=30,31 (in new version this will be redirected).
Hope this will help you