syndication1Add my vote for this tag xml1Add my vote for this tag create new tag
, view all tags


With a little bit of hacking on TWiki/UI/View.pm, TWiki/Render.pm, and TWiki.pm I was able to get TWiki to spit out the correct Content-Type header for WebAtom. It was spitting out 'application/rss+xml' or even 'text/xml' (due to my testing), but the correct one is 'application/atom+xml'.

-- Contributors: EricCote


I've attached patches, they are against TWiki-DEVELOP rev. 9517, and my changes.

-- EricCote - 25 Mar 2006

I forgot to attach the actual files the other day; fixed.

-- EricCote - 27 Mar 2006

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff TWiki.pm_webatom_and_app_atomxml.diff r1 manage 0.7 K 2006-03-27 - 17:31 UnknownUser patch to TWiki.pm
Unknown file formatdiff TWiki_Render.pm_webatom_and_app_atomxml.diff r1 manage 0.6 K 2006-03-27 - 17:32 UnknownUser patch to TWiki/Render.pm
Unknown file formatdiff TWiki_View.pm_webatom_and_app_atomxml.diff r1 manage 0.6 K 2006-03-27 - 17:33 UnknownUser patch to TWiki/UI/View.pm
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-03-27 - EricCote
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.