Textpattern CMS support forum
Woah Prmal feeds need something etri, that was fast!!!
Normal rss feeds need
<link rel="alternate" type="application/rss+xml" title="RSS feed" href="http://www.site.tld/rss/" />. I can not see what is needed in the specs for the json one.
- Core designer
- From: Farnham, Surrey, UK
- Registered: 2009-06-11
- Posts: 3,209
@kuopassa great work! I’ve put this into the upcoming Textpattern official site and it works very well. Maybe option to rename the feed query name and limit to a certain section would be great additions.
Along the lines of…
<link rel="alternate" type="application/json" title="JSON feed" href="<txp:site_url />feed.json?section=blog">
…for consistency with the existing Textpattern feed structure.
See the ‘Discovery’ section of the JSON feed spec for the recommended syntax.