- $p->handler(start => \@accum, "tagname, attr");
- $p->report_tags(qw(meta));
- $p->utf8_mode(1);
- $p->parse($content);
-
- # Look for the title in the meta tags
- foreach $e (@accum) {
- if ('meta' eq $e->[0]) {
- if ('embed_video_title' eq $e->[1]->{'name'}) {
- $metadata->{'TITLE'} = $e->[1]->{'content'};
- }