Re: php file as xml source
Christian Stocker <[email protected]> Wed, 26 Jul 2006 16:09:36 +0200
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | Bitflux GmbH |
| Message-ID | <[email protected]> |
On 26.7.2006 16:02 Uhr, florent Claude wrote: > Hi, > > Is it a way that I could use a php file (that outputs xml) as xml > source, instead of the classic xhtml file from the data directory? > > I imagined something like this in the main sitemap would work... > > <map:match type="uri" matchtype="regex" pattern="#^test/(.*)#"> > <map:generate type="php" src="test.php"> > <map:include label="standardOutput"/> > </map:match> No, you'd have to write a popoon generator for that. Just take an existing one and extend that But maybe you do it better as fluxcms plugin, than as a popoon generator. But that depends on what oyu really need :9 chregu > > Thanks for your great work. > florent/. > > > -- > ------------------------------------------------------------------------ > *florent Claude* | web interface *&* xml specialist | > www.ezoulou.be <http://www.ezoulou.be> > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | GPG 0x5CE1DECB -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms