cockscomb / Web-Embed

convert URL to embedded HTML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NAME

Web::Embed - convert URL to embedded HTML

SYNOPSIS

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;

DESCRIPTION

Web::Embed is a module that convert URL to embedded HTML

AUTHOR

Yasuhiro Onishi <yasuhiro.onishi@gmail.com>

SEE ALSO

Web::oEmbed

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

About

convert URL to embedded HTML


Languages

Language:Perl 100.0%