Author |
Message |
vt3fan4evr
Joined: 24 Feb 2006
Posts: 11
|
Posted: Fri Feb 24, 2006 3:51 am |

|
|

|
 |
Tech Support
Joined: 27 Aug 2004
Posts: 804
|
Posted: Fri Feb 24, 2006 9:30 am |

|
Can you post a link to the RSS feed (XML file) you are trying to use with rss2html? If you can post a link to your template file, that may also be of use.
Thanks.
|
_________________
FeedForAll Support
|
|

|
 |
vt3fan4evr
Joined: 24 Feb 2006
Posts: 11
|
Posted: Fri Feb 24, 2006 11:57 am |

|
Tech Support wrote: |
Can you post a link to the RSS feed (XML file) you are trying to use with rss2html? If you can post a link to your template file, that may also be of use.
Thanks. |
News xml:http://fasttracksracing.netfirms.com/rss/news.xml
Template html:http://fasttracksracing.netfirms.com/BasicWebpage.htm
|
|
|

|
 |
vt3fan4evr
Joined: 24 Feb 2006
Posts: 11
|
Posted: Fri Feb 24, 2006 12:02 pm |

|
News xml:http://fasttracksracing.netfirms.com/rss/news.xml
Template html:http://fasttracksracing.netfirms.com/BasicWebpage.htm[/quote]
Screwed up the template link here is the correct link:html:http://fasttracksracing.netfirms.com/rss/BasicWebpage.htm
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Fri Feb 24, 2006 12:48 pm |

|
What version of the rss2html.php script are you using?
Jim
|
|
|
 
|
 |
vt3fan4evr
Joined: 24 Feb 2006
Posts: 11
|
Posted: Fri Feb 24, 2006 1:21 pm |

|
[/quote]
What version of the rss2html.php script are you using?
Jim[/quote]
I am only assuming here but I just downloaded it from feedforall so I think it is the latest version. I am not at home so I will check when I am later but I kow it just came from the site.
|
|
|

|
 |
vt3fan4evr
Joined: 24 Feb 2006
Posts: 11
|
Posted: Fri Feb 24, 2006 5:52 pm |

|
[/quote]
What version of the rss2html.php script are you using?
Jim[/quote]
This is the version number from the docs file in the zip.
RSS2HTML PHP Script Documentation v2.1
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Fri Feb 24, 2006 6:40 pm |

|
What version of the rss2html.php script are you using?
Jim[/quote]
This is the version number from the docs file in the zip.
RSS2HTML PHP Script Documentation v2.1[/quote]
I need the version from the script, not the documentation. In the first 10 lines of the rss2html.php is a line that looks like this:
// $Id: rss2html.php,v 2.17 2006/02/13 18:00:27 housley Exp $
That says the version is 2.17
Jim
|
|
|
 
|
 |
vt3fan4evr
Joined: 24 Feb 2006
Posts: 11
|
Posted: Fri Feb 24, 2006 10:04 pm |

|
Now that I am home and can look into the file with dreamweaver this is what it shows on line 10
// $Id: rss2html.php,v 2.14 2006/01/26 15:52:37 housley Exp $
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Fri Feb 24, 2006 10:14 pm |

|
Based on the version you posed that is the correct code and there isn't an error in what you posted. What version of PHP are you running?
Jim
|
|
|
 
|
 |
vt3fan4evr
Joined: 24 Feb 2006
Posts: 11
|
Posted: Fri Feb 24, 2006 10:47 pm |

|
quote]
What version of PHP are you running?
Jim[/quote]
My site is currently running php4 but I can also use php5 if I wanted to.
Just checking but here is line 25 to line 32 of the basic code to make sure I have it written right.
//$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";
$XMLfilename = "news.xml";
//
// If TEMPLATE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/BasicWebpage.html";
$TEMPLATEfilename = "BasicWebpage.html";
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Fri Feb 24, 2006 11:02 pm |

|
vt3fan4evr wrote: |
quote]
What version of PHP are you running?
Jim |
My site is currently running php4 but I can also use php5 if I wanted to.
Just checking but here is line 25 to line 32 of the basic code to make sure I have it written right.
//$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";
$XMLfilename = "news.xml";
//
// If TEMPLATE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/BasicWebpage.html";
$TEMPLATEfilename = "BasicWebpage.html";[/quote]
php4 is good. And yes your changes are right. You might want to try downloading again and re-uploading if you are still getting errors.
Jim
|
|
|
 
|
 |
vt3fan4evr
Joined: 24 Feb 2006
Posts: 11
|
Posted: Fri Feb 24, 2006 11:15 pm |

|
Ok removed and replaced all files now im getting this:Unable to open template , exiting
I just tried changing the code and its still doing it.
// Set the following variable useFopenURL to one if you want/need to use
// fopen() instead of CURL
$useFopenURL = 1;
//
// If XLMFILE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";
$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";
//
// If TEMPLATE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/rss/BasicWebpage.htm";
$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/rss/BasicWebpage.htm";
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Fri Feb 24, 2006 11:17 pm |

|
vt3fan4evr wrote: |
Ok removed and replaced all files now im getting this:Unable to open template , exiting
I just tried changing the code and its still doing it.
// Set the following variable useFopenURL to one if you want/need to use
// fopen() instead of CURL
$useFopenURL = 1;
//
// If XLMFILE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";
$XMLfilename = "http://fasttracksracing.netfirms.com/rss/news.xml";
//
// If TEMPLATE is passed as part of the REQUEST_URI, then it will be used
// otherwise the the file below is used.
//$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/rss/BasicWebpage.htm";
$TEMPLATEfilename = "http://fasttracksracing.netfirms.com/rss/BasicWebpage.htm"; |
Start with rss2html.php?buildURL, that will help build good URLs and debug errors
|
|
|
 
|
 |
vt3fan4evr
Joined: 24 Feb 2006
Posts: 11
|
Posted: Fri Feb 24, 2006 11:23 pm |

|
[/quote]
Start with rss2html.php?buildURL, that will help build good URLs and debug errors[/quote]
Told ya Im new to this but is there somewhere specific in the code i need to add that or is this another file?
|
|
|

|
 |
|