summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--Makefile8
-rw-r--r--index.txt2
-rwxr-xr-xmakerss.sh6
-rw-r--r--pubs/2008-consent.txt (renamed from publications/2008-consent.txt)0
-rw-r--r--pubs/2009-copyme.txt (renamed from publications/2009-copyme.txt)0
-rw-r--r--pubs/index.ttl (renamed from publications/index.ttl)4
7 files changed, 12 insertions, 12 deletions
diff --git a/.gitignore b/.gitignore
index 6324825..7a48510 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,7 @@
*.gz
*.tex
index.ttl
-publications/index.txt
-publications/*.pdf
+pubs/index.txt
+pubs/*.pdf
!includes/*.xml
diff --git a/Makefile b/Makefile
index 67ce05b..f176449 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,10 @@ FOAF=http://njw.me.uk/card\#i
MD=smu
RSS=index.ttl
-BIB=publications/index.ttl
-BIBTXT=publications/index.txt
+BIB=pubs/index.ttl
+BIBTXT=pubs/index.txt
PAGES=$(shell find . -name '*.txt' ! -name 'robots.txt' ! -name $(RSS)) $(BIBTXT)
-PUBS=$(shell find ./publications/ -name '*.txt' ! -name 'index.*')
+PUBS=$(shell find ./pubs/ -name '*.txt' ! -name 'index.*')
EXTRAS=$(shell find . -name '*.css') card.ttl
TARGETS=$(PAGES:.txt=.xml) $(RSS) $(BIBTXT)
GZIP=$(PAGES:=.gz) $(TARGETS:=.gz) $(EXTRAS:=.gz) $(BIB:=.gz)
@@ -21,7 +21,7 @@ $(RSS): $(PAGES)
echo making $@
sh makerss.sh $(SITENAME) $(FOAF) $* > $@
-publications/index.txt: $(BIB)
+pubs/index.txt: $(BIB)
echo making $@
sh bibtotxt.sh $< > $@
diff --git a/index.txt b/index.txt
index d825aed..c2a98ca 100644
--- a/index.txt
+++ b/index.txt
@@ -12,7 +12,7 @@ have been and am involved with.
I am currently employed as a web developer, and also do some freelance
work. There is more information here on the services I can offer.
-[Publications](publications/)
+[Publications](pubs/)
-----------------------------------------------------------------------
Articles I've written which have been published.
diff --git a/makerss.sh b/makerss.sh
index a63c412..cf03bf2 100755
--- a/makerss.sh
+++ b/makerss.sh
@@ -4,8 +4,8 @@
[[ "$1" ]] && siteurl="$1" || siteurl=""
[[ "$2" ]] && creator="$2" || creator=""
-items=`find . -name '*.txt' ! -name 'robots.txt' ! -path '*/publications/2*' | sed -e 's/^\.//g' -e 's/\.txt$//g'`
-pubs=`find ./publications -name '2*.txt' | sed -e 's/^\.//g' -e 's/\.txt$//g'`
+items=`find . -name '*.txt' ! -name 'robots.txt' ! -path '*/pubs/2*' | sed -e 's/^\.//g' -e 's/\.txt$//g'`
+pubs=`find ./pubs -name '2*.txt' | sed -e 's/^\.//g' -e 's/\.txt$//g'`
title=`head -n 1 index.txt`
cat << EOF
@@ -44,4 +44,4 @@ for item in $items; do
EOF
done;
-sed -e '/^@/d' -e "s|http://njw.me.uk|${siteurl}|g" < publications/index.ttl
+sed -e '/^@/d' -e "s|http://njw.me.uk|${siteurl}|g" < pubs/index.ttl
diff --git a/publications/2008-consent.txt b/pubs/2008-consent.txt
index dd93d19..dd93d19 100644
--- a/publications/2008-consent.txt
+++ b/pubs/2008-consent.txt
diff --git a/publications/2009-copyme.txt b/pubs/2009-copyme.txt
index aef4cc4..aef4cc4 100644
--- a/publications/2009-copyme.txt
+++ b/pubs/2009-copyme.txt
diff --git a/publications/index.ttl b/pubs/index.ttl
index 07f0238..5f28c03 100644
--- a/publications/index.ttl
+++ b/pubs/index.ttl
@@ -3,7 +3,7 @@
@prefix dc: <http://purl.org/dc/elements/1.1/>.
@prefix cc: <http://creativecommons.org/ns#>.
-<http://njw.me.uk/publications/2008-consent> a bibo:Article;
+<http://njw.me.uk/pubs/2008-consent> a bibo:Article;
dc:title "Issues of consent in human-animal sexual relations";
dc:date "2008";
dc:isPartOf <urn:issn:17552273>;
@@ -11,7 +11,7 @@
bibo:status <bibo:status/forthcoming>;
dc:creator <http://njw.me.uk/card#i>.
-<http://njw.me.uk/publications/2009-copyme> a bibo:Article;
+<http://njw.me.uk/pubs/2009-copyme> a bibo:Article;
dc:title "Technological change and the consumption of music";
dc:date "2009";
dc:isPartOf <urn:issn:20411405>;