# Serializers in Raptor (triples to syntax)

## Introduction

This section describes the serializers that can be compiled into Raptor and their features. The exact serializers supported may vary by different builds of raptor and can be queried at run-time by use of the `raptor_serializers_enumerate` function

The optional features that may be set on parsers can also be queried at run-time iwth the `raptor_serializer_features_enumerate` function.

## Atom 1.0 serializer (name `atom`)

A serializer to the Atom 1.0 syndication format defined in IETF RFC 4287. At present this only serializes the RDF triples that describe an RSS 1.0 channel into Atom.

## N-Triples serializer - default (name `ntriples`)

A serializer to the N-Triples syntax as used by the W3C RDF Core working group for the RDF Test Cases.

## RDF/XML serializer (name `rdfxml`)

A serializer to the standard RDF/XML syntax as revised by the W3C RDF Core working group. This writes a plain triple-based RDF/XML serialization with no optimisation or pretty-printing.

## RDF/XML (Abbreviated) serializer (name `rdfxml-abbrev`)

An RDF/XML serializer using several of the RDF/XML abbreviations to provide a more compact readable format, at the cost of some pre-processing. This is suitable for small documents.

## RDF/XML (XMP Profile) serializer (name `rdfxml-xmp`)

A serializer to the Adobe XMP profile of RDF/XML suitable for embedding inside an external document. Embedding means that the XML header is omitted, wheras for other XML serializings, it is always emitted.

## RSS 1.0 serializer (name `rss-1.0`)

A serializer to the RDF Site Summary (RSS) 1.0 format for describing a syndication feed of items. It only serializes the RDF triples that describe the RSS channel found.