Atom Syndication
Atom is a new syndication format, somewhat like
RSS but solving some of its problems. It's been adopted by Google and has a number of benefits - see the
Motivation page on the Atom wiki.
--
RichardDonkin - 12 Feb 2004
--
PeterThoeny - 23 Jan 2006
First version is now implemented on TWiki.org. Please help test it out with your preferred news reader. Point your reader to
WebAtom, located in every web.
- Copy the raw text of TWiki.WebAtomBase and TWiki.WebAtom to your own site, using identical topic names
- Copy view.rssatom.tmpl.txt to the
twiki/templates directory; rename to view.rssatom.tmpl
- If you are concerned about ATOM feed validation, apply patchisodate.txt patch to
twiki/lib/TWiki.pm (most news readers probably are OK without the patch)
- Create a WebAtom topic in every web you need an ATOM feed, content is described in TWiki.WebAtomBase
--
PeterThoeny - 23 Jan 2006
Now that TWiki can display ATOM feeds with with
HeadlinesPlugin, we have one more step to go to have two way syndication:
I have not looked at the spec of ATOM, but it looks like this is a small feature enhancement for TWiki. The basics is already there with
WebRssBase and
WebRss. Those topics can be cloned and modified for
WebAtomBase and
WebAtom. Any volunteers?
--
PeterThoeny - 23 Jan 2006
For a change I wanted to do something fun and new, so I created the ATOM feeds. It is a plain port of the
WebRssBase concept. The ATOM DTD has many bells and whistles, a more intelligent feed could be produced.
--
PeterThoeny - 23 Jan 2006
I'm certainly going to be playing with it, I'll submit what I think is half-way decent here.
--
EricCote - 28 Jan 2006
well, here's a really mangled
GluePlugin parsed version of it:
http://simonraven.nuit.ca/bin/view/TWiki/WebAtomBase
and the tmpl:
<?xml version="1.0" encoding="% CHARSET %"?>
<feed xmlns="http://www.w3.org/2005/Atom" xhtml="http://www.w3.org/1999/xhtml" s="http://www.ascc.net/xml/schematron">
% TEXT %
</feed>
I just added the extra namespaces for xhtml and 's', ripped it from the rfc (
RFC:4287) for the tmpl, and added a bunch of stuff in
WebAtomBase ; as to the
GluePlugin stuff, just remove the '*~~' '~~~' %~~' (and s/%~~~ /%/ FYI).
Oh, BTW, I didn't mean to imply that the one that came with the
SVN from a few days ago isn't good, I just tend to play with things :).
--
EricCote - 28 Jan 2006
ok, finally got something rather nice. added a few things. note i'm pulling this from my Blog/RenderAtom topic which
MichaelDaum and I worked on together (he put in the final working bits and made it validate - thanks MD), which makes use of
BlogPlugin 's
WebDB .pm; it can easily be adapted to a %SEARCH or such. see RenderAtom in
BlogPlugin from current
SVN.
"Updated to revision 8797."
--
EricCote - 14 Feb 2006
Is there already a solution for selective full content page feeds in TWiki. To be exactly, many feeds in the web contain the full text including css formating. Is there such a solution for TWiki or a plugin. If so, it should be mentioned on this site. If we had such a solution, we could even provided formated changes/history feeds of a topic's content.
--
TobiasRoeser - 19 Feb 2006