FeedForAll Forum Index ?
?FAQ????? Search ?????Memberlist ?????Register ?????Profile? ????Log in
?How to use SSI within a webpage to call the rss2html.php View next topic
View previous topic
Post new topicReply to topic
Author Message
Perry



Joined: 18 Mar 2005
Posts: 1
Location: Minnesota

PostPosted: Fri Mar 18, 2005 1:16 am Reply with quoteBack to top

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.
View user's profileSend private messageVisit poster's website
Tech Support



Joined: 27 Aug 2004
Posts: 599

PostPosted: Fri Mar 18, 2005 11:59 am Reply with quoteBack to top

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
View user's profileSend private message
AndyField



Joined: 20 Mar 2005
Posts: 1

PostPosted: Sun Mar 20, 2005 1:02 pm Reply with quoteBack to top

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
View user's profileSend private message
chase



Joined: 29 Apr 2005
Posts: 4

PostPosted: Sun May 01, 2005 1:26 am Reply with quoteBack to top

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?
View user's profileSend private message
Tech Support



Joined: 27 Aug 2004
Posts: 599

PostPosted: Sun May 01, 2005 2:10 pm Reply with quoteBack to top

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
View user's profileSend private message
chase



Joined: 29 Apr 2005
Posts: 4

PostPosted: Sun May 01, 2005 4:51 pm Reply with quoteBack to top

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?
View user's profileSend private message
Guest






PostPosted: Mon May 02, 2005 1:59 am Reply with quoteBack to top

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~~~



~~~EndItemsRecord~~~



~~~ItemPubShortDate~~~

~~~ItemTitle~~~

~~~ItemDescription~~~



more info






I have unsuccessfully tried lines like:


any suggestions on lines to use and where to place?
Tech Support



Joined: 27 Aug 2004
Posts: 599

PostPosted: Mon May 02, 2005 12:07 pm Reply with quoteBack to top

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
View user's profileSend private message
chase



Joined: 29 Apr 2005
Posts: 4

PostPosted: Mon May 02, 2005 2:11 pm Reply with quoteBack to top

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?
View user's profileSend private message
Tech Support



Joined: 27 Aug 2004
Posts: 599

PostPosted: Mon May 02, 2005 2:18 pm Reply with quoteBack to top

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
View user's profileSend private message
Display posts from previous:?? ? ?
Post new topicReply to topic


?Jump to:? ?



View next topic
View previous topic


Powered by phpBB ? 2001, 2002 phpBB Group :: FI Theme