On 1 May 2006, at 11:00, Piers Cawley wrote:

> Gary Shewan <[EMAIL PROTECTED]> writes:
>
>> How easy would it be to add fixed text to the end of each post in the
>> feed?  I don't mean in the actual post itself, but automagically
>> inserted on publish - only in the feed.
>
> Shouldn't be too hard (but you're going to be repeating yourself a
> fair bit if you do it for all possible feed types), just add some
> static content to your app/views/xml/_<feed_type>_item_article.rxml
> templates (I think you should be able to do that in your theme
> directory but I haven't tried it).

Dear me you think it would be easy, but it isn't.  I can kill the  
feed compliance by putting a made up tag in (I can live with that for  
now).  Something along the lines of <rights> after each item using

xm.rights "This is the rights to this"

Which of course shows up in the feed source, but not in the actual  
feeds when in a feedreader.

Does anybody actually have more than a clue with this and know what  
tags will be displayed in RSS2.0 and Atom?  Or have I missed the  
point and it's actually a lot easier to put it in some other form?

I really don't want to have to crawl through specs...

Cheers

Gary
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to