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

  • Neat. It took me a while to realise what was going on: the post on Lemmy and the blogpost are two separate entities. The Lemmy post is a link to the blogpost, and the blogpost uses the post_id to fetch the comments (so I guess this means you have to make the blogpost, make the Lemmy post, and then go back and edit the blogpost with the correct id?)

    The script is inspectable on the blog - I can see it does:
    const url = 'https://lemmy.ml/api/v3/comment/listpost_id=21617067&limit=100&max_depth=8&sort=Top&type_=All';

    So I suppose there's an inbuilt limit for comment depth and number of replies, but if you start down the road of working on that, you'll eventually find that you've re-invented a front-end, and there's no end to it.

    What the duckquill guys are doing is a bit fudgy, in that they're getting another website to do the federation legwork for them, but the results are pleasing enough.

  • It would be nice if you could sign-in/comment directly from the blog. But I'm guessing the Lemmy api doesn't provide that without making the blog it's own instance

    • It could be a web app like Voyager but you really shouldn't just enter your credential willy nilly all over the place.

      • Theoretically Lemmy could open a pop-up or redirect to sign in through your instance.

  • 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.

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

    • 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

  • Thats Awesome! Needs a mobile ui though

    • It should work on mobile. What problem are you seeing?

    • Update: I think I see the problem, comments are too wide on small screens. I'll see if I can fix it

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

  • @morrowind
    "Duckquill has built in support for loading Mastodon comments see (the example on the theme site), given the link where you posted it. But I don’t much care for Mastodon ...

    I prefer Lemmy, where you don’t really care about followers, as long as your content is good and posted to right community(ies). So I made my own."

    https://blog.coship.fyi/blog/lemmy-comments/

    Well, I'm going to reply from a Mastodon account anyway. So there : P

    Zola #DuckBill

    • It may be a little overly negative, I use mastodon, I just don't find it useful to publish my stuff on

  • Doesn't Lemmy already support federated wordpress blogs as locked communities? I don't really see how this extra complexity is needed.

77 comments