1 / 21

Atom publishing protocol

Atom Publishing CMT607 Distributed Protocol Computer Systems. By Mohamed Masri , Robert Darrock , Abdulelah Aljubair , David Hannaford, Eisa Mohamed & Gilbert Gilbert. Atom publishing protocol.

yuval
Download Presentation

Atom publishing protocol

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Atom Publishing CMT607 Distributed Protocol Computer Systems By Mohamed Masri, Robert Darrock, AbdulelahAljubair, David Hannaford, Eisa Mohamed & Gilbert Gilbert Atom publishing protocol

  2. Atom Publishing CMT607 Distributed Protocol Computer Systems What is a Feed - Mohamed What is Atom Publishing Protocol - Rob Examples of Use - Dave Introduction

  3. Atom Publishing CMT607 Distributed Protocol Computer Systems Mohamed Masri What is a feed?

  4. Atom Publishing CMT607 Distributed Protocol Computer Systems • General Definition A data format used for providing users with frequently updated content. • Technical Definition A document (often XML-based) whose discrete content items include web links to the source of the content. What Is A Feed

  5. Atom Publishing CMT607 Distributed Protocol Computer Systems Subscribing to feeds does not require email address Easier to unsubscribe It can be read offline BENEFITS

  6. Atom Publishing CMT607 Distributed Protocol Computer Systems • Content distributors syndicate a web feed • Users install a standalone or web-based aggregator • Aggregator - a program or site that collects the feeds for reading • Users selects a feed (link) in the aggregator to open the actual page. HOW DOES A FEED WORK

  7. Atom Publishing CMT607 Distributed Protocol Computer Systems • RSS • More widely used • Requires only title, link and description of the feed of an entry • Atom • More flexible and more features • “Updated” field Types Of Web Feed Formats

  8. Atom Publishing CMT607 Distributed Protocol Computer Systems Robert Darrock What is Atom publishing protocol?

  9. Atom Publishing Protocol Defined in RFC 5023 It is an application level protocol for publishing and editing web resources Such as weblogs, online journals, Wikis, and similar content using HTTP and XML 1.0. The semantics used build on those specified in HTTP. Atom Publishing CMT607 Distributed Protocol Computer Systems

  10. Collections Central to the Atom Publishing Protocol is the concept of collections of editable resources that are represented by Atom 1.0 Feed and Entry documents. Collections: Sets of related resources, which can be retrieved in whole or in part. A collection has a unique URI They are represented as Atom feeds Analogous to the “folders” or “directories” found in many file systems All members of a collection have an “updated” property, and the collection is ordered by this property Atom Publishing CMT607 Distributed Protocol Computer Systems

  11. An example Collection Document <?xml version="1.0" encoding='utf-8'?> <collection xmlns="http://purl.org/atom/app#"> <member href="http://example.org/1" hrefreadonly="http://example.com/1/bar" title="Sample 1" updated="2003-12-13T18:30:02Z" /> <member href="http://example.org/2" hrefreadonly="http://example.com/2/bar" title="Sample 2" updated="2003-12-13T18:30:02Z" /> <member href="http://example.org/3" hrefreadonly="http://example.com/3/bar" title="Sample 3" updated="2003-12-13T18:30:02Z" /> <member href="http://example.org/4" title="Sample 4" updated="2003-12-13T18:30:02Z" /> </collection> Atom Publishing CMT607 Distributed Protocol Computer Systems

  12. Illustration I got from Wikipedia To modify those entries, the client simply retrieves the resource from the collection, makes the changes and then puts it back. Atom Publishing CMT607 Distributed Protocol Computer Systems

  13. Step 1 Discovery The first step is to find out what collections are available and the types of resources that those collections contain. This is done by using get request to obtain an Introspection Document containing the locations of the collections. Atom Publishing CMT607 Distributed Protocol Computer Systems

  14. Step 2 Listing A request of the listing of the collections’s membership is made. The client sends a GET reqest to the collections URI Server responds with an Atom feed document of the full or partial listing of the collection’s membership. Atom Publishing CMT607 Distributed Protocol Computer Systems

  15. Step 3 Creating an entry POST is used to create a new, dynamically-named resource Step 4 Reading an entry GET is used to retrieve a representation of a resource or perform a read-only query Step 5 Update an entry PUT is used to update a known resource Step 6 Deleting an entry DELETE is used to remove a resource Atom Publishing CMT607 Distributed Protocol Computer Systems

  16. Atom Publishing CMT607 Distributed Protocol Computer Systems David Hannaford example

  17. Atom Publishing CMT607 Distributed Protocol Computer Systems Examples of use

  18. Atom Publishing CMT607 Distributed Protocol Computer Systems ANY QUESTIONS?

More Related