NAME

Web::Mention::Author - The author of a webmention's source document

DESCRIPTION

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.

METHODS

Object Methods

name

$name = $author->name;

Returns the author's name.

url

$author_url = $author->url;

Returns the author's URL as a URI object, or undef.

photo

$photo_url = $author->photo;

Returns the author's photo (avatar) as a URI object, or undef.

NOTES AND BUGS

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.

AUTHOR

Jason McIntosh (jmac@jmac.org)

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Jason McIntosh.

This is free software, licensed under:

The MIT (X11) License