Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-27 18:51:45

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

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

#3 2008-01-27 21:21:22

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

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

Re: Improving RSS Feed Validation to Best Practices

wet wrote:

Please try r2793.

Wet, that’s looking great. Didn’t notice, since embezzled in 4.0.5 stable.

Thanks a many for fixing this up.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#5 2008-01-28 03:57:31

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: Improving RSS Feed Validation to Best Practices

It works beautifully. :)

Offline

Board footer

Powered by FluxBB