summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-x.htaccess2
-rwxr-xr-x.htstatic2
-rw-r--r--Makefile4
-rw-r--r--card.ttl (renamed from foaf.n3)0
-rw-r--r--includes/header-index.xml4
-rw-r--r--includes/header.xml2
-rwxr-xr-xmakerss.sh6
8 files changed, 11 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index cae0f7d..270db90 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
*.xml
*.gz
-rss.n3
+index.ttl
!includes/*.xml
diff --git a/.htaccess b/.htaccess
index fba45da..53b3bff 100755
--- a/.htaccess
+++ b/.htaccess
@@ -3,4 +3,4 @@ AddDefaultCharset utf-8
Options +Multiviews
DirectoryIndex index
AddEncoding x-gzip .gz
-AddType "text/rdf+n3; charset=utf-8" .n3
+AddType "text/turtle" .ttl
diff --git a/.htstatic b/.htstatic
index fba45da..53b3bff 100755
--- a/.htstatic
+++ b/.htstatic
@@ -3,4 +3,4 @@ AddDefaultCharset utf-8
Options +Multiviews
DirectoryIndex index
AddEncoding x-gzip .gz
-AddType "text/rdf+n3; charset=utf-8" .n3
+AddType "text/turtle" .ttl
diff --git a/Makefile b/Makefile
index bacd289..f284d8c 100644
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,9 @@ SITENAME=http://njw.me.uk
FOAF=http://njw.me.uk/foaf\#i
MARKDOWN=smu
-RSS=rss.n3
+RSS=index.ttl
PAGES=$(shell find . -name '*.txt' ! -name 'robots.txt' ! -name $(RSS))
-EXTRAS=$(shell find . -name '*.css') foaf.n3
+EXTRAS=$(shell find . -name '*.css') card.ttl
TARGETS=$(PAGES:.txt=.xml) $(RSS)
GZIP=$(PAGES:=.gz) $(TARGETS:=.gz) $(EXTRAS:=.gz)
diff --git a/foaf.n3 b/card.ttl
index 41f1660..41f1660 100644
--- a/foaf.n3
+++ b/card.ttl
diff --git a/includes/header-index.xml b/includes/header-index.xml
index 1e5119c..d6cb771 100644
--- a/includes/header-index.xml
+++ b/includes/header-index.xml
@@ -7,8 +7,8 @@
<title>TITLE</title>
<link rel="stylesheet" type="text/css" href="/includes/style" />
<link rel="icon" href="/graphics/candles.ico" />
- <link rel="alternate" title="rss" type="text/n3" href="/rss" />
- <link rel="meta" title="foaf" type="text/n3" href="/foaf#i" />
+ <link rel="alternate" title="rss" type="text/turtle" href="/index.ttl" />
+ <link rel="meta" title="foaf" type="text/turtle" href="/card#i" />
<link rel="openid.server" href="http://certifi.ca/_serve" />
<link rel="openid.delegate" href="http://certifi.ca/njw" />
</head>
diff --git a/includes/header.xml b/includes/header.xml
index ae28724..0b90e1f 100644
--- a/includes/header.xml
+++ b/includes/header.xml
@@ -7,7 +7,7 @@
<title>TITLE</title>
<link rel="stylesheet" type="text/css" href="/includes/style" />
<link rel="icon" href="/graphics/candles.ico" />
- <link rel="alternate" title="rss" type="text/n3" href="/rss" />
+ <link rel="alternate" title="rss" type="text/turtle" href="/index.ttl" />
</head>
<body>
diff --git a/makerss.sh b/makerss.sh
index 4b8e12e..653bbb2 100755
--- a/makerss.sh
+++ b/makerss.sh
@@ -18,14 +18,14 @@ cat << EOF
dc:creator <${creator}>;
cc:license <http://creativecommons.org/licenses/by-sa/3.0/>;
- :items [
+ rss:items (
EOF
for item in $items; do
- echo " rdf:resource <${siteurl}${item}>;"
+ echo " <${siteurl}${item}>"
done
-echo " ]."
+echo " )."
for item in $items; do
title=`head -n 1 ./${item}.txt`