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

2007-07-20 Thread Christophe David
> So, I again say that this would probably be better done by > creating something like ?action=xml > some sort. (And in fact this is exactly what ?action=rss, > ?action=rdf, ?action=atom do -- they produce xml-based views > of pagelists.) You are right. The layout of the output when using these

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 http://www.pmwiki.

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

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 l

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 > > Well, I would already be very happy to create the pagelist templates > myself to generate > > >

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 Well, I would already be very happy to create the pagelist templates myself to generate abc cde as long as I could use a skin that would set the http header an

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 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
> Wouldn't we also need at least a 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. " So

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 > >and 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 conta

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

2007-07-20 Thread Christophe David
> Sure... just create a skin for it, and omit the > and 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 123 shown with the "XML" skin should return an HTTP header "Co

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 PmWi

[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 st