PHP Classes

Very simple page details: Parse and extract Web page information details

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 235 All time: 8,039 This week: 182Up
Version License PHP version Categories
php-vspd 1.4.0Custom (specified...5HTML, PHP 5, Parsers
Description Author

This class can parse and extract Web page information details.

It can retrieve a Web page from a given URL and parse it to extract details like:

- Page title
- Page head and body
- Meta tags
- Character set
- Links expanded to full path
- Images
- Page headers from H1 through H6
- Internal and external links checking if they are broken
- Page elements by class or id value


Link Checker
Find broken links in a Web site

Extract div data or tags text from Web pages
I need to extract the values that are in divs of the same class

What is the best PHP web content crawler class?
Extracting content by passing the URL of a web site

Extract text or links from a web page
i need to parse and extract text

Retrieve a page content
I need a crawler to get a data from an url

Picture of zinsou A.A.E.Mose
  Performance   Level  
Name: zinsou A.A.E.Mose is available for providing paid consulting. Contact zinsou A.A.E.Mose .
Classes: 50 packages by
Country: Benin Benin
Age: 32
All time rank: 7051 in Benin Benin
Week rank: 46 Up1 in Benin Benin Equal
Innovation award
Innovation award
Nominee: 23x

Winner: 2x

		PHP  VSPD is a little package to get more details about a web page content
		Actually there are methods
		to get title
		to get the full head
		to get the full body
		to find any html tags
		to get explicit meta tags 
		to get charset
		to get open graph tags
		to get twitter tags
		to get Applinks tags
		to get Http-equiv tags
		to find and rebuild all links(to absolute path)
		to find and rebuild all images and source(to avoid broken images href)
		to get all headers once but also individual type of header as H1,H2 etc...
		to get element by id 
		to get elements by class
		to get elements by tag name
                to get elements by name
		to get all internal Links
		to get all externals Links 
		to check if a link is a broken link
		to check all internal broken links
		to check about all externals broken links
		to check globally broken links
		The package only parse Html or xhtml files when URL is valid and will throw exception
		when the url is not valid or when the file is not html or xhtml
		for more details check the class statement and see the how to use file test.php
		for feedback and bug reporting write to
		or use the dedicated support forum.... 
  Files folder image Files  
File Role Description
Accessible without login Plain text file license.txt Lic. license file
Accessible without login Plain text file readme.txt Doc. readme
Accessible without login Plain text file test.php Example example script
Plain text file VSPD.class.php Class class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,039
This week:182Up
User Ratings User Comments (2)
 All time
I try your php code on PHPCLASSES : « Very simple page deta...
4 years ago (Dominique VARLET)
Very good.
4 years ago (Alekos Psimikakis)
For more information send a message to info at phpclasses dot org.