diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2015-02-19 20:15:23 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2015-02-19 20:15:23 +0200 |
commit | c41143ca850684088b20f5f3bcb642844af49158 (patch) | |
tree | 62b1c7258dcb92b585ea6d95e076950676b7fb60 | |
parent | f6661504c987433993cf0ac83225cbfbad3f403b (diff) |
Add text/turtle
-rw-r--r-- | freedesktop.org.xml.in | 5 | ||||
-rw-r--r-- | tests/list | 2 | ||||
-rw-r--r-- | tests/test.ttl | 10 |
3 files changed, 17 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index af0f6bc..9795716 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -4997,6 +4997,11 @@ command to generate the output files. <glob pattern="*.vct"/> <glob pattern="*.gcrd"/> </mime-type> + <mime-type type="text/turtle"> + <_comment>Turtle document</_comment> + <glob pattern="*.ttl"/> + <sub-class-of type="text/plain"/> + </mime-type> <mime-type type="text/x-txt2tags"> <_comment>txt2tags document</_comment> <sub-class-of type="text/plain"/> @@ -292,6 +292,8 @@ test.pyx text/x-python ox test.pl application/x-perl test.pm application/x-perl test.t application/x-perl +# Copied from http://en.wikipedia.org/wiki/Turtle_%28syntax%29#Example +test.ttl text/turtle ox # xml subtypes ../shared-mime-info-spec.xml application/x-docbook+xml xox diff --git a/tests/test.ttl b/tests/test.ttl new file mode 100644 index 0000000..c2a4884 --- /dev/null +++ b/tests/test.ttl @@ -0,0 +1,10 @@ +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix dc: <http://purl.org/dc/elements/1.1/> . +@prefix ex: <http://example.org/stuff/1.0/> . + +<http://www.w3.org/TR/rdf-syntax-grammar> + dc:title "RDF/XML Syntax Specification (Revised)" ; + ex:editor [ + ex:fullname "Dave Beckett"; + ex:homePage <http://purl.org/net/dajobe/> + ] . |