 |
? |
Author |
Message |
broskiedesign
Joined: 03 Jan 2007
Posts: 15
Location: California
|
Posted: Wed Jan 03, 2007 11:29 pm |

|
I'm currently trying to put a rss feed into an already designed webpage by putting the feed into a table. However i keep getting this error when the website is launched.
the error that is displayed in the table where the rss feed should be displayed is this:
"Configuration setting prohibit using the specified template file, exiting"
The website is here (where the error can be viewed): www.broskiefoundation.org/postgame_pub_sample.com
Username is "sportsfan" and the password is "nfl" to view the page. Please note the page is still incomplete. But the code can be found by check that page out.
My template code is this:
~~~BeginItemsRecord~~~
|
~~~ItemPubShortDate~~~
~~~ItemTitle~~~
~~~ItemDescription~~~
more info
|
~~~EndItemsRecord~~~
I'm pretty sure i could be missing some code there, amongst other things. i'm quite the newb to RSS. Thanks in Advance.
|
|
|

|
 |
broskiedesign
Joined: 03 Jan 2007
Posts: 15
Location: California
|
Posted: Wed Jan 03, 2007 11:30 pm |

|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Thu Jan 04, 2007 6:11 am |

|
broskiedesign wrote: |
I'm currently trying to put a rss feed into an already designed webpage by putting the feed into a table. However i keep getting this error when the website is launched.
the error that is displayed in the table where the rss feed should be displayed is this:
"Configuration setting prohibit using the specified template file, exiting"
The website is here (where the error can be viewed): www.broskiefoundation.org/postgame_pub_sample.com
Username is "sportsfan" and the password is "nfl" to view the page. Please note the page is still incomplete. But the code can be found by check that page out.
My template code is this:
~~~BeginItemsRecord~~~
|
~~~ItemPubShortDate~~~
~~~ItemTitle~~~
~~~ItemDescription~~~
more info
|
~~~EndItemsRecord~~~
I'm pretty sure i could be missing some code there, amongst other things. i'm quite the newb to RSS. Thanks in Advance. |
Near the top of the rss2html.php script is a section that starts with " File access level:" Which describes 3 variables: $fileAccessLevel, $allowedTemplateExtensions and $allowedFeedExtensions. My guess is that the $allowedTemplateExtensions is causing your hangup.
Jim
|
_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/
FeedForAll Mac and rss2html.php
|
|

|
 |
broskiedesign
Joined: 03 Jan 2007
Posts: 15
Location: California
|
Posted: Thu Jan 04, 2007 1:54 pm |

|
thanks for the suggestion. I noticed that i had named my template with a .txt extension which isn't allowed. However, I changed it to .html which is in the allowed list but i'm still getting the same exact error.
|
|
|

|
 |
broskiedesign
Joined: 03 Jan 2007
Posts: 15
Location: California
|
Posted: Thu Jan 04, 2007 1:58 pm |

|
I also noticed that I had included the wrong file location for the template in the rss2html.php file, however, i've changed that to the correct one and i'm still recieving the same error.
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Thu Jan 04, 2007 2:04 pm |

|
broskiedesign wrote: |
I also noticed that I had included the wrong file location for the template in the rss2html.php file, however, i've changed that to the correct one and i'm still recieving the same error. |
What is the URL for you feed and template?
Jim
|
_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/
FeedForAll Mac and rss2html.php
|
|

|
 |
broskiedesign
Joined: 03 Jan 2007
Posts: 15
Location: California
|
Posted: Thu Jan 04, 2007 2:09 pm |

|
I hope that helps. Thanks again.
|
|
|

|
 |
broskiedesign
Joined: 03 Jan 2007
Posts: 15
Location: California
|
Posted: Thu Jan 04, 2007 2:15 pm |

|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Thu Jan 04, 2007 2:16 pm |

|
That URL requires a username and password. rss2html.php can't provide that. But, all is not lost. Open the file locally:
Don't know if the real file had the problems, but what you posted had spaces in the URL.
Jim
|
_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/
FeedForAll Mac and rss2html.php
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Thu Jan 04, 2007 2:17 pm |

|
As the current docs state, the best place to start is with rss2html.php?buildURL
|
_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/
FeedForAll Mac and rss2html.php
|
|

|
 |
broskiedesign
Joined: 03 Jan 2007
Posts: 15
Location: California
|
Posted: Thu Jan 04, 2007 2:25 pm |

|
Ok, i changed it to open it locally, and removed any extra spaces. I also removed my password protection on the website to remove any issues that might still be related to that.
now i'm getting this error:
Unable to open template shizzy.html , exiting
I feel like i'm going in cirlces.
|
|
|

|
 |
broskiedesign
Joined: 03 Jan 2007
Posts: 15
Location: California
|
Posted: Thu Jan 04, 2007 2:29 pm |

|
Ok cancel that last error, I got the feed to load :)
but now it is pushing all my info in the neighboring cell down to the next line and totally messing up the format of my page. Could this be a problem in the template coding?
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Thu Jan 04, 2007 2:29 pm |

|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Thu Jan 04, 2007 2:32 pm |

|
broskiedesign wrote: |
Ok cancel that last error, I got the feed to load :)
but now it is pushing all my info in the neighboring cell down to the next line and totally messing up the format of my page. Could this be a problem in the template coding? |
Most likely. Look at the HTML of the produced page and you should be able to find your error.
Jim
|
_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/
FeedForAll Mac and rss2html.php
|
|

|
 |
broskiedesign
Joined: 03 Jan 2007
Posts: 15
Location: California
|
Posted: Thu Jan 04, 2007 2:38 pm |

|
Thank you! I fixed the error, it was the extra | tag I had in my template file. Causing the page to create a whole new table after the feed. Thank you so much for your help!! I can't say how stoked I am that i now have this feed working. Thanks sooooo much!
|
|