|
PmWiki /
PageFileFormatYou may have many documents that you would like to use a local program to format in a format pmWiki can display. You could open each document and copy/paste the content to new pmwiki pages or you could format the document in advance and upload it using a ftp client. Only two lines are necessary in a PmWiki page file:
The Another approach is to tell PmWiki that the values are urlencoded:
The actual value of the "version=" parameter doesn't matter, as long as "urlencoded=1" appears somewhere in the line. Keys you could see in a raw pmWiki file:
Creating a Page for DistributionA simple way to create a wikipage file to for distribution (for example with a recipe or a skin) is to create the page with PmWiki and then use a text editor to delete all lines but version, text, and time. Example: version=pmwiki-2.0.0 ordered=1 urlencoded=1 text=This is a line.%0aThis is another. time=1124826105 NoteIt looks like the file does in fact need a time entry or PmWik? will mistakenly detect concurrent editing and refuse to save the page upon a manual edit. That would make the minimum required lines:
--Henning? December 16, 2005, at 10:53 AM If you are mass-importing a large number of wikipage files that use the targets=Group.PageOne,Group.PageTwo title=This Page's Title You should also be warned that it seems that html entities like << Functions | DocumentationIndex | Changes from PmWiki 1 >> |