benjifs / wm

webmention check service
https://webmention.netlify.app
1 stars 0 forks source link

Trigger webmention without e-content #1

Open benjifs opened 8 months ago

benjifs commented 8 months ago

I was trying to syndicate a read post which had no e-content (https://benji.dog/read/1705270560/) and it fails to find any valid entries. Based on the lines below it seems like there is a requirement of there being both properties and content.

https://github.com/benjifs/wm/blob/8864011c3e4dff5786a33edc7f82685810b83c0a/lib/microformat/dom.js#L22-L24

Regardless of whether or not this type of read-of post will be presented when syndicated, I should double check in the spec to make sure whether e-content is required to find and trigger a webmention.

benjifs commented 8 months ago

From the following example in the spec:

<!doctype html>
<html>
  <body>
    <a href="https://aaronpk.example/post-by-aaron">This is a great post</a>
  </body>
</html>

That is all that is needed to be a valid webmention source.

Since the spec does not require e-content, I will change this here and create an issue in the original repo for reference.

aciccarello commented 8 months ago

I believe that's be an open issue for several years now. remy/wm#27