HTML Archives

Processing schema.org markup with Perl

Someone on IRC asked me for an example of how to parse schema.org markup using my HTML::HTML5::Microdata::Parser module. So here one is. It pulls the microdata from the page, and queries it using SPARQL.

#!/usr/bin/env perl

use/users/toby_inkster/html/index.html

About Toby Inkster

user-pic I'm tobyink on CPAN, IRC and PerlMonks.