<p dir="ltr">Or to put it another way, if I use a text editor, such as vi or notepad on windows, what is the smallest text file I can ftp to my pmwiki space that will print "hello world" when I visit the page with my browser?<br>

-Mark</p>
<div class="gmail_quote">On May 31, 2013 5:57 PM, "Mark Lee" <<a href="mailto:mark.lee.phd@gmail.com">mark.lee.phd@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I have a wiki from another system that I want to recreate in pmwiki. I have the contents of the pages stored in a spreadsheet. I will be writing a script to convert the text files into pmwiki pages. I found this:<div>

<p style="line-height:19.5px;font-size:15px;margin-bottom:0px;font-family:Arial,Helvetica,sans-serif;margin-top:1.33em">Only two lines are necessary in a PmWiki page file:</p><div style="line-height:19.5px;font-size:15px;font-family:Arial,Helvetica,sans-serif;margin-top:1.33em">

</div><div style="line-height:19.5px;font-size:15px;margin-left:40px;font-family:Arial,Helvetica,sans-serif"><pre style="font-size:0.9em;font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace;line-height:1.2em;margin-top:0px;margin-bottom:0px">

version=pmwiki-2.1.0 urlencoded=1
text=Markup text
</pre></div><p style="line-height:19.5px;font-size:15px;margin-bottom:0px;font-family:Arial,Helvetica,sans-serif;margin-top:1.33em">"version=" tells PmWiki that the values are urlencoded. The actual value doesn't matter, as long as "urlencoded=1" appears somewhere in the line.</p>

<p style="line-height:19.5px;font-size:15px;margin-bottom:0px;font-family:Arial,Helvetica,sans-serif;margin-top:1.33em">"text=" <em>needs</em> to have the markup text with newlines converted to "%0a" and percent signs converted to "%25".</p>

<div style="line-height:19.5px;font-size:15px;font-family:Arial,Helvetica,sans-serif;margin-top:1.33em"></div><div style="line-height:19.5px;font-size:15px;margin-left:40px;font-family:Arial,Helvetica,sans-serif">
In addition, <em>PmWiki writes</em> pages with '<' encoded as "%3c" (to help with security), but it doesn't require that <'s be encoded that way in order to be able to read the page. More conversions are possible to be added in the future.</div>

</div><div><br></div><div>Is this all I need to add to the text files? I can't figure it out.</div><div><br></div><div>-Mark</div></div>
</blockquote></div>