2789
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
85
This Month
307
This Year
241

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
I'm a big believer in energy and the secret and that sort of thing.
Unknown
Random CSS Property

mask-position

The mask-position CSS property sets the initial position, relative to the mask position layer set by mask-origin, for each defined mask image.
mask-position css reference