PHP Classes

UL to PHP array: Parse HTML lists to extract contained structure

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 504 This week: 1All time: 5,791 This week: 560Up
Version License PHP version Categories
ul-array 1.0GNU Lesser Genera...5.0HTML, XML
Description 

Author

This class can be used to parse HTML lists to extract contained structure.

It can take a string with well-formed HTML UL lists tags and extracted the contained list elements structure. It supports nested lists.

The class returns an array of items elements.

Picture of Ovidiu Lesei
Name: Ovidiu Lesei is available for providing paid consulting. Contact Ovidiu Lesei .
Classes: 5 packages by
Country: Romania Romania
Age: 41
All time rank: 132635 in Romania Romania
Week rank: 411 Up12 in Romania Romania Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file class_ul.php Class Main class
Accessible without login Plain text file ul_tests.php Aux. UL tests that I made
Accessible without login Plain text file index.php Example Example of use

 Version Control Unique User Downloads Download Rankings  
 0%
Total:504
This week:1
All time:5,791
This week:560Up