|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
php file as xml source
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> Thanks for your great work. florent/. -- bitflux-cms mailing list bitflux-cms@... http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms |
|
|
Re: php file as xml sourceOn 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 | christian.stocker@... | GPG 0x5CE1DECB -- bitflux-cms mailing list bitflux-cms@... http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms |
|
|
Re: php file as xml source
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 :
-- bitflux-cms mailing list bitflux-cms@... http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms |
|
|
Re: php file as xml sourceOn 26.7.2006 17:02 Uhr, florent Claude wrote: > 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... I thought, that's fixed, which version did you install/download? (we currently recommend the 1_5 branch and should definitively make an official release soon) chregu > 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 <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 | christian.stocker@... | GPG 0x5CE1DECB -- bitflux-cms mailing list bitflux-cms@... http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms |
|
|
Re: php file as xml source
good morning! ;-)
Well, thanks for the super-fast answer! I thought, that's fixed, which version did you install/download?You are right, I use the 1.3 version (according to my NEWS file)! I'll try to update now// florent/.
-- bitflux-cms mailing list bitflux-cms@... http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms |
| Free Forum Powered by Nabble | Forum Help |