Re: [Refdb-users] xnotes and blogs (another take)
Status: Beta
Brought to you by:
mhoenicka
From: Bruce D'A. <bd...@fa...> - 2003-12-13 22:54:02
|
On Dec 13, 2003, at 4:07 PM, Markus Hoenicka wrote: > Bruce D'Arcus writes: >> I suggested this to Markus privately as an alternative: >> >> Keep the current structure, but rename "note" to "content," which >> makes >> it all more consistent with RDF, Atom, etc. > > And, add a type and xml:lang attribute? Seems to make sense to me. Here's an example of Atom where it stands now. Might be worth looking at some more. Files at: http://tbray.org/ongoing/pie/0.2/ <?xml version="1.0" encoding="utf-8"?> <feed version="0.2" xmlns="http://purl.org/atom/ns#"> <!-- required elements --> <title>dive into mark</title> <link>http://diveintomark.org/</link> <modified>2003-08-05T12:29:29Z</modified> <!-- optional elements --> <tagline>A lot of effort went into making this effortless</tagline> <id>tag:diveintomark.org,2003:3</id> <generator name="Movable Type">http://www.movabletype./org/?v=2.64</generator> <copyright>Copyright (c) 2003, Mark Pilgrim</copyright> <entry> <!-- required elements --> <title>Atom 0.2 snapshot</title> <link>http://diveintomark.org/2003/08/05/atom02</link> <id>tag:diveintomark.org,2003:3.2397</id> <issued>2003-08-05T08:29:29-04:00</issued> <modified>2003-08-05T18:30:02Z</modified> <!-- optional elements --> <created>2003-08-05T12:29:29Z</created> <summary>The Atom 0.2 snapshot is out. Here are some sample feeds.</summary> <author> <name>Mark Pilgrim</name> <url>http://diveintomark.org/</url> <email>f8...@ex...</email> </author> <contributor> <name>Sam Ruby</name> <url>http://intertwingly.net/blog/</url> <email>ru...@ex...</email> </contributor> <contributor> <name>Joe Gregorio</name> <url>http://bitworking.org/</url> <email>jo...@ex...</email> </contributor> <content type="application/xhtml+xml" mode="xml" xml:lang="en-us"> <div xmlns="http://www.w3.org/1999/xhtml"> <p>The Atom 0.2 snapshot is out. Changes from the <a href="http://intertwingly.net/foo.html">0.1 snapshot</a>:</p> <ol> <li>MAY contain <code>feed/copyright</code>. Free-form copyright statement that applies to the feed (XXX more here). Datatype is <xsd:string>. If present, MUST NOT be blank.</li> <li> <p>MAY contain <code>feed/generator</code>. Datatype is <xsd:string>. If present, MUST be full URI and SHOULD point to the home page of the program which generated the feed.</p> <p>Has optional <code>@name</code> attribute, whose datatype is also <xsd:string>. If present, @name MUST NOT be blank.</p> </li> <li>several other changes not listed here</li> </ol> </div> </content> </entry> </feed> |