-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bookmarks/likes not rendering correctly when post has multiple u-url
s
#140
Labels
Comments
This appears to affect both the JSON format: {
"type": "entry",
"author": {
"type": "card",
"name": "Jamie Tanna",
"photo": "https://webmention.io/avatar/www.jvt.me/1a30a04da8e03ed78b17bd01777f3892c95de2a05f974eaa739b858aaa1749d4.png",
"url": "https://www.jvt.me"
},
"url": "https://www.jvt.me/mf2/2019/12/jmtk9/",
"published": "2019-12-05T17:25:00",
"wm-received": "2019-12-11T10:57:10Z",
"wm-id": 732974,
"wm-source": "https://www.jvt.me/mf2/2019/12/jmtk9/",
"wm-target": "https://www.jvt.me",
"name": "Improving CLIs with isatty",
"bookmark-of": "https://www.jvt.me",
"wm-property": "bookmark-of",
"wm-private": false,
"rels": {
"canonical": "https://www.jvt.me/mf2/2019/12/jmtk9/"
}
}, And the Atom format: <entry>
<title>www.jvt.me bookmarked /</title>
<id>https://webmention.io/api/mention/732974</id>
<summary>https://www.jvt.me/mf2/2019/12/jmtk9/ bookmarked https://www.jvt.me/</summary>
<updated>2019-12-11T10:57:11+00:00</updated>
<content type="xhtml" xml:lang="en">
<div xmlns="http://www.w3.org/1999/xhtml">
<p><a href="https://www.jvt.me/mf2/2019/12/jmtk9/">https://www.jvt.me/mf2/2019/12/jmtk9/</a> bookmarked <a href="https://www.jvt.me/">https://www.jvt.me/</a></p>
</div>
</content>
</entry> Despite the post not being a bookmark of that page: Parsed MF2 as JSON
|
And XRay responds with: {
"data": {
"type": "entry",
"published": "2019-12-05T17:25:00Z",
"url": "https://www.jvt.me/mf2/2019/12/jmtk9/",
"category": [
"command-line"
],
"bookmark-of": [
"https://blog.jez.io/cli-tty/"
],
"name": "Improving CLIs with isatty",
"author": {
"type": "card",
"name": "Jamie Tanna",
"url": "https://www.jvt.me",
"photo": "https://www.jvt.me/img/profile.png"
},
"post-type": "bookmark",
"rels": {
"canonical": "https://www.jvt.me/mf2/2019/12/jmtk9/"
}
},
"url": "https://www.jvt.me/mf2/2019/12/jmtk9/",
"code": 200,
"source-format": "mf2+html"
} |
@aaronpk is this something that you'd maybe be able to investigate in the debug logs? I'm having quite a bit of difficulty getting the project set up locally to validate myself |
Aaron's responses on chat can be found at https://chat.indieweb.org/meta/2020-03-06 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've recently been noticing some weirdness around the Webmentions I receive for certain posts, primarily likes/bookmarks.
Within my posts I have both the post's
u-url
, and a childp-author h-card
which has its ownu-url
.I'll receive a Webmention with the URL of the interaction being my profile URL (from my author information) rather than it being the URL of the post itself.
Example 1
Post: https://www.jvt.me/mf2/c0139cf9-10db-4d1e-9635-c746f305e195/
Parsed MF2:
Parsed MF2 as JSON
Webmention:
Example 2
Post: https://www.jvt.me/posts/2019/10/03/indiewebcamp-amsterdam-2019/
Parsed MF2:
Parsed MF2 as JSON
Webmention:
The text was updated successfully, but these errors were encountered: