[pmwiki-users] PmWiki as XML source ?

Patrick R. Michaud pmichaud at pobox.com
Fri Jul 20 11:35:34 CDT 2007


On Fri, Jul 20, 2007 at 06:29:08PM +0200, Christophe David wrote:
> >Okay, you're asking for something very different from what PmWiki
> >produces.  PmWiki doesn't have markup rules for producing <link>
> 
> Well, I would already be very happy to create the pagelist templates
> myself to generate
> 
> <root>
>   <myitem>abc</myitem>
>   <myitem>cde</myitem>
> </root>
> 
> as long as I could use a skin that would set the http header and not
> generate any other output than this (and possibly an <xml..  > tag.
> 
> But up to now, I could not manage to get rid of css and formatting
> things that are not in my skin.
> 
> It this possible ?

Sure -- that's what the example I gave demonstrates -- see

   http://www.pmwiki.org/wiki/Test/XMLTest?skin=xml

None of the css or formatting or HTML head/body/title/etc. elements
are in the output, only the output of the pagelist command.
(View the document source to see what it has -- don't try to
look at it with an XML parser, since it obviously won't parse
as XML yet.)

Pm



More information about the pmwiki-users mailing list