Skip to content
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

Tumblr RSS confuses our mf2 => AS2 translation #1694

Open
sztupy opened this issue Jan 15, 2025 · 1 comment
Open

Tumblr RSS confuses our mf2 => AS2 translation #1694

sztupy opened this issue Jan 15, 2025 · 1 comment
Labels
bug User-facing breakage and reliability issues within Bridgy Fed.

Comments

@sztupy
Copy link

sztupy commented Jan 15, 2025

I'm trying to see if I can make my Tumblr blog available over the federated networks. Firstly I was trying to get Tumblr's RSS feed to bridge over, which does seem to do something, as over at https://fed.brid.gy/web/tumblr.sztupy.hu I can see the posts in the RSS feed appearing on my profile:

Screenshot 2025-01-15 at 14 38 23

However none of these posts appear on the Feed section:

Screenshot 2025-01-15 at 14 39 24

Unfortunately the documentation is a bit vague on how RSS is supported for both the profile and posts, so I'm not sure if there's something in the generated feed that's not correct, or there are missing steps I should do to get it running.

@snarfed
Copy link
Owner

snarfed commented Jan 15, 2025

Sorry for the confusion! The Feed tab on your user page is the posts from people you follow over the bridge, not your own posts.

And it looks like Tumblr's data is confusing Bridgy Fed, we're getting the same ids for post activities as for the inner note objects. Ugh. Sorry for the trouble, I'll look at this eventually.

Example: https://tumblr.sztupy.hu/post/772766375620050945 . mf2:

{
  "type": ["h-entry"],
  "properties": {
    "url": ["https://tumblr.sztupy.hu/post/772766375620050945"]
    "name": ["SztupY"],
    "summary": ["Biblically accurate lemon"],
    "photo": ["https://64.media.tumblr.com/tumblr_sq57u5RbqY1xmhdiv_frame1.jpg"],
    "video": ["https://va.media.tumblr.com/tumblr_sq57u5RbqY1xmhdiv.mp4"],
  },
  "url": "https://tumblr.sztupy.hu/post/772766375620050945"
}

AS1:

{
  "objectType": "activity",
  "verb": "post"
  "id": "https://tumblr.sztupy.hu/post/772766375620050945",
  "url": "https://tumblr.sztupy.hu/post/772766375620050945",
  "title": "Biblically accurate lemon",
  "actor": {
    "displayName": "SztupY",
    "id": "https://tumblr.sztupy.hu/",
    "summary": "Ceci n'est pas une description facultative\u2014\u2013Hungarian and occasionally Scottish shitposting mainly, be warned",
    "url": "https://tumblr.sztupy.hu/"
  },
  "feed_index": 0,
  "object": {
    "objectType": "article",
    "id": "https://tumblr.sztupy.hu/post/772766375620050945",
    "url": "https://tumblr.sztupy.hu/post/772766375620050945"
    "author": {
      "displayName": "SztupY",
      "id": "https://tumblr.sztupy.hu/",
      "summary": "Ceci n'est pas une description facultative\u2014\u2013Hungarian and occasionally Scottish shitposting mainly, be warned",
      "url": "https://tumblr.sztupy.hu/"
    },
    "content": "<p><a class=\"tumblr_blog\" href=\"https://masikzeekoo.tumblr.com/post/772765295176744962/biblically-accurate-lemon\" target=\"_blank\">masikzeekoo</a>:</p><blockquote><figure class=\"tmblr-full\"><video controls=\"controls\" poster=\"https://64.media.tumblr.com/tumblr_sq57u5RbqY1xmhdiv_frame1.jpg\"><source src=\"https://va.media.tumblr.com/tumblr_sq57u5RbqY1xmhdiv.mp4\" type=\"video/mp4\" /></video></figure><p>Biblically accurate lemon</p></blockquote>",
    "displayName": "Biblically accurate lemon",
    "image": ["https://64.media.tumblr.com/tumblr_sq57u5RbqY1xmhdiv_frame1.jpg"],
    "published": "2025-01-15T18:57:25+00:00",
  },
}

@snarfed snarfed changed the title Bridging Tumblr RSS feed Tumblr RSS confuses our mf2 => AS2 translation Jan 15, 2025
@snarfed snarfed added the bug User-facing breakage and reliability issues within Bridgy Fed. label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug User-facing breakage and reliability issues within Bridgy Fed.
Projects
None yet
Development

No branches or pull requests

2 participants