 |
? |
Author |
Message |
rwgau
Joined: 29 Oct 2015
Posts: 3
|
Posted: Thu Oct 29, 2015 8:31 am |

|
I have successfully implemented the rss2html.php script and I have two pages with active feeds working fine.
I created a third page, same directory as the others, same website template, same EXACT include statement, get an error:
Unable to open RSS Feed sample.xml, exiting
Why would the script correctly parse the XMLFILE name from the include statement included in one page put not another? Below is the include statement, works on one page but not another.
Any ideas?
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2806
|
Posted: Thu Oct 29, 2015 1:24 pm |

|
if the rss2html.php file is in the same folder as the HTML file that has the INCLUDE statement in it, then you should use FILE= instead of VIRTUAL= in the HTML page.
For example if your HTML file is test.html and has the rss2html.php in the same folder, then use this syntax:
|
_________________
Create RSS Feeds
Audio Recording and Editing
|
|
 |
 |
rwgau
Joined: 29 Oct 2015
Posts: 3
|
Posted: Tue Feb 09, 2016 9:41 am |

|
I am still having intermittent problems with my feeds not loading properly. Sometimes they work... sometimes they don't. What would cause the feed to work correctly one day and not the next? I've tried caching, not caching, etc. I've tried INCLUDE FILE and INCLUDE VIRTUAL. I've validated the XML feeds. Any suggestions before I move to another solution?
One such page is http://www.auburn.edu/administration/oacp/compliance.php
One such page is http://www.auburn.edu/administration/oacp/audit.php
currently one works, the other doesn't. Same syntax.
PHP version is 5.3.2-1ubuntu4.30
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2806
|
Posted: Tue Feb 09, 2016 10:17 am |

|
|
 |
 |
rwgau
Joined: 29 Oct 2015
Posts: 3
|
Posted: Tue Feb 09, 2016 10:36 am |

|
All the feeds validate correctly. And sometimes rss2html works properly and returns the feed correctly formatted, other times, for no apparent reason, error messages are displayed instead.
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2806
|
Posted: Tue Feb 09, 2016 11:05 am |

|
|
 |
 |
|
|
|