-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Example:
Org A defines a graph A http://www.example.org/graph-A but provides no SDShare feed.
Person B imports the graph and provides a SDShare feed for the above mentioned graph among other collections on server http://www.example.net/sdshare/
How should a client know that the collection XY provided by B is about graph A? The current SDShare spec provides no indicator for graph URIs, just collection identifiers which have no implied meaning aside from beeing unique.
If the overview feed (and possibly all other feeds, too) provides a graph URI indicator, clients would be able to discover the collection feed (and all subsequent feeds) for a specific graph easily.
The graph indicator could be an element like <sd:graph/>. The value would be the graph URI.
The graph indicator would be a subelement of <atom:entry/> in the overview feed. All other feeds use the graph indicator as subelement of the <atom:feed/> element.
Example excerpt for an overview feed:
[...]
<entry>
<title>Collection for graph A</title>
<sd:graph>http://www.example.org/A</sd:graph>
<link rel="http://www.sdshare.org/2012/core/collectionfeed" type="application/atom+xml"
href="http://example.org/collections/collection-one"/>
<link rel="alternate" type="application/atom+xml"
href="http://example.org/collections/collection-one"/>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<updated>2008-12-13T18:30:02Z</updated>
</entry>
<entry>
<title>Collection for graph B</title>
<sd:graph>http://www.someotherdomain.here/B</sd:graph>
<link rel="http://www.sdshare.org/2012/core/collectionfeed" type="application/atom+xml"
href="http://example.org/collections/collection-two"/>
<link rel="alternate" type="application/atom+xml"
href="http://example.org/collections/collection-two"/>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-dddddddd</id>
<updated>2008-12-13T18:30:02Z</updated>
</entry>
[...]