Swignition Services
Motto: It can actually parse meaningful information out of /dev/urandom.
Swignition Services is a web based demonstration of Swignition. It should not
be considered stable.
Usage:
http://srv.buzzword.org.uk/output/source-uri
http://srv.buzzword.org.uk/output,strict/source-uri
http://srv.buzzword.org.uk/output,options/source-uri
http://srv.buzzword.org.uk/output,strict&options/source-uri
Output formats
- atom
- icalendar
- jcard
- kml
- m3u
- n3
- rdf-json
- rdf-xml
- recipebook
- trix
- turtle
- vcard
Additionally, detect is available to display an HTML page
showing all the available options. More on
output formats.
Input URI
Can be referer if you know what you're doing. Alternatively,
the full URI (though you can leave out the http:// if you like)
of an HTML page. More on input URIs.
Input Formats
(X)HTML only.
- Microformats
- RDFa
- eRDF
- GRDDL
- RDF embedded in HTML
- RDF in comments
- RDF linked with rel=meta
More
on input formats.
Options
The following options may be passed to Swignition, using query-string
style: foo=bar&quux=xyzzy. Boolean options take either
a 0 or a 1. A special option strict is available which, if present,
switches on a bunch of options: erdf_strict_profiles,
grddl_strict_profiles, rdfa_strict_doctype, uf_strict_profiles.
- erdf_strict_profiles
- Require eRDF profile to be explicitly linked to.
Boolean; default on.
- grddl_fetch
- Fetch profile URLs and parse for profileTransformation links.
Boolean; default off.
- grddl_strict_profiles
- Require GRDDL profile to be explicitly linked to.
Boolean; default off.
- p_comments
- Check for RDF in
<!--comments-->. Boolean; default on.
- p_erdf
- Parse eRDF. Boolean; default on.
- p_grddl
- Attempt GRDDL gleaning. Boolean; default on.
- p_http
- Parse HTTP headers. Boolean; default off.
- p_rdf
- Support RDF embedded in XHTML. Boolean; default on.
- p_rdfa
- Parse RDFa. Boolean; default on.
- p_rdfx
- Support
<link rel="meta" type="application/rdf+xml">.
Boolean; default on.
- p_structure
- Parse document heading structure. Boolean; default off.
- p_uf
- Support for some microformats. Boolean; default on.
- rdfa_strict_doctype
- Require XHTML+RDFa DOCTYPE. Boolean; default off.
- rdfa_strict_version
- Require
<html version>. Boolean; default off.
- rdfa_strings
- Convert nodes to strings using RDFa-specified method. Boolean; default off.
- uf_strict_profiles
- Require microformat profile to be explicitly linked to.
Boolean; default off.