HTML::...icense(3pm)

πŸ’– HTML::Microformats::Format::RelLicense β€” the rel-license microformat ✨

okay bestie, so this is a page from the User Contributed Perl Documentation, and the manual name is HTML::...icense(3pm) (yes the terminal truncates it like that, it's giving βœ‚οΈ, we cope). Buckle up, it's a whole microformat moment. πŸŽ€


πŸ¦‹ NAME

HTML::Microformats::Format::RelLicense β€” the rel-license microformat. periodt.


✨ SYNOPSIS

look at this lil guy, it's so cute:

 my @licences = HTML::Microformats::Format::RelLicense->extract_all(
                   $doc->documentElement, $context);
 foreach my $licence (@licences)
 {
   print $licence->get_href . "\n";
 }

like, you pull all the licences out of the doc, then you loop over them and print the href of each one. slay. πŸ’…


🌸 DESCRIPTION

HTML::Microformats::Format::RelLicense inherits from HTML::Microformats::Format_Rel. so basically, if you wanna know how the property getter/setter methods work, or the constructors, or any of that whole vibe β€” go check the base class definition, because that's where all the deets live. this class is the main character, but the base class is the blueprint. πŸ‘‘


🌈 MICROFORMAT

HTML::Microformats::Format::RelLicense supports rel-license, exactly as described over at:

<http://microformats.org/wiki/rel-license>

that's the source of truth, bestie. no cap. πŸ“œ


⭐ RDF OUTPUT

the data comes back using the Creative Commons vocabulary:

<http://creativecommons.org/ns#>

plus the occasional other term here and there. mostly CC though, it's giving on-brand. πŸ’œ


πŸ’€ BUGS

found a bug? pls report it, don't just suffer in silence:

<http://rt.cpan.org/>

the maintainers genuinely want to know. fr fr. 🫢


πŸŽ€ SEE ALSO

  • HTML::Microformats::Format_Rel β€” the parent, the blueprint, the icon
  • HTML::Microformats β€” the whole family

iykyk. 🧚


🌟 AUTHOR

Toby Inkster <tobyink@cpan.org> β€” thank you for your service king 🫑


Copyright 2008-2012 Toby Inkster

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

so like, same terms as Perl. do with that what you will, but keep the copyright line intact, bestie. βš–οΈ


πŸ™ˆ DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

translation: no promises, no guarantees, it is what it is. ship it at your own risk. 😭


and that's the whole page, bestie!! πŸ’… this was perl v5.32.1, dated 2021-09-12, and the manual name again in case you forgot: HTML::...icense(3pm). stay hydrated, read your base classes, mwah πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from