[Pmwiki-users] Converting text files of wiki code to wiki pages

Greg Morgan Cybie
Wed Mar 31 20:58:07 CST 2004


Richard Canning wrote:

>Is there a way that I can write a script that will convert a text page of wiki code to a wiki page?
>
>I have some code that is generated by a cgi script, and then I have to open the file, copy the contents into a wikipage and hit Save. If I could get a PHP script to do this for me, that would be great.
>
>Something like
>
>/>makepage sourcefile.txt pmwiki/wiki.d/Group.Page
>
>  
>
You could install the XML-RPC module and have your script call the 
setPage function.




More information about the pmwiki-users mailing list