Author |
Message |
Perry
Joined: 18 Mar 2005
Posts: 1
Location: Minnesota
|
Posted: Fri Mar 18, 2005 1:16 am |

|
I have a shtml webpage I would like to insert a table into that would list the rssfeeds. How do I use server side inclusions within that webpage to call the rss2html.php script, to insert a table (or similar structure), with the feed inside it.
I already have the script working from the page on a link bases, but I want it to display automatically when the page is pulled up.
Thanks Perry
|
_________________
Your only one thought away from realizing your dreams.
|
|
 
|
 |
Tech Support
Joined: 27 Aug 2004
Posts: 599
|
Posted: Fri Mar 18, 2005 11:59 am |

|
The syntax in the webpage will be something like this:
The above should all be on a single line (no carriage returns or line feeds)
Hope this helps
|
_________________
FeedForAll Support
|
|

|
 |
AndyField
Joined: 20 Mar 2005
Posts: 1
|
Posted: Sun Mar 20, 2005 1:02 pm |

|
Just to say I got this working on my site - but instead of putting
* do not include the '<' and '>' characters
* The above is all on one line without any carriage-returns
5. Done!
|
_________________
FeedForAll Support
|
|

|
 |
chase
Joined: 29 Apr 2005
Posts: 4
|
Posted: Sun May 01, 2005 1:26 am |

|
I tried that and got the following error message:
[an error occurred while processing this directive]
is it possible I have a permissions problem? what are the permissions supposed to be set at for these files?
My test site for learning this is:
http://www.badbreathsite.info
Here's my include statement:
again, I took the suggestion and used the template file unchanged and created index.shtml to include only the above include statement.
Any suggestions?
|
|
|

|
 |
Tech Support
Joined: 27 Aug 2004
Posts: 599
|
Posted: Sun May 01, 2005 2:10 pm |

|
I think I see the problem. The 'virtual' path needs to be relative to your server (can't begin with http://).
Try this:
or
|
_________________
FeedForAll Support
|
|

|
 |
chase
Joined: 29 Apr 2005
Posts: 4
|
Posted: Sun May 01, 2005 4:51 pm |

|
That was it - your first suggestion immediately worked for me.
Thanks very much for your help! Much appreciated! :-)
Now, I'll try testing including the rss feed as part of an already existing web page.
Sorry for the basic questions here but when trying to integrate feed into an existing web page (rather than having a whole page of feed):
-does the call change significantly?
-do you drop the reference to the template?
-does it matter where you place that call in your web page?
|
|
|

|
 |
Guest
|
Posted: Mon May 02, 2005 1:59 am |

|
Actually going through the documentation again has helped me get feed showing within an already existing page.
But I have one perhaps painfully obvious question. No matter what I try, I can't seem to be able to affect the font size or font type of the feed.
For the purposes of my test, I am using the suggested table insert template below:
~~~BeginItemsRecord~~~
~~~ItemPubShortDate~~~
~~~ItemTitle~~~
~~~ItemDescription~~~
more info
|
~~~EndItemsRecord~~~
I have unsuccessfully tried lines like:
any suggestions on lines to use and where to place?
|
|
|
|
 |
Tech Support
Joined: 27 Aug 2004
Posts: 599
|
Posted: Mon May 02, 2005 12:07 pm |

|
I tested that template in both Firefox and IE, and it appears to work fine in both. Perhaps you are having a caching problem where the new page isn't being displayed each time you refresh the webpage. Try clearing out your browser's cache.
|
_________________
FeedForAll Support
|
|

|
 |
chase
Joined: 29 Apr 2005
Posts: 4
|
Posted: Mon May 02, 2005 2:11 pm |

|
Just to be clear, are you saying I don't need to add a line to either the template or within the webpage prior to the INCLUDE statement in order to affect the font size & type?
|
|
|

|
 |
Tech Support
Joined: 27 Aug 2004
Posts: 599
|
Posted: Mon May 02, 2005 2:18 pm |

|
You don't need anything before the INCLUDE statement. You can just add font tags in the template like you did for the ~~~ItemPubShortDate~~~, like in the tamplate you posted.
|
_________________
FeedForAll Support
|
|

|
 |
|