[pmwiki-users] field error test (was: wikipublisher questions)

John Rankin john.rankin at affinity.co.nz
Thu Mar 30 17:07:16 CST 2006


On Thursday, 30 March 2006 11:31 PM, noskule at gmx.net wrote:
>noskule schrieb:
>
>>John Rankin schrieb:
>>>>In a farm wikipublisher only works in the main field. In all other 
>>>>fields the wikipublisher server gives the "wikipublisher error report". 
>>>>   

There is a test you can do in one of the fields where the pdf is 
returning an error.

1. go to a simple page that you know ought to work

2. click the pdf icon to bring up the confirmation screen

3. in the browser's address bar, go to the very end, which should
   say format=makepdf

4. change this to format=pdf and press return

5. this will tell pmwiki to generate wikibook xml instead of html 

You should see something like this (depending on your browser, 
you may have to View Source):

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE article PUBLIC "-//Affinity Ltd//DTD wikibook 0.9.3//EN" 
                      "http://www.wikipublisher.org/dtd/wikibook.dtd">
<article>
  <title>Wikipublisher: Home Page</title>
  <author>Page from the PmWiki+WikiPublisher</author>
  <date>31 March 2006, at 11:01 AM</date>
<!--HeaderText-->
<meta type="duplex" value="on" />
<meta type="justification" value="on" />
<meta type="sectionnewpage" value="off" />
<meta type="autonumber" value="0" />
<meta type="headingstyle" value="sans" />
<meta type="bodystyle" value="serif" />
<meta type="fontsize" value="11pt" />
<meta type="toc" value="off" />
<meta type="pagesize" value="A4" />

    

<!--PageText--><p>and so on.
</p>

If you see anything else, it's not finding the right skin.

Let me know what happens.
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list