Skip to content

Bridgy Fed repost-ofs being mis-categorised as a mention-of #201

@jamietanna

Description

@jamietanna

I've noticed a few reposts that are appearing incorrectly in Webmention.io:

Details
    {
      "source": "https://ap.brid.gy/convert/web/https:/mastodon.nl/users/ericdere/statuses/111159206972088337/activity",
      "verified": true,
      "verified_date": "2023-10-01T10:08:18+00:00",
      "id": 1722182,
      "private": false,
      "data": {
        "author": {
          "name": "Eric de Redelijkheid :fedi:",
          "url": "https://mastodon.nl/@ericdere",
          "photo": "https://webmention.io/avatar/mastodon.nl/b4f276c7bd07cf061b9e4cdb44c91a674cfa8b0b87f62fdfbd0033ec1f49efef.jpg"
        },
        "url": "https://ap.brid.gy/convert/web/https:/mastodon.nl/users/ericdere/statuses/111159206972088337/activity",
        "name": null,
        "content": "<a href=\"https://www.jvt.me/posts/2023/09/30/tweetus-deletus/\">shared this.</a>",
        "published": "2023-10-01T10:08:11+00:00",
        "published_ts": null
      },
      "activity": {
        "type": null
      },
      "target": "https://www.jvt.me/posts/2023/09/30/tweetus-deletus/"
    },

However, when looking up the Bridgy Fed URL https://php.microformats.io/?url=https://ap.brid.gy/convert/web/https:/mastodon.nl/users/ericdere/statuses/111159206972088337/activity:

Details
{
    "items": [
        {
            "type": [
                "h-entry"
            ],
            "properties": {
                "uid": [
                    "https://mastodon.nl/users/ericdere/statuses/111159206972088337/activity"
                ],
                "name": [
                    "shared this."
                ],
                "repost-of": [
                    "https://www.jvt.me/posts/2023/09/30/tweetus-deletus/"
                ],
                "published": [
                    "2023-10-01T10:08:11+00:00"
                ],
                "content": [
                    {
                        "html": "<a href=\"https://www.jvt.me/posts/2023/09/30/tweetus-deletus/\">shared this.</a>",
                        "value": "shared this."
                    }
                ],
                "author": [
                    {
                        "type": [
                            "h-card"
                        ],
                        "properties": {
                            "uid": [
                                "https://mastodon.nl/users/ericdere"
                            ],
                            "name": [
                                "Eric de Redelijkheid :fedi:"
                            ],
                            "nickname": [
                                "ericdere"
                            ],
                            "url": [
                                "https://mastodon.nl/@ericdere"
                            ],
                            "photo": [
                                {
                                    "value": "https://mastodon.nl/system/accounts/avatars/109/371/631/528/265/180/original/2083842287fc1e33.jpeg",
                                    "alt": ""
                                },
                                {
                                    "value": "https://mastodon.nl/system/accounts/headers/109/371/631/528/265/180/original/5fd07b05a3306a82.jpg",
                                    "alt": ""
                                }
                            ]
                        },
                        "value": "Eric de Redelijkheid :fedi:"
                    }
                ]
            }
        }
    ],
    "rels": {},
    "rel-urls": {},
    "debug": {
        "package": "https://packagist.org/packages/mf2/mf2",
        "source": "https://github.com/indieweb/php-mf2",
        "version": "v0.5.0",
        "note": [
            "This output was generated from the php-mf2 library available at https://github.com/indieweb/php-mf2",
            "Please file any issues with the parser at https://github.com/indieweb/php-mf2/issues",
            "Using the Masterminds HTML5 parser"
        ]
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions