summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/doap-src.ttl9
-rw-r--r--web/websummary.sh16
2 files changed, 16 insertions, 9 deletions
diff --git a/web/doap-src.ttl b/web/doap-src.ttl
index 193f0c2..c2791ec 100644
--- a/web/doap-src.ttl
+++ b/web/doap-src.ttl
@@ -10,7 +10,7 @@
doap:repository :repo;
doap:programming-language "JavaScript";
doap:license <http://www.gnu.org/licenses/agpl.html>;
- doap:release :v0dot1, :v0dot2, :v0dot3, :v0dot4, :v0dot5, :v0dot6, :v0dot7;
+ doap:release :v0dot1, :v0dot2, :v0dot3, :v0dot4, :v0dot5, :v0dot6, :v0dot7, :v0dot8;
doap:maintainer <FOAF>.
<FOAF> a foaf:Person;
@@ -65,3 +65,10 @@
doap:file-release <WEBSITE/simplyread-0.7.tar.bz2>,
<WEBSITE/simplyread-0.7.xpi>,
<WEBSITE/simplyread-0.7.crx>.
+
+:v0dot8 a doap:Version;
+ doap:revision "0.8";
+ doap:created "2011-12-12";
+ doap:file-release <WEBSITE/simplyread-0.8.tar.bz2>,
+ <WEBSITE/simplyread-0.8.xpi>,
+ <WEBSITE/simplyread-0.8.crx>.
diff --git a/web/websummary.sh b/web/websummary.sh
index 8da2790..fa7290a 100644
--- a/web/websummary.sh
+++ b/web/websummary.sh
@@ -20,18 +20,18 @@ WHERE {
foaf:homepage ?maintainerhome.
}"
-roqet -q -r csv -e "$q" -D /dev/stdin < $rdf | sed '/^Result/d' \
+roqet -q -r csv -e "$q" -D /dev/stdin < $rdf | sed '1d' \
| while read r; do
- home=`echo $r | awk -F , '{print $2}'| sed -e 's/uri\(//' -e 's/\)//'`
- repo=`echo $r | awk -F , '{print $3}'| sed -e 's/uri\(//' -e 's/\)//'`
- licenseuri=`echo $r | awk -F , '{print $4}'| sed -e 's/uri\(//' -e 's/\)//'`
- maint=`echo $r | awk -F , '{print $5}'| sed -e 's/"//g'`
- mainthome=`echo $r | awk -F , '{print $6}'| sed -e 's/uri\(//' -e 's/\)//'`
- lang=`echo $r | awk -F , '{print $7}'| sed -e 's/"//g'`
+ home=`echo $r | awk -F , '{print $1}'`
+ repo=`echo $r | awk -F , '{print $2}'`
+ licenseuri=`echo $r | awk -F , '{print $3}'`
+ maint=`echo $r | awk -F , '{print $4}'`
+ mainthome=`echo $r | awk -F , '{print $5}'`
+ lang=`echo $r | awk -F , '{print $6}'`
test "$licenseuri" = "http://www.gnu.org/licenses/gpl.html" && license="GPL"
test "$licenseuri" = "http://www.gnu.org/licenses/agpl.html" && license="AGPL"
test "$licenseuri" = "http://creativecommons.org/licenses/MIT/" && license="MIT"
- repotype=`echo $r | awk -F , '{print $8}'| sed -e 's/uri\(//' -e 's/\)//'`
+ repotype=`echo $r | awk -F , '{print $7}'`
test "$repotype" = "http://usefulinc.com/ns/doap#GitRepository" && repocmd="git clone"
cat <<- _EOF_