HTML Parser for PHP

Category: PHP - Development Tools

This is an open source HTML parser written in PHP. This parser also comes with a tool that converts HTML to text, as an example. This parser is designed for speed and flexibility. It does not create an object model for you. But it doesn't prevent you from using its results to create an object model if you need to. It is not based on callbacks (like a SAX parser) but instead you ask for the next element or node in the document as needed. It is an object oriented PHP based HTML parser. The HtmlParser class allows you to interate through HTML nodes and get their attributes, names and values. It also comes with an example class for converting HTML to formatted ASCII text. Date: 02 May, 2012


Html Parser - Parser Script - Parser Utility - Html - Parser - Utility

Homepage: http://sourceforge.net

Developer: SourceForge.net

License: Artistic License, GNU General Public License (GPL)

Operating System: Windows, Linux, Mac OS, BSD, Solaris

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Recruiting Parser is a free BBcode parser.

developer Developer: bbcparser.recgr.com
license License: Freeware
operating systems Operating System: All


PHP HTML parser allows you to to parse HTML from php scripts.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


HTML Scraper is a simple HTML 'parser' that will 'read' through an HTML file and call functions on data and tags etc.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


This script shows: how to derive a class from NullWriter that accumulates text from the body of an HTML page, how to derive a class from HTMLParser that retains metatag information, how to instantiate these classes and display a typical result of using them.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


MSHTML is the COM component used by Internet Explorer to parse HTML pages (since version 4 of IE).

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


Python's struct library is too low-level for direct usage.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


Given YACC-like and LEX-like input files, yagg generates a C program that generates all strings of a user-specified length.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


ippfp is an easy-to-use library which provides oo-methods for creating and rendering user interfaces in PHP independently from output format.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


Another PHP Extension is a PHP-driven Template Abstraction Layer.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris