php simple html dom
Posted in
4
1:11 am, December 20, 2021
extract meta attributes with simple html dom
pass in the url as import_url and it will search for the meta keywords tag and echo the result.
PHP
$import_url = $_GET['import_url'];
require_once("lib/simple_html_dom.php");
$html = file_get_html( $import_url );
$meta_keywords = $html->find( "meta[name=keywords]" );
echo $meta_keywords;
View Statistics
This Week
32
This Month
60
This Year
0
Add Comment
Other Items in php simple html dom
Related Search Terms
Other Categories in Code
c testing apache apps asp bat bootstrap bootstrap templates core css css grid design elements fancybox fonts foundation framework gimp git html icons ideas images javascript jquery js linux mac nginx node php php functions php simple html dom pi400 python react sections site bugs site documentation sql sqlite sublime svg templates tools virtual box webdev windows wordpress