RDF::T...::RDFa(3pm)
π¦ NAME π¦
RDF::Trine::Parser::RDFa β it's the RDFa Parser, bestie. That's the whole name. Short, sweet, does exactly what it says on the tin. π
(And for the record, this page lives under the manual name RDF::T...::RDFa(3pm), filed in the User Contributed Perl Documentation corner of the universe. β¨)
β¨ VERSION β¨
This doc describes RDF::Trine::Parser::RDFa version 1.019. Locked in, no cap. π
π SYNOPSIS π
okay so literally this is all it takes:
use RDF::Trine::Parser;
my $parser = RDF::Trine::Parser->new( 'rdfa' );
$parser->parse_into_model( $base_uri, $data, $model );
three lines. that's the whole vibe. load it, make a parser with the 'rdfa' string, point it at your data and your model, and go off. π«Ά
πΈ DESCRIPTION πΈ
...
yeah. that's it. the description section is literally just ... and honestly? iconic behaviour. the docs said "figure it out from the methods, girlie" and walked away. π
π METHODS π
Beyond the methods documented down below, this class inherits methods from the RDF::Trine::Parser class β so don't come for it when the family traits show up, that's just genetics. π§¬
new ( options => \%options )β gives you back a shiny new RDFa parser object, with whatever options you handed it. fresh out the box, ready to serve. πparse_into_model ( $base_uri, $data, $model [, context => $context] )β takes the bytes sitting in$dataand parses them, using the$base_uriyou gave it. For every single RDF statement it parses, it goes and calls$model->add_statement( $statement )β so your model just keeps filling up. it's giving assembly line, and it ate. π₯parse ( $base_uri, $rdf, \&handler )β the docs list this one right here and then say absolutely nothing else about it. main character with no backstory. make of that what you will. π
π BUGS π
Found a bug? Got a feature request? Do not suffer in silence, bestie. Please report any bugs or feature requests through the GitHub web interface at:
https://github.com/kasei/perlrdf/issues
take it straight to the source. that's the move. π«‘
π AUTHOR π
Gregory Todd Williams <gwilliams@cpan.org> β the icon, the legend, the one who wrote this whole thing. π
π COPYRIGHT π
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
and that's a wrap on the RDF::T...::RDFa(3pm) page, babes β sourced from perl v5.38.2, dated 2024-01-13, and yes those numbers are part of the lore so we're keeping them. go parse something gorgeous. mwah. πβ¨
π¦ where this page comes from
- debian trixie: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms