wordpress-webmention icon indicating copy to clipboard operation
wordpress-webmention copied to clipboard

Empty comment from manual ping

Open jackysee opened this issue 7 years ago • 3 comments

Try to do a manual ping, where the source page is as simple as

<html>
<body><a href="http://link-to-target-article">Link to article</a></body>
</html>

The ping return success json:

{"link":"\/comment-page-72\/#comment-202993"
,"source":"http:\/\/link-to-source"
,"target":"https:\/\/link-to-target-article"
,"code":"success"
,"message":"Webmention was successful"}

A comment is created in wordpress, but all the fields (name, email, url, comment) and webmention datas are empty.

Should this case be rejected?

jackysee avatar Nov 14 '17 09:11 jackysee

Hmmm, good question...

Per definition your example is a valid Webmention and the author parser is by definition very simple: https://github.com/pfefferle/wordpress-webmention/blob/master/includes/class-webmention-receiver.php#L544

Any ideas @dshanske @snarfed ?

pfefferle avatar Nov 15 '17 08:11 pfefferle

sorry, no, no obvious ideas here.

snarfed avatar Nov 15 '17 15:11 snarfed

Potentially a bit late, but I think this one is simply a case of there's nothing for the receiver to parse and populate the mention with. It finds what it can, but it's really darn sparse. Still worth keeping open if someone wants to poke at it a bit more.

tw2113 avatar Aug 30 '19 23:08 tw2113