From: Reini U. <ru...@x-...> - 2004-08-20 10:05:11
|
Lea Viljanen schrieb: > I have created a plugin that basically creates a bibtex file > from a set of pages linked to a master page (*). It works and > currently generates a normal looking Wiki page with the > bibtex entries. > > However, since real bibtex files are not HTML files, I'd like > my plugin to output a plain text page instead of HTML so we > could just save the file to the disk as such. Generating > a file to the Wiki server disk is not ideal, since all Wiki users > do not have file access to the server. > > Any hints? Let the users download their pages with ?action=zip. At the PhpWikiAdministration page. If you want to have everything in your plugin, look at the lib/loadsave.php code. MakeWikiZip() with the request argument pages="Page1,Page2,...". > (*) Basically this is very idiotic functionality, i.e. read a list > of linked pages and extract sections of type > @whatever{... > .... > } > from each linked page. > -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |