View Single Post
Old 07/06/2009, 07:18 PM   #116 (permalink)
SirataXero
Member
 
SirataXero's Avatar
 
Join Date: Nov 2007
Location: Rhode Island, USA
Posts: 1,739
Likes Received: 15
Thanks: 381
Thanked 398 Times in 217 Posts
Default

Quote:
Originally Posted by Blubble View Post
Yes. You would look for a pattern that you could match in the HTML source of the page.

Another option would be to parse the DOM of a results page. If you can figure out exactly where a piece of data will show up in the DOM structure of a webpage, you can just do a getElementById (if it has a valid ID) and pull the value of the element. You can also just get to an element via it's DOM hierarchy.
Hey Blubble, thanks for all your help! I'm just about to start looking into DOMs and HTML scraping. I looked up scraping a little bit and seems to be exactly what I need! I guess knowing HTML/Java Definitely would have helped a lot before jumping right in. lol. Personally, I find it more fun to figure out exactly what I need and ask the forums for questions about things I don't know.

Thanks!

Quote:
Originally Posted by ken@weboshelp.net View Post
Thanks for the feedback!

We're definitely looking into doing this. However, we may end up having to rewrite a lot of it to avoid "distributing" or "reproducing" Palm-owned materials. I'll keep you guys updated.
Hey Ken, I figured there might be some problems with that, but I'm sure you guys can figure it out. I really hope you're able to keep a well organized library of all the functions, that would help a LOT. Good luck!
SirataXero is offline   Reply With Quote