Usecase: As part of displaying comments on my post pages, I need to be able to convey/display the author of a the comment.
I am looking at the indiewebcamp Authorship Algorithm
The aim of komodo macro is to for authorship of post and if authorship established then the macro creates and stores a mini h-card by using the existing authors h-card credentials
the stored mini h-card can be pulled from the store whenever we need to display authorship in our post comments section or in the posts e-content section.
The mini h-card is built for visual hyperlinked ‘inline display’ in our html posts page. It displays the persons name, their avator, and online hyperlinked identity.
The mini h-card is a h-card with base subset of h-card properties
- logo/photo/avator as either u-logo or u-photo
- name as p-name and or p-nickname
- url (of author which will be thier profile/homepage)
Establishing a p-nickname (nickname/alias/handle) might be useful so we can go
@handlein our markdown text and the handle will get auto replaced with hyperlinked mini h-card version.
The h-card URL establishes uniqueness so the filename could be be a hash of the URL because the authors representative h-card should be at this URL. However with the basis of the indieweb is owning your own personal-domain to create online identity, then we just need to store a hash of the domain name.