Atom Over XMPP (draft-saintandre-atompub-notify) Peter Saint-Andre - - PowerPoint PPT Presentation

atom over xmpp
SMART_READER_LITE
LIVE PREVIEW

Atom Over XMPP (draft-saintandre-atompub-notify) Peter Saint-Andre - - PowerPoint PPT Presentation

Atom Over XMPP (draft-saintandre-atompub-notify) Peter Saint-Andre Jabber Software Foundation IETF 66 The Basic Idea XMPP is a pure XML transport for near-real-time messaging (RFC 3920) Can use it to transport any XML format Atom


slide-1
SLIDE 1

Atom Over XMPP

(draft-saintandre-atompub-notify)

Peter Saint-Andre Jabber Software Foundation IETF 66

slide-2
SLIDE 2

The Basic Idea

  • XMPP is a pure XML transport for

near-real-time messaging (RFC 3920)

  • Can use it to transport any XML format
  • Atom is XML, why not send it over XMPP?
  • Real-time push, no need for HTTP polling
  • Use XMPP publish-subscribe extension

(JEP-0060)

slide-3
SLIDE 3

XMPP Publish

  • Publisher publishes item to “node” hosted at

pubsub service: <iq type=’set’ to=’service’> <publish> ... payload ... </publish> </iq>

slide-4
SLIDE 4

XMPP Subscribe

  • Subscriber receives item in near real time

via XMPP <message/> with pubsub <event/> <message> <event> ... payload ... </event> </message>

slide-5
SLIDE 5

Use Cases

  • Create item -- <publish/> with unique ID,

service pushes out notify

  • Modify item -- <publish/> with existing ID,

service pushes out notify

  • Delete item -- <retract/> with existing ID,

service may push out notify

slide-6
SLIDE 6

Atom Over Pubsub

  • Publisher = HTTP service with interface to

XMPP network, end-user client (e.g., blogging client), etc.

  • Subscriber = any XMPP entity (aggregator,

end-user client, etc.

  • Item = one Atom entry, i.e., payload is

<entry>...</entry>