diff doc/download.sh @ 1773:2ae81598b254

scripts for converting wiki documentation to docbook
author nadvornik
date Sun, 22 Nov 2009 09:12:22 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/download.sh	Sun Nov 22 09:12:22 2009 +0000
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+unset LANG
+PAGES=`curl "http://sourceforge.net/apps/trac/geeqie/wiki/TitleIndex" | \
+     sed -e "s|>|>\n|g" |grep 'href=.*/geeqie/wiki/Guide'|sed -e 's|.*/wiki/Guide\([a-zA-Z0-9]*\).*|Guide\1|'`
+
+mkdir wiki
+
+for p in $PAGES ; do
+  curl "http://sourceforge.net/apps/trac/geeqie/wiki/$p?format=txt" > wiki/$p
+done
+
+     
+     
\ No newline at end of file