Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Improving RSS Feed Validation to Best Practices
Currently, any RSS Feed generated by Textpattern (including 4.0.6-RC1) will validate but the following message will be generated:
Recommendations
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
line 53, column 7: Missing atom:link with rel=“self” help
</item></channel>
This is because the feed does not comply with the RSS Best Practices Profile.
Offline
#2 2008-01-27 20:20:41
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: Improving RSS Feed Validation to Best Practices
The RSS Advisory Board specifies, that content with an additional atom Namespace for RSS2 Feeds will profit in handibility by a wider range of Feed-readers and Services.
On the other hand not even Nick Bradbury’s Feeds go along without that warning message (They don’t even validate).
I think there are three possible solutions, if you want to solve that.
- Hack it in the Source-code, how the feed is being constructed.
- Write a plugin
- Make your own custom feeds, with mg_setheader, you put the xml in a Pagetemplate, that uses its own section, the item description element holds an article tag enclosed in CDATA block.
See for an example here
grab the xml, from your feedreader , so you can see, how the xml is being constructed. ( Netnewswire is best for that )
But note, that I am not using some of the elements.
regards, marios
Last edited by marios (2008-01-27 20:22:06)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: Improving RSS Feed Validation to Best Practices
Please try r2793.
Offline
#4 2008-01-27 21:45:22
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Offline
Re: Improving RSS Feed Validation to Best Practices
It works beautifully. :)
Offline