2835
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
39
This Month
247
This Year
287

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


seren spirit :(
Random CSS Property

<display-listitem>

The list-item keyword causes the element to generate a ::marker pseudo-element with the content specified by its list-style properties (for example a bullet point) together with a principal box of the specified type for its own contents.
<display-listitem> css reference