[jdev] Atom over XMPP using JEP-0060

Peter Saint-Andre stpeter at jabber.org
Fri Jun 4 12:22:56 CDT 2004

Hi Bob,

That looks good to me. I've been planning to write up some informational
documentation of ATOM over XMPP (probably via a JEP) once the Atom spec
stabilizes, but feel free to do so first. :-)


On Fri, Jun 04, 2004 at 02:33:56AM -0400, Bob Wyman wrote:
> 	The XML chunk below shows the syntax that we at PubSub.com are
> using for JEP-0060 messages which contain entries that have been
> extracted from Atom or RSS feeds and that match a user's content-based
> subscription. I would greatly appreciate it if folk could take a look
> and make any appropriate comments on whether we're properly interpreting
> JEP-0060.
> 	Note: For those that are curious: Every subscription entered at
> PubSub.com automatically creates a JEP-0060 subscription that will
> result in messages being published in the format below if a Jabber
> session is created with our server. Each message will contain one entry.
> Messages will be delivered via JEP-0060 in addition to any other
> delivery mechanism (i.e. RSS file, etc.) that a subscriber may request.
> 	Note: For those familiar with Atom: The <ps:source-feed> element
> is used to copy feed-level metadata into the entry in order that proper
> attribution, context, etc. for the matched entry can be maintained. The
> standardization of this element (without the ps namespace...) is
> currently being discussed in the atom-syntax forum as a general solution
> for constructing synthetic feeds.
> 		bob wyman
> ======================
> <message to='sample_at_pubsub_dot_com at xmpp.pubsub.com' 
>     from='pubsub-delivery at xmpp.pubsub.com' >
>     <event xmlns='http://www.jabber.org/protocol/pubsub#event'>
>      <items node='f42b74ed359e5de173c766e8c3a55a13'>
>       <item id='272'>
>        <pubsub-message xmlns="http://www.pubsub.com/xmlns">
> <feed version="0.3" xmlns="http://purl.org/atom/ns#"
>     xmlns:ps="http://pubsub.com/xmlns" xml:lang="en-us">
>   <title>PubSub Weblogs</title>
>   <link rel="alternate" type="application/x.atom+xml" 
>    href="http://pubsub.com/atom/f42b74....xml"/>
>   <modified>2004-06-02T19:07:50Z</modified>
>   <entry>
>     <ps:source-feed>
>       <title>dive into mark</title>
>       <link rel="alternate" type="text/html" 
>        href="http://diveintomark.org/"/>
>       <modified>2003-12-13T18:30:02Z</modified>
>       <author>
>         <name>Mark Pilgrim</name>
>       </author>
>     </ps:source-feed>
>     <title>Atom 0.3 snapshot</title>
>     <link rel="alternate" type="text/html" 
>      href="http://diveintomark.org/2003/12/13/atom03"/>
>     <id>tag:diveintomark.org,2003:3.2397</id>
>     <issued>2003-12-13T08:29:29-04:00</issued>
>     <modified>2003-12-13T18:30:02Z</modified>
>   </entry>
> </feed>
>       </pubsub-message>
>      </item>
>     </items>
>    </event>
> </message>

More information about the JDev mailing list