Re: [pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Patrick R. Michaud
On Fri, Jul 20, 2007 at 03:06:03PM +0200, Christophe David wrote: Many applications use XML formatted data obtained from a web server. PmWiki pagelists formats are so powerful that the information returned could be used by other applications expecting XML, if the there was a way let PmWiki

[pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Christophe David
Many applications use XML formatted data obtained from a web server. PmWiki pagelists formats are so powerful that the information returned could be used by other applications expecting XML, if the there was a way let PmWiki return Content-Type: text/XML in the HTTP header, and to remove the

Re: [pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Christophe David
Sure... just create a skin for it, and omit the !--HTMLHeader-- and !--HTMLFooter-- directives. I'll be glad to create one for this, if someone can let me know what belongs and doesn't belong in the resulting output. Well, basically, a page containg test whatever123/whatever /test shown

Re: [pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Patrick R. Michaud
On Fri, Jul 20, 2007 at 04:22:51PM +0200, Christophe David wrote: Sure... just create a skin for it, and omit the !--HTMLHeader-- and !--HTMLFooter-- directives. I'll be glad to create one for this, if someone can let me know what belongs and doesn't belong in the resulting output. Well,

Re: [pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Christophe David
Wouldn't we also need at least a ?xml ...? tag at the beginning? The specs are : The root element can be preceded by an optional XML declaration. This element states what version of XML is in use (normally 1.0); it may also contain information about character encoding and external dependencies.

Re: [pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Patrick R. Michaud
On Fri, Jul 20, 2007 at 06:07:07PM +0200, Christophe David wrote: Wouldn't we also need at least a ?xml ...? tag at the beginning? The specs are : The root element can be preceded by an optional XML declaration. This element states what version of XML is in use (normally 1.0); it may also

Re: [pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Christophe David
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 myitemabc/myitem myitemcde/myitem /root as long as I could use a

Re: [pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Patrick R. Michaud
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

Re: [pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Patrick R. Michaud
On Fri, Jul 20, 2007 at 11:35:34AM -0500, Patrick R. Michaud wrote: On Fri, Jul 20, 2007 at 06:29:08PM +0200, Christophe David wrote: 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

Re: [pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Patrick R. Michaud
On Fri, Jul 20, 2007 at 07:01:32PM +0200, Christophe David wrote: 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 Not really : See

Re: [pmwiki-users] PmWiki as XML source ?

2007-07-20 Thread Christophe David
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 Not really : See http://www.pmwiki.org/wiki/Test/XMLTest2?skin=xml then, view source. There are still things