Jump to content

Recommended Posts

Posted

Php Folks,

What is the regex to extract the content of a webpage that is visible to the user in his browser no matter what is visible to the web crawler (searchengine spider or bot)?
That means, it should ignore the following and not extract these tags or any data inbetween these tags excluding the <body> & </body> tags as including that in the filter would render the data extraction useless:

title
title tags
meta keywords
meta keywords tags
meta descriptions 
meta descriptions tags
html tags
dhtml tags
xml tags
javascript tags, 
etc. tags.

If you know of php functions, other than regex that do what I want, then say so by writing: OFF TOPIC.

Thanks for your help!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...