RSS News
ondrovic
Posts: 217
Have been working on this RSS News feature to pull the top stories from a website.
I am having an issue and was wondering if any one could help out? Once you have gotten the articles from the rss feed, i have grabbed the link to the full article in an array, I was wanting to be able when you select the story it pop's up with the picture ( working ) and the goes out and gets the full article from the site. Is there a way to open up multiple connections to a website? I keep getting an error saying " Local Port 8 unsupported ". Thanks for the help.
Chris Ondrovic
I am having an issue and was wondering if any one could help out? Once you have gotten the articles from the rss feed, i have grabbed the link to the full article in an array, I was wanting to be able when you select the story it pop's up with the picture ( working ) and the goes out and gets the full article from the site. Is there a way to open up multiple connections to a website? I keep getting an error saying " Local Port 8 unsupported ". Thanks for the help.
Chris Ondrovic
0
Comments
never used RSS News, but im guessing you should create device on port 8
DEFINE_DEVICE
dvLocalPort8 = 0:8:0
Hmm, that's odd.
I beleive most web page data sesssions are pretty short. You basically make a connection, request something, get the 'something' back and then the session is terminated. For a lot of web pages (like msn.com, cnn.com or whatnot where the whole thing is a giant style sheet populated from a relational database with a bunch of minions typing in content 24/7) a single web page may be built from a whole bunch of IP sessions. that's why you see web pages seem to build themselves on your screen in chunks.
The easy way to deal with this in Netlinx is to do your data processing in the OFFLINE: part of the data event. That way your Netlinx master doesn't outrun the communication flow coming from the web server. That's basically what a web browser does anyway.
All that being said, you should be able to do all your communication with a web server from one port.
Hope that helps.
Edited to add: Sorry Dave, I see you must have been typing at the same time I was. I didn't mean to repeat yoru post... :oops
Thanks
LMAO............