ANN: HTTP::Link::Parser 0.02 - Perl extension for parsing HTTP Link headers
Toby Inkster
mail at tobyinkster.co.uk
Wed Nov 25 01:02:02 CET 2009
New version uses RDF::Trine to return data.
use HTTP::Link::Parser qw(:standard);
use LWP::UserAgent;
my $ua = LWP::UserAgent->new;
my $response = $ua->get("http://example.com/foo");
my $model = parse_links_into_model($response);
This module is designed to parse HTTP "Link" headers
<http://www.mnot.net/drafts/draft-nottingham-http-link-header-07.txt>
and output them as RDF.
It's available under the MIT/X11 licence - i.e. a more permissive one
than the usual GPL+Artistic dual licence used by Perl modules.
--
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>
More information about the Dev
mailing list