UserPreferences

EchoExample


Up: SyntaxConsiderations has background and discussion on why we chose this format.
Process: EchoExampleProcess See also : SyntaxExtensionMechanism, PropertiesVsRoles

Medium-Sized Echo Feed

<?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">
  <title>My First Weblog</title>
  <summary>Ain't the Interweb great?</summary> 
  <link>/johndoe/weblog/</link>
  <author>
    <name>John Doe</name>
    <url>/johndoe/</url>
    <email>john.doe@example.com</email>
  </author>

  <entry id="e45">
    <title>My First Entry</title>
    <summary>A very boring entry; just learning how to blog here...</summary>
    <link>/weblog/archive/45.html</link>
    <created>2003-02-05T12:29:29Z</created>
    <issued>2003-02-05T12:29:29Z</issued>
    <modified>2003-02-05T12:29:29Z</modified>

    <content type="multipart/alternative">
      <content type="image/jpeg" encoding="base64">
        xo+Hello0AFWeblogh5FWorldh1mImagedsTbrVbF3
      </content>
      <content type="text/html" xml:lang="en-us" mode="escaped" rel="fragment">
        <![CDATA[<p>Hello, <em>weblog</em> world! 2 &lt; 4!</p>]]>
      </content>
      <content type="application/xhtml+xml" xml:lang="en-us" rel="fragment">
        <p xmlns="http://www.w3.org/1999/xhtml">
          Hello, <em>weblog</em> world! 2 &lt; 4!
        </p>
      </content>
      <content type="application/pdf" src="http://example.org/blog/hello.pdf" />
    </content>

  </entry>
</feed>

Notes

Other Examples

Issues

Issues (being) addressed elsewhere


Comments

Multiple Content Elements

[Moved to MultipleContentDiscussion 2003-07-27.]

Languages in feeds

[MaciejCeglowski, RefactorOk] It should be possible to have multiple lang attributes on an entry, because there are bloggers out there who mix languages in their writing. This seems particularly frequent in non-English tech blogs, where people switch in and out.


See AuthorElement, LinkElement, IdElement, IssuedElement, ModifiedElement, ContentElement


CategorySyntax