indiewebify-me
indiewebify-me copied to clipboard
Author linking fails between h-entry/u-author and external h-card/u-url
Hello,
Here is an example page: https://scripter.co/hugo-leaf-and-branch-bundles/
Inside h-entry
<a href="https://scripter.co/" class="u-author">Kaushal Modi</a>
Inside h-card
<div class="h-card">
<a class="p-name u-url" href="https://scripter.co/">Kaushal Modi</a>
<!-- snip -->
</div>
The author linking is working as per:
- https://xray.p3k.io/parse?pretty=true&url=https%3A%2F%2Fscripter.co%2Fhugo-leaf-and-branch-bundles%2F
- https://sturdy-backbone.glitch.me/test?url=https%3A%2F%2Fscripter.co%2Fhugo-leaf-and-branch-bundles%2F
But https://indiewebify.me/validate-h-entry/?url=https%3A%2F%2Fscripter.co%2Fhugo-leaf-and-branch-bundles%2F gives:
You’re marking up your post’s author as a string — add h-card to make it a full h-card!

Can this please be fixed?
\cc @aaronpk
This is pretty much part of #6, and something that has come up a fair bit recently in this specific form.
Do we have a readymade authorship algorithm implementation in PHP? I guess XRay contains one, not sure if it can easily be used standalone?
XRay does implement I believe the full authorship algorithm. We could pull XRay in to this project. The only trick is that it won't show detailed debugging information about why it found the author or not, it just returns the author info when it finds it.
I think this can be closed in favor of #6