UserPreferences

FeedVsSite


Currently a "feed" is strongly associated with a "site" or with specific "category" or "sections" of sites (where a "section" could be like b-links, photoblog, play list, while "categories" are more like keywords).

This page explores the idea of separating the protocol aspects of a "feed" from the logical relationship to its entries, particularly, it provides an alternate mechanism for relating an entry to its "source" (a la PaceEntryOrigin).

Current feed:

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://example.com/newformat#">
  <title>Kitty Adventures.</title>
  <id>tag:example.com,2004:kitties</id>
  <link rel="alternate" type="text/html" href="http://example.com/kitties/"/>
  <author>
    <name>Kitty Owner</name>
  </author>
  <modified>2003-06-07T09:30:00+02:00</modified>

  <entry>
    <title>Russian Blue</title>
    <id>tag:example.com,2004:kitties/russian-blue</id>
    <link rel="alternate" type="text/html" href="http://example.com/kitties/russian-blue.html"/>
    <issued>2003-06-07T09:30:00+02:00</issued>
    <modified>2003-06-07T09:30:00+02:00</modified>
    <content src="http://example.com/kitties/russian-blue.jpg">
  </entry>
</feed>

A "protocol instance" of a "feed" with its information refactored to be separate from the physical feed:

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://example.com/newformat#">
  <modified>2003-06-07T09:30:00+02:00</modified>

  <site>
    <title>Kitty Adventures.</title>
    <id>tag:example.com,2004:kitties</id>
    <link rel="alternate" type="text/html" href="http://example.com/kitties/"/>
    <author ref="tag:example.com,2004:authors/kitty"/>
  </site>

  <author>
    <id>tag:example.com,2004:authors/kitty</id>
    <name>Kitty Owner</name>
  </author>

  <entry>
    <title>Russian Blue</title>
    <id>tag:example.com,2004:kitties/russian-blue</id>
    <origin ref="tag:example.com,2004:kitties"/>
    <link rel="alternate" type="text/html" href="http://example.com/kitties/russian-blue.html"/>
    <issued>2003-06-07T09:30:00+02:00</issued>
    <modified>2003-06-07T09:30:00+02:00</modified>
    <author ref="tag:example.com,2004:authors/kitty"/>
    <content src="http://example.com/kitties/russian-blue.jpg">
  </entry>
</feed>