/[socialtext-import]/phpwiki/push2wiki.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /phpwiki/push2wiki.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Sun Nov 19 14:57:40 2006 UTC (17 years, 3 months ago) by dpavlin
File MIME type: application/x-sh
File size: 232 byte(s)
Import initial versions convertors from kwiki (much more complete)
and phpwiki (just tiny subset which one of my wikis used) to
socialtext

1 dpavlin 1 #!/bin/sh
2    
3     while [ ! -z "$1" ] ; do
4     path=$1
5     page=`echo $1 | sed -e 's!st/!!' -e 's!\.wiki!!'`
6     echo "set_page $page"
7     iconv -f iso-8859-2 -t utf-8 "$path" > "/tmp/$page" && strut set_page sysadmin "$page" "/tmp/$page"
8     shift
9     done

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26