~ubuntu-branches/ubuntu/natty/raptor/natty-updates

« back to all changes in this revision

Viewing changes to docs/raptor-serializers.xml

  • Committer: Bazaar Package Importer
  • Author(s): Dave Beckett
  • Date: 2006-10-22 21:15:07 UTC
  • mfrom: (1.1.5 upstream) (2.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20061022211507-c93p7f5mhapszeom
Tags: 1.4.13-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
 
2
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
 
3
<chapter id="raptor-serializers">
 
4
<title>Serializers in Raptor (triples to syntax)</title>
 
5
 
 
6
<section id="raptor-serializers-intro">
 
7
<title>Introduction</title>
 
8
 
 
9
<para>This section describes the serializers that can be compiled into
 
10
Raptor and their features.  The exact serializers supported may vary
 
11
by different builds of raptor and can be queried at run-time by use of the
 
12
<link linkend="raptor-serializers-enumerate"><function>raptor_serializers_enumerate</function></link>
 
13
function</para>
 
14
 
 
15
<para>The optional features that may be set on parsers can also
 
16
be queried at run-time iwth the 
 
17
<link linkend="raptor-serializer-features-enumerate"><function>raptor_serializer_features_enumerate</function></link>
 
18
function.</para>
 
19
 
 
20
</section>
 
21
 
 
22
 
 
23
<section id="serializer-atom">
 
24
<title>Atom 1.0 serializer (name <literal>atom</literal>)</title>
 
25
 
 
26
<para>A serializer to the Atom 1.0 syndication format defined in IETF
 
27
<ulink url="http://www.ietf.org/rfc/rfc4287.txt">RFC 4287</ulink>.
 
28
At present this only serializes the RDF triples that describe an RSS
 
29
1.0 channel into Atom.
 
30
</para>
 
31
 
 
32
</section>
 
33
 
 
34
 
 
35
<section id="serializer-ntriples">
 
36
<title>N-Triples serializer - default (name <literal>ntriples</literal>)</title>
 
37
 
 
38
<para>A serializer to the
 
39
<ulink url="http://www.w3.org/TR/rdf-testcases/#ntriples">N-Triples</ulink>
 
40
syntax as used by the 
 
41
<ulink url="http://www.w3.org/2001/sw/RDFCore/">W3C RDF Core working group</ulink>
 
42
for the <ulink url="http://www.w3.org/TR/rdf-testcases/">RDF Test Cases</ulink>.
 
43
</para>
 
44
 
 
45
</section>
 
46
 
 
47
 
 
48
<section id="serializer-rdfxml">
 
49
<title>RDF/XML serializer (name <literal>rdfxml</literal>)</title>
 
50
 
 
51
<para>A serializer to the standard
 
52
<ulink url="http://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML syntax</ulink>
 
53
as revised by the
 
54
<ulink url="http://www.w3.org/2001/sw/RDFCore/">W3C RDF Core working group</ulink>.
 
55
This writes a plain triple-based RDF/XML serialization with no
 
56
optimisation or pretty-printing.
 
57
</para>
 
58
 
 
59
</section>
 
60
 
 
61
 
 
62
<section id="serializer-rdfxml-abbrev">
 
63
<title>RDF/XML (Abbreviated) serializer (name <literal>rdfxml-abbrev</literal>)</title>
 
64
 
 
65
<para>An RDF/XML serializer using several of the RDF/XML
 
66
abbreviations to provide a more compact readable format, at the cost
 
67
of some pre-processing.  This is suitable for small documents.
 
68
</para>
 
69
 
 
70
</section>
 
71
 
 
72
 
 
73
<section id="serializer-rdfxml-xmp">
 
74
<title>RDF/XML (XMP Profile) serializer (name <literal>rdfxml-xmp</literal>)</title>
 
75
<para>A serializer to the Adobe XMP profile of RDF/XML suitable for
 
76
embedding inside an external document.  Embedding means that the
 
77
XML header is omitted, wheras for other XML serializings, it is
 
78
always emitted.
 
79
</para>
 
80
 
 
81
</section>
 
82
 
 
83
 
 
84
<section id="serializer-rss-1-0">
 
85
<title>RSS 1.0 serializer (name <literal>rss-1.0</literal>)</title>
 
86
<para>A serializer to the
 
87
<ulink url="http://purl.org/rss/1.0/spec">RDF Site Summary (RSS) 1.0</ulink>
 
88
format for describing a syndication feed of items.  It only serializes
 
89
the RDF triples that describe the RSS channel found.
 
90
</para>
 
91
 
 
92
</section>
 
93
 
 
94
 
 
95
</chapter>
 
96
 
 
97
<!--
 
98
Local variables:
 
99
mode: sgml
 
100
sgml-parent-document: ("raptor-docs.xml" "book" "part")
 
101
End:
 
102
-->