SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: RSS Stream

  1. #1
    SitePoint Member
    Join Date
    Apr 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    RSS Stream

    Hi I have an RSS stream script that selects 3 nodes - Title, Link and Description (pretty standard). The RSS source also has an image but does not show and I tried using the same code that selects the other nodes but with ("image") and it doesnt work. How do i get the image to show ??? cant find anything relevant in search engines.

  2. #2
    SitePoint Member
    Join Date
    Apr 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This one works:
    Code VBNET:
    rssDetail = rssItems.Item(i).SelectSingleNode("link")
    If rssDetail.Equals(Nothing) = False Then
       link = rssDetail.InnerText
    Else
       link = ""
    End If

    This doesnt run at all...
    Code VBNET:
    rssDetail = rssItems.Item(i).SelectSingleNode("image")
    If rssDetail.Equals(Nothing) = False Then
       image = rssDetail.InnerText
    Else
       image = ""
    End If


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •