Web::Embed - convert URL to embedded HTML
use Web::Embed
my $api = Web::Embed->new(
agent => $ua,
cache => $cache,
);
my $res = $api->embed($url);
$res->oembed; # Web::oEmbed::Response
$res->title; # page title
$res->metadata; # meta elemnt information (hashref)
$res->link; # link element information (hashref)
$res->og; # ogp information (hashref)
$res->dc; # dc (Dublin Core) information (hashref)
print $res->render;
Web::Embed is a module that convert URL to embedded HTML
Yasuhiro Onishi <yasuhiro.onishi@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.