From ff00b54db50ec038e0dde03c3df3da6ca469dfb9 Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 9 Apr 2010 16:26:39 +0100 Subject: Added a simple personal foaf file --- .htaccess | 1 + .htstatic | 1 + Makefile | 2 +- foaf.n3 | 18 ++++++++++++++++++ includes/header-index.xml | 1 + 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 foaf.n3 diff --git a/.htaccess b/.htaccess index fe1acbe..fba45da 100755 --- a/.htaccess +++ b/.htaccess @@ -3,3 +3,4 @@ AddDefaultCharset utf-8 Options +Multiviews DirectoryIndex index AddEncoding x-gzip .gz +AddType "text/rdf+n3; charset=utf-8" .n3 diff --git a/.htstatic b/.htstatic index fe1acbe..fba45da 100755 --- a/.htstatic +++ b/.htstatic @@ -3,3 +3,4 @@ AddDefaultCharset utf-8 Options +Multiviews DirectoryIndex index AddEncoding x-gzip .gz +AddType "text/rdf+n3; charset=utf-8" .n3 diff --git a/Makefile b/Makefile index 71cf825..5c45561 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ MARKDOWN=smu RSS=rss.rdf PAGES=$(shell find . -name '*.txt' ! -name 'robots.txt' ! -name $(RSS)) -EXTRAS=$(shell find . -name '*.css') +EXTRAS=$(shell find . -name '*.css') foaf.n3 TARGETS=$(PAGES:.txt=.xml) $(RSS) GZIP=$(PAGES:=.gz) $(TARGETS:=.gz) $(EXTRAS:=.gz) diff --git a/foaf.n3 b/foaf.n3 new file mode 100644 index 0000000..41f1660 --- /dev/null +++ b/foaf.n3 @@ -0,0 +1,18 @@ +@prefix rdf: . +@prefix foaf: . +@prefix dc: . +@prefix cc: . +@prefix : . + +<> a foaf:PersonalProfileDocument; + dc:creator :i; + cc:license ; + foaf:primaryTopic :i. + +:i a foaf:Person; + foaf:name "Nick J. White"; + foaf:givenName "Nick"; + foaf:nick "njw"; + foaf:homepage ; + foaf:openid ; + foaf:mbox_sha1sum "6401a28665a1feaecd7f4e5591dc5eadf285eeec". diff --git a/includes/header-index.xml b/includes/header-index.xml index 8f43c64..d692a16 100644 --- a/includes/header-index.xml +++ b/includes/header-index.xml @@ -8,6 +8,7 @@ + -- cgit v1.2.3