| Recommend this page to a friend! |
| Classes of Jonas J. | > | HTML SQL | > | Download .tar.gz .zip | > | > | > | |||||
|
|||||||||||||||||||||||||
| Author | ||
![]() |
|
Innovation award![]() Nominee: 1x | |||||||||||||||||||
| Groups | Freshmeat project | |||||||
| Trackback | Applications | Related links | ||||||
| Groups | ||
| HTML | HTML generation and processing | View top rated classes | |
| Text processing | Manipulating and validating text data | View top rated classes |
| Innovation Award | ||
![]() May 2006 Number 2 Prize: One subscription to the PHP Magazine |
Certain types of applications need to retrieve HTML pages and extract information from them to be processed for specific purposes. Often, parsing HTML pages to extract only the relevant information is not an easy task. On the other hand, most Web developers are very familiar with SQL and can use it to define what information they want from their database tables. This class provides a means to extract data from HTML pages using a query language very similar to SQL. It simplifies greatly the implementation of scripts that need to process data from HTML pages. Manuel Lemos |
| Freshmeat project | ||
| Project record: | htmlsql |
|---|---|
| Popularity score: | 22.02 |
| Vitality score: | 1.0 |
| User ratings | ||
| Ratings | ||||||||
|---|---|---|---|---|---|---|---|---|
| All time: | ||||||||
| Month: | ||||||||
| Trackback links | ||
| Link | Description |
|---|---|
| HTML SQL » Burak Kanmaz | 3-4 yildir ben bir web sayfasinin icerigini analiz edecek bir web sayfasi yapmayi hayal etmisimdir hep... |
| Navegar un pagina en HTML con querys en SQL. | HTML_SQL es el nombre de una clase en PHP que nos permite navagar una pagina en HTML, con querys hechos en SQL. La clase ha ganado el segundo lugar de los premios de innovación en PHPClasses. Esto es sin duda, un avance interesante. Se le podran dar habilidades extras a los frameworks MVC. Algunos ejemplos en el enlace. Saludos |
| Applications that use this class | ||
| Related links | ||
| Link | Description |
|---|---|
| A detailed htmlSQL description | A detailed htmlSQL description |
| htmlSQL live demo | Test the htmlSQL class... |
| File | Role | Description | ||
|---|---|---|---|---|
| Class | Contains the main htmlSQL class | |||
| Class | The famous snoopy class by Monte Ohrt - v1.01 | |||
| Doc. | English readme with description and todo list | |||
| Doc. | The same as the readme.txt just in german language | |||
| Files | / | |||
| File | Role | Description |
|---|---|---|
| |
Example | Example 1 - Shows a simple query |
| |
Example | Example 2 - Shows a simple query and the "href as url" usage |
| |
Example | Example 3 - Shows how to connect to a file and a simple query |
| |
Example | Examples 4 - Shows a advanced query with preg_match |
| |
Example | Example 5 - Shows a advanced query (with substr) |
| |
Example | Example 6 - Show how to connect to a string |
| |
Example | Example 7 - Shows a complex query |
| |
Example | Example 8 - Shows how to parse a RSS/XML file with htmlSQL |
| |
Example | Example 9 - Shows how to use the "select" function |
| |
Example | Example 10 - Shows how to use the "isolate_content" function |
| |
Example | Example 11 - Shows how to query a simple XML file |
| |
Example | Example 12 - Shows how to replace the user agent and the referer with custom values |
| |
Example | Demo HTML data (used for parsing examples) |
| |
Example | Example XML file (to test parsing) |
| |
Doc. | Some query examples for copy and paste |
| Download all files: htmlsql.tar.gz htmlsql.zip |