FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Memberlist ?????Register ?????Profile? ????Log in
?rss not displaying in my web page View next topic
View previous topic
Post new topicReply to topic
Author Message
vannquish



Joined: 18 May 2006
Posts: 5

PostPosted: Thu May 18, 2006 11:04 am Reply with quoteBack to top

Im having problems displaying the rss feeds within my webpage.

I changed to rss link to the one I want to display.

I created a table in the centre of my page (where I want the rss to appear).

But im not sure what Im supposed to do now.

can anyone help?
View user's profileSend private message
vannquish



Joined: 18 May 2006
Posts: 5

PostPosted: Thu May 18, 2006 12:09 pm Reply with quoteBack to top

Ive managed to get the RSS feed to display but I have another problem now.

I have set the target to = blank, so when someone clicks on a news item it will open up in a new page.

but the problem is when you click on a link it just opens up the rss page instead of the news story.

I have included my page so you can have a look.

thanks

http://www.midlandsfc.co.uk/rss2html.php
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 2394

PostPosted: Thu May 18, 2006 2:46 pm Reply with quoteBack to top

vannquish wrote:
Ive managed to get the RSS feed to display but I have another problem now.

I have set the target to = blank, so when someone clicks on a news item it will open up in a new page.

but the problem is when you click on a link it just opens up the rss page instead of the news story.

I have included my page so you can have a look.

thanks

http://www.midlandsfc.co.uk/rss2html.php


That is because in your template you have hard-coded the URL for the feed. You should be using ~~~ItemLink~~~ there.

Jim
View user's profileSend private messageVisit poster's website
vannquish



Joined: 18 May 2006
Posts: 5

PostPosted: Thu May 18, 2006 3:30 pm Reply with quoteBack to top

Im not to sure what you mean.

the code from that page is as follows

Code:


? ?
? ?
? ? ? ? ? ? ~~~BeginItemsRecord~~~
? ? ? ? ? ?
? ? ? ? ? ? ?
? ? ? ? ? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ? ?
? ? ? ? ? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ? ?
? ? ? ? ? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ? ~~~EndItemsRecord~~~
? ?
 
? ? ? ? ? ? ? ? ? ? ~~~ItemPubShortDate~~~ ~~~ItemPubShortTime~~~? ? ? ? ? ? ? ?
 
? ? ? ? ? ? ? ? ? ? ~~~ItemTitle~~~? ? ? ? ? ? ? ?
 
? ? ? ? ? ? ? ~~~ItemDescription~~~? ? ? ? ? ? ?
? ? ? ? ? ? ?

? ?



What do I need to change?

thanks for your help by the way :-)
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 2394

PostPosted: Thu May 18, 2006 3:38 pm Reply with quoteBack to top

vannquish wrote:
Im not to sure what you mean.

the code from that page is as follows



What do I need to change?

thanks for your help by the way :-)


In your template you have
Code:
~~~ItemTitle~~~


Which is saying that every item in your table has a link to the feed's XML. I think it really should be
Code:
~~~ItemTitle~~~


See if that works better.

Jim
View user's profileSend private messageVisit poster's website
vannquish



Joined: 18 May 2006
Posts: 5

PostPosted: Thu May 18, 2006 3:43 pm Reply with quoteBack to top

MacSupport wrote:
vannquish wrote:
Im not to sure what you mean.

the code from that page is as follows



What do I need to change?

thanks for your help by the way :-)


In your template you have
Code:
~~~ItemTitle~~~


Which is saying that every item in your table has a link to the feed's XML. I think it really should be
Code:
~~~ItemTitle~~~


See if that works better.

Jim


YOU ARE A STAR.

Works brilliant mate.

thanks for all your help.

one last question. can I have 2 different RSS feeds on one page.
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 2394

PostPosted: Thu May 18, 2006 3:46 pm Reply with quoteBack to top

vannquish wrote:


YOU ARE A STAR.

Works brilliant mate.

thanks for all your help.

one last question. can I have 2 different RSS feeds on one page.[/quote]

Yes. You just include it twice, once for each feed. If you edited rss2html.php to put the feed's URL in there you can do the same make a second copy. Or you can use rss2html.php?XMLFILE=http://www.server.com/feed.xml&TEMPLATE=template.html . The safest way to make sure the URL is correct is to use rss2html.php?buildURL

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