Skip to content

onishi/Web-Embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages