In 1.4.8 and 1.5.0 rc4 you have an example crontab line of
0 * * * * /usr/local/bin/php -f /path/to/your/faq//xml/cron4rss.php
-f just parses the file. You should run it like
0 * * * * /usr/local/bin/php -/path/to/your/faq/xml/cron4rss.php
to create the files.
I'm also getting a parse error in the output for the latest feed, using opera 8.01 as my newsreader. It's the blank encoding:
$output = "<?xml version=\"1.0\" encoding=\"".$PMF_LANG["metaCharset"]."\" standalone=\"yes\" ?>\n<rss version=\"2.0\">\n<channel>\n";
which outputs:
<?xml version="1.0" encoding="" standalone="yes" ?>
Where should my PMF_LANG be set?
--
Andrew Diederich
bug in the example crontab from cron4rss.php
Moderator: Thorsten
-
ardiederich
- Posts: 55
- Joined: Tue Aug 10, 2004 3:02 pm
Hi Andrew,
cron4rss.php isn't anymore in v1.5. but I'll fix it for 1.4.9.
I'll check the problem with the lost charset.
bye
Thorsten
cron4rss.php isn't anymore in v1.5. but I'll fix it for 1.4.9.
I'll check the problem with the lost charset.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
ardiederich
- Posts: 55
- Joined: Tue Aug 10, 2004 3:02 pm
Hi,
in 1.5 the RSS files will be generated on the fly.
bye
Thorsten
in 1.5 the RSS files will be generated on the fly.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
ardiederich
- Posts: 55
- Joined: Tue Aug 10, 2004 3:02 pm