montymoose
Posts: 85
|
| Posted: 08/10/2007, 3:29 AM |
|
There are a number of posts about RSS feeds already on this forum. However they don't seem to offer a conclusion to the problem:
Can we create grids in CSS and then export them as XML files rather than PHP files for use with a feed reader or not?
Any answers would be great!
John.
|
 |
 |
DonB
|
| Posted: 08/10/2007, 9:47 AM |
|
The HTML file (the 'template') can be changed around to output in whatever
markup you require, HTML, XML, etc.
--
DonB
http://www.gotodon.com/ccbth
"montymoose" <montymoose@forum.codecharge> wrote in message
news:546bc3e0d0a64c@news.codecharge.com...
> There are a number of posts about RSS feeds already on this forum. However
they
> don't seem to offer a conclusion to the problem:
>
> Can we create grids in CSS and then export them as XML files rather than
PHP
> files for use with a feed reader or not?
>
> Any answers would be great!
>
> John.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
montymoose
Posts: 85
|
| Posted: 08/10/2007, 10:38 AM |
|
Solved:
The easiest way I have found, is to add the following line to your .htaccess file.
AddType application/x-httpd-php .xml
This will execute the XML file as if it was a php. Just create it normally in CodeCharge (codeview) add grids like you usually would. Then rename the feed.php file you create to feed.xml.
Happy feeding!
Moose
|
 |
 |
|