Re: php file as xml source
florent Claude <[email protected]> Wed, 26 Jul 2006 17:02:04 +0200
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | eZoulou |
| Message-ID | <[email protected]> |
Well, thanks for the super-fast answer! I am too new to flux to be able to do that the clean way (pluggin or generator) so will fix it for now as I can. :-[ But I have another question/remark : In admin, using bxe editor, when I creating a link with the link_resource button, the @href created contains only the filename and not the path to it... Best regards, florent/. Christian Stocker a écrit : 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> -- ---------- florent Claude | web interface & xml specialist | www.ezoulou.be -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms