Difference between revisions of "ESciDoc Container Toc"
Line 66: | Line 66: | ||
== Questions & Discussion == | == Questions & Discussion == | ||
Please check the '''[[talk:ESciDoc_Container_Toc|talk page]]''' for discussion | |||
Please check the '''[[talk:ESciDoc_Container_Toc|talk page]]''' for | |||
==Telco 26.02.2008 discussion== | ==Telco 26.02.2008 discussion== |
Revision as of 10:39, 17 March 2008
In eSciDoc hierarchical structures are build by means of container resources. A container resource refers to its members which are again containers or items. The set of references is represented as structural map (struct-map) inside the representation of a container resource. Additionally a container may contain a table of content (TOC) which contains an ordered selection of members. The TOC does not allow the grouping of members. It contains only direct members of the container resource. Grouping of direct members is not necessary; a hierarchical structure is build by container resources wich are linked as members.
TOC Representation based on RSS 1.0[edit]
A TOC consists of a RSS items element which is "an RDF table of contents" [1] containing an ordered list of member resources. The items element contains an RDF sequence (rdf:Seq) with RDF list items (rdf:li). A list item refers to a member resource by the RDF resource attribute.
<rss:items> <rdf:Seq> <rdf:li rdf:resource="http://localhost:8080/ir/item/escidoc:234"/> <rdf:li rdf:resource="http://localhost:8080/ir/container/:111"/> </rdf:Seq> </rss:items>
toc-view[edit]
If the toc-view of a container resource is requested, a RSS channel is generated for delivery. The channel's about attribute is set to the container's URL; title and description are set to the container's title and description. The link element of the channel contains the URL of the requested toc-view. Further the content of the container's TOC is added (rss:items) and a RSS item for each TOC entry is added.
An item element contains information about the referred member (rdf:about attribute). An item contains at least title, description and URL of the member resource as rss:title, rss:description and rss:link. Additionally all DC entries from the triple store pertaining to the referred member are added.
<?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rss="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/"> <rss:channel rdf:about="http://localhost:8080/ir/container/escidoc:123"> <rss:title>The containers title</rss:title> <rss:link>http://localhost:8080/ir/container/escidoc:123/resources/toc-view</rss:link> <rss:description>A selected list of the members of the container.</rss:description> <!-- From RDF Site Summary (RSS) 1.0 (http://web.resource.org/rss/1.0/spec#s5.3.5) 5.3.5 <items> An RDF table of contents, associating the document's items [5.5] with this particular RSS channel. Each item's rdf:resource {item_uri} must be the same as the associated item element's rdf:about {item_uri}. An RDF Seq (sequence) is used to contain all the items rather than an RDF Bag to denote item order for rendering and reconstruction. --> <rss:items> <rdf:Seq> <rdf:li rdf:resource="http://localhost:8080/ir/item/escidoc:234"/> <rdf:li rdf:resource="http://localhost:8080/ir/container/:111"/> </rdf:Seq> </rss:items> <rss:item rdf:about="http://localhost:8080/ir/item/escidoc:234"> <rss:title>Title of the refered resource</rss:title> <rss:link>http://localhost:8080/ir/item/escidoc:234</rss:link> <rss:description>Description from the refered resource</rss:description> <!-- All dc metadata entries from triplestore. --> <dc:title>Title from DC</dc:title> <dc:identifier>Identifier from DC</dc:identifier> </rss:item> <rss:item rdf:about="http://localhost:8080/ir/container/escidoc:111"> <!-- ... --> </rss:item> </rss:channel> </rdf:RDF>
Questions & Discussion[edit]
Please check the talk page for discussion
Telco 26.02.2008 discussion[edit]
ESciDoc_Developer_Telco_2008-02-26
References[edit]
- ↑ RDF Site Summary (RSS) 1.0. Retrieved on 2007-09-26.