Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syohex/p5-web-metainspector
Perl Port of metainspector
https://github.com/syohex/p5-web-metainspector
Last synced: about 19 hours ago
JSON representation
Perl Port of metainspector
- Host: GitHub
- URL: https://github.com/syohex/p5-web-metainspector
- Owner: syohex
- License: other
- Created: 2014-05-12T09:38:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-12T13:43:16.000Z (over 10 years ago)
- Last Synced: 2024-11-09T06:08:34.105Z (about 2 months ago)
- Language: Perl
- Size: 133 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/syohex/p5-Web-MetaInspector.png?branch=master)](https://travis-ci.org/syohex/p5-Web-MetaInspector)
# NAMEWeb::MetaInspector - URI Inspection
# SYNOPSIS
use Web::MetaInspector;
my $res = Web::MetaInspector->new('http://example.com');
print $res->title;
print $res->author;
print $_ for @{$res->keywords};# DESCRIPTION
Web::MetaInspector is Perl port of Ruby's metainspector.
You can get easily title, links, images, charset, keywords, author, feed URLs
from url given.# INTERFACE
## new($url)
Get some useful information from `$url` and return a `Web::MetaInspector::Response`
instance. `Web::MetaInspector::Response` has following accessors- uri
URI of the page
- scheme
Scheme of the page
- host
Hostname of the page
- root
Root url
- title
Title of the page
- language
Language of the page
- author
Author of the pages
- description
Description of the page
- generator
Generator of the page
- feed
Feed URLs of the page
- charset
Charset of the page
- links
Links which are linked in the page
- images
Images which are linked in the page
- keyword
Keywords of the page
# LICENSE
Copyright (C) Syohei YOSHIDA.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.# AUTHOR
Syohei YOSHIDA