Horje

How to extract Keyword Description Author from Meta Tag a HTML Page using URL

Just follow Example.

index.php
Example: PHP
<?php
// Assuming the above tags are at www.example.com
$tags = get_meta_tags('https://www.metkovicnet.com');

// Notice how the keys are all lowercase now, and
// how . was replaced by _ in the key.
echo $tags['author'];       // name
echo '</br>';
echo $tags['keywords'];     // php documentation
echo '</br>';
echo $tags['description'];  // a php manual
echo '</br>';
echo $tags['geo_position']; // 49.33;-86.59
echo '</br>';
echo $tags['og:image']; // 49.33;-86.59
echo '</br>';
?>

Output should be:

How to extract Keyword Description Author from Meta Tag a HTML Page using URL



Single Articles
How to extract Keyword Description Author from Meta Tag a HTML Page using URLPHP Extract Tutorial


Related Articles
How to extract Domain Name from Full URL in PHP PHP Extract Tutorial
How to extract only name from domain in PHP PHP Extract Tutorial
How to extract All url from a single page by PHP PHP Extract Tutorial
How to get first Five Line from CSV File PHP Extract Tutorial
How to get first 100 records from a csv file in PHP PHP Extract Tutorial
How to get meta Tag PHP Extract Tutorial
How to get title description image and multiple images from URL PHP Extract Tutorial
How to read a txt file from a zip remote URL PHP Extract Tutorial
How to extract all url from a html single page in PHP PHP Extract Tutorial

Type:
Php
Category:
Web Tutorial
Sub Category:
PHP Extract Tutorial
Uploaded by:
Admin