Hello,

I have two requests to the tombstones.

Request No. 1. analogy syntax:

I like Atom syntax. And I think analogy is important. So I hope that
the tombstones is similar in syntax to Atom syndication format. The
syntax is as follows:

<feed xmlns="http://www.w3.org/2005/Atom";
    xmlns:at="http://purl.org/atompub/tombstones/1.0";>
  ...
  <!-- Minimal deleted-entry -->
  <at:deleted-entry>
    <at:id>tag:example.org,2005:/entries/2<at:id>
    <at:deleted>2005-11-29T12:11:12Z<at:deleted>
  </at:deleted-entry>
  ...
  <!-- Extended deleted-entry -->
  <at:deleted-entry>
    <at:id>tag:example.org,2005:/entries/2<at:id>
    <at:deleted>2005-11-29T12:11:12Z<at:deleted>
    <at:by>
      <at:name>John Doe</at:name>
      <at:email>[EMAIL PROTECTED]</at:email>
    </at:by>
  </at:deleted-entry>
</feed>


Request No. 2. sync to Media Entry:

I hope Sync covers Media Entry, such as image files or pdf files. And
I think Media Entry needs Atom Feed like the following.

<entry>
  <title>Test.gif</title>
  <link rel="media"
href="http://localhost:8080/roller/Tokyo/resource/images/Test.gif"/>
  
<id>http://localhost:8080/roller/roller-services/app/Tokyo/resource/images/Test.gif</id>
  <published>2007-11-02T05:20:58Z</published>
  <updated>2007-11-02T05:20:58Z</updated>
  <content type="xhtml">
    <div xmlns="http://www.w3.org/1999/xhtml";>
      <a href="http://localhost:8080/roller/Tokyo/resource/images/Test.gif"/>
    </div>
  </content>
</entry>

And I think Atom Feed of Media Entry needs the following tombstones.

<feed xmlns="http://www.w3.org/2005/Atom";
    xmlns:at="http://purl.org/atompub/tombstones/1.0";>
  ...
  <!-- Minimal deleted-entry -->
  <at:deleted-entry>
    
<at:id>http://localhost:8080/roller/roller-services/app/Tokyo/resource/images/Test.gif<at:id>
    <at:deleted>2005-11-29T12:11:12Z<at:deleted>
  </at:deleted-entry>
  ...
  <!-- Extended deleted-entry -->
  <at:deleted-entry>
    <at:link rel="media-trash"
href="http://localhost:8080/roller/Tokyo/resource/images/Test.gif"/>
    
<at:id>http://localhost:8080/roller/roller-services/app/Tokyo/resource/images/Test.gif<at:id>
    <at:deleted>2005-11-29T12:11:12Z<at:deleted>
    <at:by>
      <at:name>John Doe</at:name>
      <at:email>[EMAIL PROTECTED]</at:email>
    </at:by>
  </at:deleted-entry>
</feed>

-- 
Tatsuya Noyori (^o^)/

Reply via email to