Welcome Guest ( Log In | Register )

Discover the best free computer help!
Learn more about Geeks to Go by taking the tour. Spyware, virus, trojan, fake security or privacy alerts? Read the malware cleaning guide.
      
 
Reply to this topicStart new topic
Using ASP to display RSS
Jim Bell
post Jun 18 2007, 11:29 AM
Post #1


Member
**
Posts: 16
OS: Windows XP Pro SP2



I wonder if any of you guys can help me with this one. I am currently using Bytescout.com RSS2HTML.ASP for ASP version 1.23 to display RSS feeds on my website. I just wondered if any of you knew how to get the main feed title and link of the RSS feed to display at the top of the news items.

Many thanks in advance
Go to the top of the page
 
+Quote Post
Major Payne
post Jun 18 2007, 07:48 PM
Post #2


Trusted Techie
Group Icon
Posts: 4,451
From: FEMA took "Tin Can" away!
OS: Win XP/Vista Home Premium. Backup PC: Commodore 64 with 300 baud modem!



Something in this way?

RSS Feeds

Ron
Go to the top of the page
 
+Quote Post
Jim Bell
post Jun 19 2007, 12:51 AM
Post #3


Member
**
Posts: 16
OS: Windows XP Pro SP2



Yeah - but just something similar to the bit in blue. I have the code to display the individual news items (the code of which can be viewed in the link to the Bytescout link I sent in my first post), but I would like to add onto this code the ability to add the RSS feed title automatically from the feed (eg. BBC News | World | UK Edition), using ASP.

Thanks.

This post has been edited by Jim Bell: Jun 19 2007, 12:52 AM
Go to the top of the page
 
+Quote Post
Major Payne
post Jun 19 2007, 01:41 AM
Post #4


Trusted Techie
Group Icon
Posts: 4,451
From: FEMA took "Tin Can" away!
OS: Win XP/Vista Home Premium. Backup PC: Commodore 64 with 300 baud modem!



Basically for each feed I have this:

<script type="text/javascript">
xjrf_title = 'Giveaway of the Day!';
xjrf_show_content = true;
xjrf_items = 5;
xjrf_open_target = '_blank';
xjrf_use_css_only = true;
com.bigllc.xjr.feeds.showFeed('http://www.giveawayoftheday.com/feed/');
</script>

That's for the Giveaway of the Day feed. But then I'm using a different feed method. maybe try reordering these to get title at top:

if J<MaxNumberOfItems then
ItemContent = Replace(ItemTemplate,"{LINK}",RSSlink)
ItemContent = Replace(ItemContent,"{TITLE}",RSSTitle)
ItemContent = Replace(ItemContent,"{DATE}",RSSDate)
ItemContent = Replace(ItemContent,"{COMMENTSLINK}",RSSCommentsLink)
ItemContent = Replace(ItemContent,"{CATEGORY}",RSSCategory)

Just a guess as I haven't tried this.

Ron
Go to the top of the page
 
+Quote Post
Jim Bell
post Jun 21 2007, 09:31 AM
Post #5


Member
**
Posts: 16
OS: Windows XP Pro SP2



Alterering the code like that jsu displayed the feeds the same. I am trying to do this sort of thing. At the moment the Bytescout code offers this:

Item Title
Item Description.....
.............................
Item Title
Item Description.....
.............................
Item Title
Item Description.....
.............................

And so on throught the RSS feed, with feed I want to add code to the bytescout code to let me do this:

Feed Title


Item Title
Item Description.....
.............................
Item Title
Item Description.....
.............................
Item Title
Item Description.....
.............................


Collecting the feed title from the RSS feed itself.

Thanks
Go to the top of the page
 
+Quote Post
Major Payne
post Jul 2 2007, 03:00 PM
Post #6


Trusted Techie
Group Icon
Posts: 4,451
From: FEMA took "Tin Can" away!
OS: Win XP/Vista Home Premium. Backup PC: Commodore 64 with 300 baud modem!



Hi:

Did you get this solved yet? Will ask for help to other techs if not.

Ron
Go to the top of the page
 
+Quote Post
Jim Bell
post Jul 3 2007, 03:01 AM
Post #7


Member
**
Posts: 16
OS: Windows XP Pro SP2



No I didnt, that would be great.

Thanks a lot for all your help
Go to the top of the page
 
+Quote Post
Major Payne
post Jul 3 2007, 10:50 AM
Post #8


Trusted Techie
Group Icon
Posts: 4,451
From: FEMA took "Tin Can" away!
OS: Win XP/Vista Home Premium. Backup PC: Commodore 64 with 300 baud modem!



Have posted in tech forum for help for you. Hang in there.

Ron
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies / Views Topic Information
No New Posts   5 / 318 8th February 2008 - 01:38 PM
stearmandriver started - last by Ax238
No New Posts   4 / 860 13th May 2008 - 08:12 PM
Ztruker started - last by Ztruker
No New Posts   3 / 603 31st May 2008 - 10:36 AM
freik started - last by Ax238
No New Posts   0 / 120 2nd July 2008 - 11:34 AM
piggyprobe started - last by piggyprobe

RSS Time is now: 21st November 2008 - 12:48 PM
Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk.