vb.net - How to show rss feed from other source on my page? -
hi collecting lot of information different websites , putting them personal use.
there rss feed link.
http://picasaweb.google.com/data/feed/base/all?alt=rss&kind=photo&access=public&filter=1&q=waldorf+hilton&hl=en_us
how can use it? in case of html take them , assign them literals .but how can display .
here code..
dim rssfeed httpwebrequest = directcast(webrequest.create("http://picasaweb.google.com/data/feed/base/all?alt=rss&kind=photo&access=public&filter=1&q=waldorf+hilton&hl=en_us"), httpwebrequest) dim rssdata dataset = new dataset() rssdata.readxml(rssfeed.getresponse().getresponsestream()) dim title, description string dim channelitems object() = rssdata.tables(2).rows(0).itemarray dim titlecolumn integer = rssdata.tables(2).columns("title").ordinal dim descriptioncolumn integer = rssdata.tables(1).columns("description").ordinal title = channelitems.getvalue(titlecolumn).tostring() description = channelitems.getvalue(descriptioncolumn).tostring() repeater1.datasource = rssdata.tables(2) repeater1.databind()
thank you
are trying on web page or inside vb.net application?
for webpage: parse rss jquery
for vb.net, here's 1 solution: http://www.go4expert.com/forums/showthread.php?t=4577
Comments
Post a Comment