neochronomo
01-28-2010, 09:07 AM
I'm trying to make a script for Windows Plus! Live that will grab text from a webpage, parse it for text between a specific <div> tag, and then send that text to a user through an instant message.
I know many of you may not be familiar with WP!L, but you can forget about the instant message part I think. The only thing that matters is grabbing text using ajax and parsing it. I can figure out the rest.
Here's an example website (http://macgyver89.webs.com/ajax_test.html). "1. test111" is between <div id="1"></div>, and so on.
In case you're still confused, here's a link to a WP!L script (http://www.msghelp.net/showthread.php?tid=73808&pid=810875#pid810875) that grabs text from a webpage using ajax, and then displays that text in your personal message.
EDIT: Forgot to mention this. WP!L only uses javascript and jscript. Other people have told me it's easier with PHP, but unfortunately I can't use it for this project.
I know many of you may not be familiar with WP!L, but you can forget about the instant message part I think. The only thing that matters is grabbing text using ajax and parsing it. I can figure out the rest.
Here's an example website (http://macgyver89.webs.com/ajax_test.html). "1. test111" is between <div id="1"></div>, and so on.
In case you're still confused, here's a link to a WP!L script (http://www.msghelp.net/showthread.php?tid=73808&pid=810875#pid810875) that grabs text from a webpage using ajax, and then displays that text in your personal message.
EDIT: Forgot to mention this. WP!L only uses javascript and jscript. Other people have told me it's easier with PHP, but unfortunately I can't use it for this project.