Hi, I'm trying to get phpcrawl to go through a website and print or output all instances of a specific src on a page. ie
"type="text/javascript" src="http://adserver.adtech.de/addyn|3.0|646|****"
The aim of this is to try and find out how many of our webpages are missing this. Is there a way to do this. I think it would be under the setLinkExtractionTags() method but i'm a novice at php.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Hi, I'm trying to get phpcrawl to go through a website and print or output all instances of a specific src on a page. ie
"type="text/javascript" src="http://adserver.adtech.de/addyn|3.0|646|****"
The aim of this is to try and find out how many of our webpages are missing this. Is there a way to do this. I think it would be under the setLinkExtractionTags() method but i'm a novice at php.
Thanks
That's what I would use too. Not sure you need to specify that a single item is an array, so I'd just do:
$crawler->setLinkExtractionTags("src");