The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 16, 2019, 11:19:56 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: htmlSQL class  (Read 1757 times)
ratthing
Journeyman
***
Offline Offline

Posts: 75


View Profile
« on: December 06, 2007, 01:14:59 PM »

Reading through the threads, I saw mention of the Snoopy class.  I went and G'd it to see if I could find some usage examples and stumbled on this: h++p://www.jonasjohn.de/lab/htmlsql.htm
Quote
htmlSQL is a experimental PHP class which allows you to access HTML values by an SQL like syntax. This means that you don't have to write complex functions (regular expressions) to extract specific values.

He's got a little demo up there.  Looks like this could ease scraping a lot assuming it's not buggy.

=RT=
Logged
DangerMouse
Expert
****
Offline Offline

Posts: 244



View Profile
« Reply #1 on: December 06, 2007, 04:42:17 PM »

I've been using this for a while, its pretty good although it is slightly bloated imo. Think I'm going to ditch it in favour of dom walking in future however.

DM
Logged
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!