Hello from Lemmy!

This message is both a test and a real question: I managed to subscribe to the NodeBB group, but I was not able to pull any conversation from there.

Maybe it’s because Lemmy expects posts to be Page objects and NodeBB seem to be representing its topics as OrderedCollections?

I will post this and then send a followup comment with the output from browser.pub

  • Andrew@pythag.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 days ago

    No, pull works too. Lemmy doesn’t support it, but technically you can pull the topic and then step through the collection. PieFed does support doing that (although NodeBB isn’t always consistent at providing a JSON response, likely due to a CloudFlare caching issue).

    If you want to do a pull that Lemmy supports from NodeBB, you need to choose the first post in the topic, not the topic.

    E.g: https://browser.pub/https://forum.wedistribute.org/post/12

    That just a Note (with inReplyTo null) that Lemmy will recognise as the equivalent of a Page.

  • rglullisOPA
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

    This is the output from https://browser.pub/https://communick.news/post/2832222:

    {
      "@context": [
        "https://join-lemmy.org/context.json",
        "https://www.w3.org/ns/activitystreams"
      ],
      "type": "Page",
      "id": "https://communick.news/post/2832222",
      "attributedTo": "https://communick.news/u/rglullis",
      "to": [
        "https://forum.wedistribute.org/category/5",
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "name": "Is NodeBB's interoperability with Lemmy only for push-based messages?",
      "cc": [],
      "content": "<p>Hello from Lemmy!</p>\n<p>This message is both a test and a real question: I managed to subscribe to the NodeBB group, but I was <em>not</em> able to pull any conversation from there.</p>\n<p>Maybe it’s because Lemmy expects posts to be <code>Page</code> objects and NodeBB seem to be representing its topics as <code>OrderedCollections</code>?</p>\n<p>I will post this and then send a followup comment with the output from browser.pub</p>\n",
      "mediaType": "text/html",
      "source": {
        "content": "Hello from Lemmy!\n\nThis message is both a test and a real question: I managed to subscribe to the NodeBB group, but I was *not* able to pull any conversation from there.\n\nMaybe it's because Lemmy expects posts to be `Page` objects and NodeBB seem to be representing its topics as `OrderedCollections`?\n\nI will post this and then send a followup comment with the output from browser.pub",
        "mediaType": "text/markdown"
      },
      "attachment": [],
      "sensitive": false,
      "published": "2025-03-29T14:02:30.621508Z",
      "language": {
        "identifier": "en",
        "name": "English"
      },
      "audience": "https://forum.wedistribute.org/category/5",
      "tag": [
        {
          "href": "https://communick.news/post/2832222",
          "name": "#fediverse",
          "type": "Hashtag"
        }
      ]
    }