tips:perspective
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips:perspective [2009-03-03 01:48] – added python syntax highlighting efege | tips:perspective [2014-04-14 19:39] (current) – 65.244.148.222 | ||
---|---|---|---|
Line 4: | Line 4: | ||
I've migrated my company' | I've migrated my company' | ||
- | **ToDo**: This script creates an " | + | **ToDo**: |
+ | * This script creates an " | ||
+ | |||
+ | * I found that the script was saving pages that originally had spaces in the name without spaces. | ||
+ | name = GetNode(fields, | ||
+ | doku_namespace = "" | ||
+ | doku_name = "" | ||
+ | if name.find(":" | ||
+ | | ||
+ | | ||
+ | else: | ||
+ | | ||
+ | </ | ||
+ | doku_namespace = "" | ||
+ | doku_name = "" | ||
+ | doku_namespace = " | ||
+ | doku_name = GetNode(fields, | ||
+ | </ | ||
+ | |||
+ | * Found that the BOM messes up the conversion, and then a few more characters in my ten-year-old PerspectiveWiki weren' | ||
+ | s = s.replace(u' | ||
+ | s = s.replace(u' | ||
+ | s = s.replace(u' | ||
+ | s = s.replace(u' | ||
+ | s = s.replace(u' | ||
+ | s = s.replace(u' | ||
+ | s = s.replace(u' | ||
+ | </ | ||
**Requirements**: | **Requirements**: | ||
- | * Python | + | * Python |
* Windows Share access to the source and destination wikis. | * Windows Share access to the source and destination wikis. | ||
+ | |||
+ | **Note**: | ||
+ | After running this script, run the indexer.php script in dokuwiki\bin. | ||
<code python> | <code python> |
tips/perspective.1236041300.txt.gz · Last modified: 2013-04-26 18:08 (external edit)