PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 505 All time: 5,792 This week: 78Up
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: 42
All time rank: 132835 in Romania Romania
Week rank: 195 Up3 in Romania Romania Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:505
This week:0
All time:5,792
This week:78Up