this post was submitted on 21 Oct 2024
337 points (97.5% liked)

Fediverse

28125 readers
193 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
(page 2) 24 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 4 days ago (1 children)

This is really cool. Can you add more detail on how to set this up to the blogpost?

[–] [email protected] 3 points 4 days ago

I was, but honestly there's not much to write without getting into the specifics of parsing the lemmy api, because it's literally just a fetchcall and then turning the response into nice html

[–] [email protected] 3 points 4 days ago (1 children)

Interesting. What is tge reasoning behind only fetching the comments vs. a full fediverse integration?

[–] [email protected] 11 points 4 days ago

Fediverse integration would require me to run, pay for and maintain a federated server. This takes me 50 lines of Javascript on a completely static site that cloudflare runs for free. It's just so much easier

[–] [email protected] 8 points 4 days ago (1 children)

I wonder what happens if a comment is deleted

[–] [email protected] 4 points 4 days ago

Super neat concept. I really enjoy the melding of (micro)blogs and threads, which is what I like about Kbin/Mbin; I can follow interesting people from Mastodon without needing to visit a separate app or site. In a way, this scratches that same itch for Lemmy.

[–] [email protected] 40 points 4 days ago* (last edited 4 days ago) (1 children)

Wait, so theoretically, you could create a blog, and create a Lemmy instance/community, post a blog entry, have it auto post the blog entry to your instance, and now the Lemmy comments for the Lemmy post are the comments on the blog post? Do I have that right?

And in theory THIS comment should show up on your blog, yes?

Edit: Hey, I see it!

[–] [email protected] 36 points 4 days ago (1 children)

Oh much simpler, I just make a post with my blog as a link, and supply that link to my site and it shows the comments from that link. As I said, not actually federated. It's basically a sort of frontend.

[–] [email protected] 5 points 4 days ago (3 children)

Could you make a community, and a bot? The bot would look for any post on your blog, then the bot creates a post in that community that uses the blog post title as the lemmy title, and uses the blog body as the post body.

Then the bot tells your blog the url of the lemmy post to use the lemmy comments.

Then, I see the button that says "load lemmy comments". Maybe your bot also creates a mastodon using the title of the blog post as a link to the blog post. Then any mastodon replies to that mastodon post could be under a different button that just says "Load Mastodon replies".

So at the end of your blog you have "Load Lemmy comments" (just as we see here) but next to it is "Load Mastodon replies".

And all of this, is done by you just posting once to the blog, while the bots do everything else in an instant.

You just post once on the blog, and automatically a Lemmy post is created which is a duplicate of the blog post, the lemmy comments are loaded via a button on the blog automatically, a Mastodon post is created which is just a link to the blog using that posts title as the clickable link, AND a button on the blog is created to see Mastodon replies to the mastodon post.

Everything besides the innitial blog post is automatic.

Is that possible?

load more comments (3 replies)
[–] [email protected] 7 points 4 days ago (1 children)

@morrowind Test comment from outside of Lemmy

[–] [email protected] 5 points 4 days ago

Nice! That works too

[–] [email protected] 1 points 4 days ago

This is a pretty interesting idea! And I do agree that the feature to aggregate comments from multiple posts would be useful.

[–] [email protected] 17 points 4 days ago (1 children)
[–] [email protected] 16 points 4 days ago

Not at the moment, since that would require parsing the markdown

[–] [email protected] 61 points 4 days ago

Ooh, that's nice. I could see that effectively replacing disqus comments below articles. Cool beans!

[–] [email protected] 9 points 4 days ago* (last edited 4 days ago) (1 children)

Neat! Do you pick one instance to load comments from? I notice that this comment isn't showing up immediately, so wondering if there's federation delay or the like.

[–] [email protected] 5 points 4 days ago (1 children)

Currently uses my home instance, lemmy.ml. I'd expect there to be some delay

load more comments (1 replies)
[–] [email protected] 2 points 4 days ago

I am so digging this!

[–] [email protected] 5 points 4 days ago (1 children)

peachy keen, friend. peachy keen.

[–] [email protected] 4 points 4 days ago (1 children)

Alright, let's see if this shows

[–] [email protected] 3 points 4 days ago (1 children)

it be there! ;-)

awesome job!

[–] [email protected] 4 points 4 days ago* (last edited 4 days ago)

Lets gooo ╰(*°▽°*)╯╰(*°▽°*)╯

[–] [email protected] 37 points 4 days ago* (last edited 4 days ago)

Kinda cool. To be honest I’m mostly posting this to test it.

Edit: It works!

load more comments
view more: ‹ prev next ›