Using ASP to display RSS |
![]() ![]() |
Using ASP to display RSS |
Jun 18 2007, 11:29 AM
Post
#1
|
|
|
Member ![]() ![]() Posts: 16 OS: Windows XP Pro SP2 |
Many thanks in advance |
|
|
Jun 18 2007, 07:48 PM
Post
#2
|
|
![]() Trusted Techie Posts: 4,451 From: FEMA took "Tin Can" away! OS: Win XP/Vista Home Premium. Backup PC: Commodore 64 with 300 baud modem! |
|
|
|
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 |
|
|
Jun 19 2007, 01:41 AM
Post
#4
|
|
![]() Trusted Techie 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 |
|
|
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 |
|
|
Jul 2 2007, 03:00 PM
Post
#6
|
|
![]() Trusted Techie 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 |
|
|
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 |
|
|
Jul 3 2007, 10:50 AM
Post
#8
|
|
![]() Trusted Techie 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 |
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
5 / 318 | 8th February 2008 - 01:38 PM stearmandriver started - last by Ax238 |
|||||
![]() |
4 / 860 | 13th May 2008 - 08:12 PM Ztruker started - last by Ztruker |
|||||
![]() |
3 / 603 | 31st May 2008 - 10:36 AM freik started - last by Ax238 |
|||||
![]() |
0 / 120 | 2nd July 2008 - 11:34 AM piggyprobe started - last by piggyprobe |
|||||
|
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. |