[jdev] Atom over XMPP using JEP-0060

Bob Wyman bob at wyman.us
Fri Jun 4 01:33:56 CDT 2004

	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
	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" 
      <title>dive into mark</title>
      <link rel="alternate" type="text/html" 
        <name>Mark Pilgrim</name>
    <title>Atom 0.3 snapshot</title>
    <link rel="alternate" type="text/html" 

More information about the JDev mailing list