[pmwiki-users] minimal text file to create pmwiki page

Mark Lee mark.lee.phd at gmail.com
Sat Jun 1 09:05:44 CDT 2013


Thank you Tamara. The following does just what I am looking for.

version=pmwiki-2.2.51 urlencoded=1
text=%0aHello, World%0a

I also realized that the symbol % needs to be replaced by the hex code %25.
I am well on my way to mapping my page content to pmwiki pages. Here is an
example page that I just put together using a text editor.

http://ediblelandscape.org/pmwiki.php?n=Plants.Plant167

In that example, a cell in my spreadsheet contained the species name "Rosa
woodsii". I have a script written in VBA (Excel spreadsheet) that writes
this to a text file
%0a(:Species: Rosa woodsii:)%0a
Each row in my spreadsheet contains the content for each page. Each cell is
assigned to a PageTextVariable, and each of these goes to the location on
the page I previously defined in the page template for the skin. With a
click of a button, I can generate all the pages for my site, and with a few
more clicks the pages are uploaded to my site via ftp. A simple Content
Management System using a spreadsheet and FileZilla. I really like PMWiki,
but I like the ability to backup the content of the site in form that is
independent of PMWiki and is portable between different platforms.

-Mark



On Fri, May 31, 2013 at 6:40 PM, Tamara Temple <tamouse.lists at gmail.com>wrote:

> Mark Lee <mark.lee.phd at gmail.com> wrote:
> > 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?
>
> That would be:
>
> Main.HelloWorld:
> -----------
> version=pmwiki-2.2.51 urlencoded=1
> text=%0a! Hello, World!%0a
>
> In your pmwiki installation, you'll find a directory called wiki.d/ --
> this is where wiki pages live. Upload the file above to this directory,
> and point your browser at it, like:
>
>   http://www.example.com/pmwiki.php?n=Main.HelloWorld
>
> assuming you haven't really done much configuration yet. (Obviously,
> substitute www.example.com for your server's address, and the
> appropriate path to pmwiki.php.)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20130601/110c9f8a/attachment.html>


More information about the pmwiki-users mailing list