[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: Using XInclude in Feeds
Bill Humphries of "More Like This WebLog" wrote a followup, "Using
XInclude in Feeds"[1], to my "Is a Feed the right place for your Data"
entry[2]:
> Rather than using an html:link reference from a feed to a content
> piece, I use xinclude, so you get, in Atom:
>
> <entry xmlns="...">
> ...
> <content type="text/xhtml">
> <include
> xmlns="http://www.w3.org/2001/XInclude"
> href="http://example.com/path/to/content.html">
> <fallback>Can't load content.html.</fallback>
> </include>
> </content>
> </entry>
>
> XInclude lets me do a form of 'late binding' before transforming the
> feed. In this case, a feed is a collection of related articles in a
> tutorial. I can edit the feed independent of the articles (which, in
> this case, live in a WebDAV folder.)
>
> The articles themselves are simple XHTML, which means you can hand
> off the editing task to Contribute, Midas,, FrontPage (the horror!)
> emacs, or whatever else is handy for your writers and editors, as
> long at you get XHTML out of the editing process.
I wanted to connect the dots and indicate that this is the essence and
an example of the Particle Wave[3] perspective I proposed recently.
The Atom API can allow X/HTML format to be used to create and maintain
entries, thus allowing existing tools to be used in Atom sites.
-- Ken
[1] http://www.whump.com/moreLikeThis/link/03704
[2] http://bitsko.slc.ut.us/blog/feed-data.writeback
[3] http://intertwingly.net/wiki/pie/ParticleWave