Specific Link

Issue #27 new
Sven Ulrich created an issue

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)

  1. Ladislav Soukup repo owner

    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

  2. Ladislav Soukup 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).

  3. Log in to comment