Basic RSS reader (at this stage)
Reads and displays RSS data from an RSS feed URL you paste into the URL field
Lists items contained in the RSS feed in a URL clickable listbox.
Main Front Panel:
Main Block Diagram:
What is this example exactly supposed to do?
I put in this link:
http://feeds.bbci.co.uk/news/rss.xml?edition=int
But I am not able to read any RSS data in this.
Prashant,
I used your BBC rss url and it worked fine for me. The example doesn't actually parse down to the story headlines. It just takes the rss url and returns the basic information (title and description) of that subscription. It appears that this VI was coded just to get that information and not the actual rss headlines like other rss readers do.
You extracted an image from a website!? Sweet! I was asked by a collegue once how to do that... it seemed like it should be simple, but I had no idea how to actually do it. Thanks.
Yeah, I wanted to do more but it was after midnight on Sunday (in Australia) and I needed some sleep.
At that stage there was barely any entries and I felt sorry for the competition organisers so I whipped something up.
I did plan to make it parse a whole heap more stuff if I got through but it looks like there are much better entries now.
Plus I'm up against tst, I never expected to be able to beat him anyway.
@Michael, thanks, but I can't take credit for that. I borrowed that code from here.
While I'm at it, I also borrowed the awesome gif rendering code from here thanks to MikeS81.
The forums are an excellent resource!
@Prashant
I entered the RSS link you attached, clicked run, and it downloaded the Channel title and description (doesn't seem to be a channel image).
I haven't made it parse all the items yet. I guess it doesn't really do much at this stage.
Because this is an "example code" challenge I thought i'd keep it simple.
When I'm trying to work out how to do something I like simple examples that don't do too much more than demonstrate the concept.
All the other coders in this competition have left me for dead though.
OK, I had a few minutes during my lunch time to add code to list the items in the RSS feed.
I agree, it is probably an important part of an RSS reader.
Next you'll tell me you want the item list to be working links! Maybe during lunch tomorrow.
OK, as requested (sort of) it now has a list of items that are clickable links like URLs on a web page.