Web::Mention::Author - The author of a webmention's source document
An object of this class represents the author of a webmention -- or, more specifically, the author of the document that a given webmention points to as its source.
It implements the IndieWeb authorship protocol, as defined here: https://indieweb.org/authorship#How_to_determine
It is not expected that you'll build objects of this class yourself. Rather, you'll receive and query them by way of the author() method of Web::Mention objects.
author()
$name = $author->name;
Returns the author's name.
$author_url = $author->url;
Returns the author's URL as a URI object, or undef.
$photo_url = $author->photo;
Returns the author's photo (avatar) as a URI object, or undef.
This software is alpha; its author is still determining how it wants to work, and its interface might change dramatically.
(Honestly, the Web::Mention namespace might not even be the best place for it!)
Its implementation of the authorship algorithm is very incomplete. The author only got as far as being able to parse typical output from http://brid.gy and then stopped. Tsk tsk.
Jason McIntosh (jmac@jmac.org)
This software is Copyright (c) 2018 by Jason McIntosh.
This is free software, licensed under:
The MIT (X11) License
To install Web::Mention, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Web::Mention
CPAN shell
perl -MCPAN -e shell install Web::Mention
For more information on module installation, please visit the detailed CPAN module installation guide.