Jump to content
Wikipedia The Free Encyclopedia

FeedSync

From Wikipedia, the free encyclopedia
Set of extensions to the RSS and Atom feed formats

FeedSync for Atom and RSS, previously Simple Sharing Extensions, are extensions to RSS and Atom feed formats designed to enable the bi-directional synchronization of information by using a variety of data sources. Initially developed by Ray Ozzie, Chief Software Architect at Microsoft, it is now maintained by Jack Ozzie, George Moromisato, Matt Augustine, Paresh Suthar and Steven Lees. Dave Winer, the designer of the UserLand Software RSS specification variants, has given input for the specifications.

The last version of FeedSync for Atom and RSS specification is 1.02.[1] FeedSync for Atom and RSS is licensed under the Creative Commons Attribution-ShareAlike License (version 2.5) and the Microsoft Open Specification Promise.

The scope of FeedSync for Atom and RSS is to define the minimum extensions necessary to enable loosely cooperating applications to use Atom and RSS feeds as the basis for item sharing – that is, the bi-directional, asynchronous synchronization of new and changed items amongst two or more cross-subscribed feeds.

Note that while much of FeedSync is currently defined in terms of Atom and RSS feeds, at its core what FeedSync strictly requires is:

  • A flat collection of items to be synchronized
  • A set of per-item sync metadata that is maintained at all endpoints
  • A set of algorithms followed by all endpoints to create, update, merge, and conflict resolve all items

This means that FeedSync can be implemented by almost any programming language have its metadata represented in many structured data formats.

Examples

[edit ]

RSS feed

[edit ]
<?xml version="1.0" encoding="utf-8"?>
<rssversion="2.0"xmlns:sx="http://feedsync.org/2007/feedsync">
<channel>
<title>ToDoList</title>
<description>Alistofitemstodo</description>
<link>https://www.example.com/something/foo/bar/</link>
<sx:sharingsince="2005年02月13日T18:30:02Z"
until="2005年05月23日T18:30:02Z">
<sx:relatedlink="[http://example.com/all.xml]{{dead link|date=December 2016 |bot=InternetArchiveBot |fix-attempted=yes }}"type="complete"/>
<sx:relatedlink="[http://example.com/B.xml]{{dead link|date=December 2016 |bot=InternetArchiveBot |fix-attempted=yes }}"type="aggregated"
title="To Do List (Jacks Copy)"/>
</sx:sharing>
<item>
<title>Buygroceries</title>
<description>Getmilk,eggs,butterandbread</description>
<sx:syncid="item_1_myapp_2005年05月21日T11:43:33Z"updates="3">
<sx:historysequence="3"when="2005年05月21日T11:43:33Z"by="JEO2000"/>
<sx:historysequence="2"when="2005年05月21日T10:43:33Z"by="REO1750"/>
<sx:historysequence="1"when="2005年05月21日T09:43:33Z"by="REO1750"/>
</sx:sync>
</item>
</channel>
</rss>

Atom feed

[edit ]
<?xml version="1.0" encoding="utf-8"?>
<feedxmlns="http://www.w3.org/2005/Atom"
xmlns:sx="http://feedsync.org/2007/feedsync">
<title>ToDoList</title>
<subtitle>Alistofitemstodo</subtitle>
<linkrel="self"href="http://example.com/partial.xml"/{{deadlink|date=December2016|bot=InternetArchiveBot|fix-attempted=yes}}>
<author>
<name>RayOzzie</name>
</author>
<updated>2005年05月21日T11:43:33Z</updated>
<id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0aaa</id>
<sx:sharingsince="2005年02月13日T18:30:02Z"
until="2005年05月23日T18:30:02Z">
<sx:relatedlink="[http://example.com/all.xml]{{dead link|date=December 2016 |bot=InternetArchiveBot |fix-attempted=yes }}"type="complete"/>
<sx:relatedlink="[http://example.com/B.xml]{{dead link|date=December 2016 |bot=InternetArchiveBot |fix-attempted=yes }}"type="aggregated"
title="To Do List (Jacks Copy)"/>
</sx:sharing>
<entry>
<title>Buygroceries</title>
<content>Getmilk,eggs,butterandbread</content>
<id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0aa0</id>
<author>
<name>RayOzzie</name>
</author>
<updated>2005年05月21日T11:43:33Z</updated>
<sx:syncid="item_1_myapp_2005年05月21日T11:43:33Z"updates="3">
<sx:historysequence="3"when="2005年05月21日T11:43:33Z"by="JEO2000"/>
<sx:historysequence="2"when="2005年05月21日T10:43:33Z"by="REO1750"/>
<sx:historysequence="1"when="2005年05月21日T09:43:33Z"by="REO1750"/>
</sx:sync>
</entry>
</feed>

POX item

[edit ]
<?xml version="1.0" encoding="utf-8"?>
<item>
<subject>Buygroceries</subject>
<body>Getmilkandeggs</body>
<sx:syncid="item_1_myapp_2005年05月21日T11:43:33Z"updates="1">
<sx:historysequence="1"when="2005年05月21日T09:43:33Z"by="REO1750"/>
</sx:sync>
</item>

JSON item

[edit ]
{
"title":"Buy groceries",
"description":"Get milk and eggs",
"sync":
{
"id":"item_1_myapp_2005年05月21日T11:43:33Z",
"updates":"1",
"history":[
{
"sequence":"1",
"when":"2005年05月21日T09:43:33Z",
"by":"REO1750"
}
]
}
}

Example of a FeedSync object.

Examples of real world use

[edit ]

There are several examples of "real world" use of FeedSync feeds to synchronize data between applications.

FeedSync service

[edit ]

This prototype developer service is an implementation of HTTP-based FeedSync endpoint. Applications can use HTTP GET and POST commands to synchronize feeds, where the latter performs the FeedSync merge operation on the feed hosted by the FeedSync Service. The service is not active anymore.

Strong Angel III

[edit ]

FeedSync feeds were used extensively at the Strong Angel III exercise in August 2006 as a lightweight middle-ware to link applications from Microsoft, Google, ESRI and others on desktops and mobile devices. The service is not active anymore.

ROME project

[edit ]

The comprehensive Java RSS project, ROME, is an implementation of the FeedSync specification since it creates a Java layer for developers to create apps that will use the FeedSync service.

Mesh4x

[edit ]

Mesh4x, an open-source set of libraries, tools, applications and services for mesh-based applications, uses FeedSync as the versioning standard, and implements a Feedsync-inspired packet-based protocol to synchronize data over SMS text messages.

See also

[edit ]

References

[edit ]
  1. ^ "FeedSync for Atom and RSS (v1.0) specification". January 3, 2011. Archived from the original on December 24, 2017.
[edit ]

Specifications

[edit ]

Code

[edit ]

Articles

[edit ]
Client
software
Standalone
Web browsers
Email clients
Plugins
Web apps or
mobile apps
Media
aggregators
Podcast client
RSS + BitTorrent
Related
articles
Italics indicate discontinued software.
Types
Technology
General
Features
Mechanism
Memetics
RSS
Social
Standard
Form
Media
Alternative media
Micromedia
Related

AltStyle によって変換されたページ (->オリジナル) /