Hi-
I am attempting to set up an RSS feed using PHP. It would be convenient for
me to embed PHP into an xml file like I would do to an HTML file in order to
create the XML, however the apache server does not realize that it's PHP
content and the PHP engine is not run against that code. so I have to call
it feed.php instead of feed.xml, and most of the rss readers don't
appreciate this.
My alternative is to create the XML file every day or so (using PHP or
whatever), however that does not guarantee that the person requesting the
rss feed gets up to date info.
I would really like to know if there is a way to create the XML file on the
fly using PHP without modifying the apache server.
Thanks,
troy
I am attempting to set up an RSS feed using PHP. It would be convenient for
me to embed PHP into an xml file like I would do to an HTML file in order to
create the XML, however the apache server does not realize that it's PHP
content and the PHP engine is not run against that code. so I have to call
it feed.php instead of feed.xml, and most of the rss readers don't
appreciate this.
My alternative is to create the XML file every day or so (using PHP or
whatever), however that does not guarantee that the person requesting the
rss feed gets up to date info.
I would really like to know if there is a way to create the XML file on the
fly using PHP without modifying the apache server.
Thanks,
troy
Comment