My Weblog:
http://www.russellbeattie.com/notebook/
Appearances:
- PropertiesVsRoles . . . . 4 matches
- CarrotVsOrange . . . . 2 matches
- NameItProposals . . . . 2 matches
- WikiChaos . . . . 2 matches
- CarrotVsOrangeDiscuss . . . . 1 match
- NameFinalVote . . . . 1 match
- NameItDiscussion . . . . 1 match
- PutDeleteSupport . . . . 1 match
- RussellBeattie . . . . 1 match
---
Example Feed w/ More Attributes
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://purl.org/echo/" version="1.0"
xml:lang="en-us" xml:base="http://example.com">
<header>
<title>My First Weblog</title>
<description type="subtitle">Ain't the Interweb great?</description>
<description type="quote">To infinity and beyond!"</description>
<link>/johndoe/weblog/feed.xml</link>
<link type="weblog">/johndoe/weblog/</link>
<link type="homepage">/johndoe/</link>
<date>2003-02-05T12:29:29Z</date>
<date type="created">2003-02-05T12:29:29Z</date>
<date type="issued">2003-02-05T12:29:29Z</date>
</header>
<entry id="e45">
<title>My First Entry</title>
<description type="subtitle">In which a newbie learns to blog...</description>
<description type="summary">A very boring entry; just learning how to blog here...</description>
<link>/weblog/archive/45.html</link>
<link type="parent">/weblog/archive/40.html</link>
<date>2003-02-05T12:29:29Z</date>
<date type="created">2003-02-05T12:29:29Z</date>
<date type="issued">2003-02-05T12:29:29Z</date>
<contributor role="author">
<name>John Doe</name>
<link type="homepage">/johndoe/</link>
<link type="email">john.doe@example.com</link>
</contributor>
<content type="application/xhtml+xml" mode="none" xml:lang="en-gb">
<!-- Summary is typically plain text and don't need encoding -->
<summary>Hello, _weblog_ world!</summary>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>Hello, <em>weblog</em> world! 2 < 4!</p>
</body>
</content>
<content type="text/html" mode="escaped">
<body>
<p>Hello, <em>weblog</em> world! 2 &lt; 4!</p>
</body>
</content>
<content type="text/html" mode="cdata">
<body><![CDATA[ <p>Hello, <em>weblog</em> world! 2 < 4!</p> ]]></body>
</content>
<content type="text/plain" mode="cdata">
<body><![CDATA[ Hello, _weblog_ world! 2 < 4! ]]></body>
</content>
<content type="image/png" xml:lang="no-nb" href="/heisann.png" />
</entry>
</feed>-- Notes:
* Added a Header for readability * Added a "description" element as a catch all for subtitles, summaries, etc. (quote is just a dumb example...) * Changed rel to "type" for readability. rel=relationship and is an HTML specific reference * Feed always has a link to itself (solving the feed URL update problem?) * Dates have types for their different types, modified == latest, so that doesn't need an attribute (are the other two dates required?) * Entry can have a link to its "parent" for hierarchies. * Thought: I'd like to put the list of contributors somewhere else and link them. It's not good where it is * Multiple content types in the same entry sucks.
