starrwulfe@starrwulfe.xyz
starrwulfe@starrwulfe.xyz

ok one laaaaassstt test here. @pfefferle updated the AP plugin to include threaded comments; @janboddez contributed so that might mean webmentions are also covered too? Please? 🤞🏾

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe As far as I can tell, the previous version already had threading (for incoming comments), and this new version adds the ability for post authors to reply back “to the Fediverse” from a “reply comment” on their blog, i.e., “outgoing comment” federation. @pfefferle

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe That said, all I did was fix some minor bugs in a different part of the code. @pfefferle

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe I had a quick glance at your other post, though, and I think Colin is right that the Webmention plugin doesn’t yet know how to interpret comments (i.e., where to look) down a (remote) “source” page. Also, the `?replytocom` param does get added to your comments’ source URLs, but other sites may not know what to do with it.

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe I’ve just implemented a similar thing in IndieBlocks’ Webmention implementation, but I use the `#comment-id` URL *fragment* for comments’ source URLs *and* tell the plugin to *only* parse the corresponding `div` (on the source page, for incoming webmentions). In addition, I’m also adding a `?replytocom=id` query string to outgoing source URLs, even though it shouldn’t be needed. In fact, I think the Webmention plugin kinda ignores them (except maybe for “local” mentions)?

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe Should probably mention that this version of IndieBlocks isn’t yet released, and that you should probably only ever have one “Webmention implementation” active.

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe As to the microformats thing (`u-in-reply-to h-cite`, etc.), IndieBlocks does this (or it can do this). But it has nothing to do with ActivityPub. ActivityPub and Webmention are two different things that do not in any way rely on each other.

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe What I was doing before, to be able to “federate out” “reply posts” (and not “reply comments,” which is now built in), was to … I’d parse post before they’re federated, look for a reply block and something that resembles an “ActivityPub handle,” and then parse in the reply-to URL, in *the ActivityPub/JSON representation of the post in question*.

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe (Not sure if it helps at all, but) I somehow tried to outline how I deal with the “comment webmention thing” in github.com/pfefferle/wordpress and the comments that follow it. Parsing only the relevant comment and such.

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe This should’ve been a blog post, haha. (Thinking about writing one, about the various ways I can now do “replies.”)

|
Embed
Progress spinner
starrwulfe@starrwulfe.xyz
starrwulfe@starrwulfe.xyz

@janboddez
Thanks for the details! I’m wondering if there’s a slight adjustment that could be made to add in the proper anchor and div tags for each comment to “isolate” everything so someone doing webmentions would be able to also reply in-line 🤔

all I did was fix some minor bugs in a different part of the code.

Even if only that much, it was likely a big help saving someone else more work ✌🏾

|
Embed
Progress spinner
starrwulfe@starrwulfe.xyz
starrwulfe@starrwulfe.xyz

Thanks for the details! I’m wondering if there’s a slight adjustment that could be made to add in the proper anchor and div tags for each comment to “isolate” everything so someone doing webmentions would be able to also reply in-line 🤔

all I did was fix some minor bugs in a different part of the code.

Even if only that much, it was likely a big help saving someone else more work 😏

This should’ve been a blog post, haha. (Thinking about writing one, about the various ways I can now do “replies.”)

…there’s still time to make one! (with all the details so I can steal borrow your methods!✌🏾

|
Embed
Progress spinner
starrwulfe
starrwulfe

@janboddez

had to come back over here and reply because that thread was getting bonkers on my blog with the changeover – @starrwulfe was putting things in “external-mentions” on Friends so I should’ve switched here quicker

Thanks for the details! I’m wondering if there’s a slight adjustment that could be made to add in the proper anchor and div tags for each comment to “isolate” everything so someone doing webmentions would be able to also reply in-line 🤔

all I did was fix some minor bugs in a different part of the code.

Even if only that much, it was likely a big help saving someone else more work 😏

This should’ve been a blog post, haha. (Thinking about writing one, about the various ways I can now do “replies.”)

…there’s still time to make one! (with all the details so I can steal borrow your methods!✌🏾

|
Embed
Progress spinner