PHP Classes

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

Recommend this page to a friend!
  All requests RSS feed  >  Extract text or links from a web page  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Extract text or links from a web page

Edit

Picture of Ryan by Ryan - 10 years ago (2015-02-10)

i need to parse and extract text

This request is clear and relevant.
This request is not clear or is not relevant.

+2

I am doing a web page tracker. I need to parse the web site text, store it and compare it later with the same page.

Ask clarification

2 Recommendations

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

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
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of zinsou A.A.E.Moïse by zinsou A.A.E.Moïse package author package author Reputation 6835 - 7 years ago (2017-12-22) Comment

Parse and extract Web page information details


PHP Sentence Parser: Parses and analyzes words in sentences

This class can parse, analyze words and interprets sentences.

It takes an English sentence and breaks it into words to determine if it is a phrase or a clause.

It can also counts the total number of words in a sentence, checks if a word is a palindrome and can generate a new sentence with almost the same meaning using synonyms and other grammar-specific rules.
This recommendation solves the problem.
This recommendation does not solve the problem.

+2

Picture of Samuel Adeshina by Samuel Adeshina package author package author Reputation 1015 - 9 years ago (2015-05-07) Comment

Check this out, it is a text processing class that does exactly and even more of what you need. You can get the contents of whatever site you want to use using the file_get_contents() function, store it in a variable and process, parse, store, compare and perform a lot of other operations on it


Recommend package
: 
: