PHP Classes
Icontem

Class: Microformats Parser


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ve Bailovity  >  Microformats Parser  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Microformats Parser Support forum
Base name: microformatsparser
Description: Extract microformat data embedded in HTML
Related top rated classes: , , ,
Version: 1.1
Required PHP version: 4.3
License: BSD License
All time users: 1127 users
All time rank: 2330
Week users: 4 users
Week rank: 1820
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Dependencies   Trackback   Applications   Related links   Files Files  

Author

Picture of Ve Bailovity
Name: Ve Bailovity <e-mail contact>
Published packages: 5 Browse this author's classes Browse this author's classes
Country: Serbia and Montenegro Serbia and Montenegro - PHP jobs in Serbia and Montenegro
Home page: http://malatestapunk-stuff.blogspot.com/
Age: 29
All time rank: 470
Week rank: 379

Innovation Award

PHP Programming Innovation award nominee
December 2006
Number 6
The promises of the semantic Web, that uses additional XML embedded in normal HTML documents, were not yet fulfilled.

Apparently that was due to the lack of motivation of Web site developers to add information to documents that does not bring any direct benefits.

Microformats seem to be yet another attempt to motivate Web developers to add semantic information to their Web pages. Instead of having to include additional tags, microformats define conventions to embed semantic information in regular XHTML page content.

This class is capable of parsing and extracting pages with several kinds of microformats. With this class, PHP applications can process the semantic information embedded in the pages and use it easily to create new kinds of Web applications.

Manuel Lemos

Groups

Group folder image HTML HTML generation and processing View top rated classes

Detailed description

This package can be used to parse and extract microformat data that may be embedded in HTML documents.

The main class parses HTML documents with the PHP DOM-XML extension. This class builds a document structure and passes specific document node object to separate classes specialized in parsing and extracting different types of microformat data.

Currently there are parser classes for extracting data of the microformats: hCalendar, hCard, hReview and relElement.

The extracted data is returned as array objects of the xArray class.

User ratings

There are not enough user ratings to display for this class.

Packages needed by this class

Class Dependency Why it is needed
xArray
Required
Used to 1) accomplish property-based filtering of DOM nodes; 2) facilitate further resulting data manipulation; 3) make the code much more readable

Trackback links

Link Description
PHP Microformat Parser There’s a lot of focus on full-blown web services and complete XML documents...

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
10 Dos and Don'ts When Using Microformats Parser Some of the most common problems - and some of the best practices to circumvent them
microformats parser An article on parser requirements and usage.

Files

File Role Description
Files folder image doc
  Accessible without login HTML file classh_calendar.html Doc. documentation
  Accessible without login HTML file classh_card.html Doc. documentation
  Accessible without login HTML file classh_review.html Doc. documentation
  Accessible without login HTML file classrel_element.html Doc. documentation
  Accessible without login HTML file class_micro_format_parser.html Doc. Main library class documentation
  Accessible without login Plain text file README Doc. Read this first
Accessible without login Plain text file index.php Example Example usage
Files folder image lib
  Plain text file hCalendar.php Class Class file
  Plain text file hCard.php Class Class file
  Plain text file hReview.php Class Class file
  Plain text file MicroFormatParser.php Class Main class file
  Plain text file relElement.php Class Class file
Accessible without login HTML file testpage.html Data HTML to be parsed by the example script
Download all files: microformatsparser.tar.gz microformatsparser.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2010 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products