Open snarfed opened 4 years ago
Here is the algorithm I am using to parse feed author in the wild:
h-feed
with p-author
, author is p-author
.h-feed
with u-url
, and that URL has h-card
matching u-url
, author is that h-card
.h-feed
with u-url
, and that URL has no h-card
matching u-url
, author URL is u-url
and name is page <title>
.h-feed
with no u-url
or p-author
, author URL is page URL and name is page <title>
.h-feed
then no feed author.
how should we determine an h-feed's author? we discussed on #indieweb-dev and on #microformats, and the short answer is evidently that we don't know yet. we don't yet have an "authoritative" way, at least for h-feeds without an explicit
p-author
property. representative h-card and authorship algorithm are both related, but neither is the exact answer. the authorship wiki page has an Authorship for streams of posts section that's close, but thin.so, do we need a new h-feed authorship algorithm? or should we extend one of those two algorithms? or something else?
@tantek said here that we still need to do some research and come up with an algorithm. we don't necessarily have the "right" one just yet. so, i've filed this as a place to track research. feel free to close this and move it to the wiki instead if you prefer!
(this was motivated by @alexmingoia's recent granary#195 issue that granary doesn't determine an h-feed's author very well right now. it naively uses authorship algorithm, which is designed for h-entry, not h-feed.)
cc @kevinmarks @aaronpk. originally filed as microformats/microformats2-parsing#49.