htmlSQL - a PHP class to query the web by an SQL like language
Published by Jon Pape November 11th, 2007 in Technology, Web Development.a PHP class to query the web by an SQL like language
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. The htmlSQL queries look like this:
This query returns an array with all links that contain the attribute class=”list”.
All web transfers in htmlSQL are using the awesome Snoopy class (package version 1.2.3) But for file or string queries Snoopy is not required. You find all Snoopy related documents (copyright, readme, etc) in the snoopy_data/ folder.
jonasjohn.de: htmlSQL - a PHP class to query the web by an SQL like language
Blogged with Flock
Tags: htmlSQL
Popularity: 14% [?]










