Extract text or links from a web page #get text webpage
Edit
by Ryan - 10 years ago (2015-02-10)
i need to parse and extract text
| 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
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
| by zinsou A.A.E.Moïse package author 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.
| by Samuel Adeshina package author 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 |