I own xmxp.com website. Is there any way can VB program running on Desktop get data from xmxp.com doing some functions based on the data got from website? Please help.
Printable View
I own xmxp.com website. Is there any way can VB program running on Desktop get data from xmxp.com doing some functions based on the data got from website? Please help.
What stuff do you want to get?
Search this forum for something like "download file website"
OK, what I need is to write vb client that get what song is playing on every channel from xmxp.com once every minute, based on the now playing list from xmxp.com to compare user favorite song setting, if any matches, the vb client will popup an alert for the user that his favorite song is playing on which channel now. Is it doable with VB or not, please help.
Which page shows every song playing ?
Also, why not just use this
http://www.xmxp.com/viewtopic.php?p=1180
the page http://www.xmxp.com/guide_now.php is showing what is playing now.
The song alert I have now requires users constantly browser forums. it is not user friendly features.
You can parse the website source with the WebBrowser component (MS Internet Controls). It's no problem to get any info from that page. What exactly do you want to display, and when? :)
After I got all playing list for all channels, II want to compare to user favorite song setting, if any match, an alert is popup telling users that their favorite song is palying on which channel now.
Program need to run every minute to monitor playing list.
How to do it in VB?
If you want to do it yourself, search for the Inet control and learn how to parse html.
If you want someone to do it for you, you should post in the Jobs forum. Since its seems like you work for that website, you will more than likely offer this to your subscribers, so you should pay someone to make it.
I have developed an app like this, but only much more sophisticated!! You could run into problems using the inet control, such as not all the data deing dowloaded from the site. A better way would be to use the winsock control and create your own parser. Parsing is not that difficult, as all href type tags are identifed by 'src=' and 'href='. Also using the web browser control is ugh!!
Polling every minute would create an unneccessary amount of traffic on the site. After a connection has been establised with the server, the server could then periodically update the clients. This I would imagine would be better than the clients polling the server...