U PHP dokumentaciji sam našao ovakav primer, koji "pročita meta tagove" sa zadate adrese.
Code:
<?php
// Assuming the above tags are at www.example.com
$tags = get_meta_tags('http://www.example.com/');
// Notice how the keys are all lowercase now, and
// how . was replaced by _ in the key.
echo $tags['author']; // name
echo $tags['keywords']; // php documentation
echo $tags['description']; // a php manual
echo $tags['geo_position']; // 49.33;-86.59
?>
<?php
// Assuming the above tags are at www.example.com
$tags = get_meta_tags('http://www.example.com/');
// Notice how the keys are all lowercase now, and
// how . was replaced by _ in the key.
echo $tags['author']; // name
echo $tags['keywords']; // php documentation
echo $tags['description']; // a php manual
echo $tags['geo_position']; // 49.33;-86.59
?>
Meni je potrebno da pored sadržaja meta tagova pročitam i naslov tj. tekst između <title></title> ali više adresa odjednom, iz baze.
Jasno mi je da treba da koristim array. Gledao sam neke primere ali ne vredi.
Može li neko da mi pomogne
Unapred hvala
Kusur

get_meta_tags, array, title