Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
convert URL to embedded HTML
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/Web
t
.gitignore
Makefile.PL
README.pod

README.pod

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.

Something went wrong with that request. Please try again.