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

Web => AP quote posts #1146

Open
snarfed opened this issue Jun 22, 2024 · 0 comments
Open

Web => AP quote posts #1146

snarfed opened this issue Jun 22, 2024 · 0 comments

Comments

@snarfed
Copy link
Owner

snarfed commented Jun 22, 2024

@jamietanna bravely tried a web => AP quote post, and it didn't quite work. Original report in #461 (comment). Original post at https://www.jvt.me/mf2/2024/06/o0vwu/ has this mf2:

{
  "type": ["h-entry"],
  "properties": {
    "url": ["https://www.jvt.me/mf2/2024/06/o0vwu/"],
    "published": ["2024-06-22T10:07:00+0100"],
    "content": "...",
    "value": "https://fedi.simonwillison.net/@simon/112657932893424962"
    "quotation-of": [{
      "type": ["h-cite"],
      "properties": {
        "url": ["https://fedi.simonwillison.net/@simon/112657932893424962"]
        "name": ["Simon Willison (@simon@simonwillison.net)"],
        "summary": ["(I'm increasingly suspicious that hardly anyone ever clicks on inline links in text like this, but that's not going to stop me from including them!)"]
    }
  }],
  "..."
}

...which BF converted to this AS1, notably with type: article instead of note, so it didn't continue to interpret it as a quote:

{
  "objectType": "note",
  "id": "https://www.jvt.me/mf2/2024/06/o0vwu/"
  "url": "https://www.jvt.me/mf2/2024/06/o0vwu/",
  "published": "2024-06-22T10:07:00+01:00",
  "content": "...",
  "attachments": [{
    "objectType": "article",
    "displayName": "Simon Willison (@simon@simonwillison.net)",
    "summary": "(I'm increasingly suspicious that hardly anyone ever clicks on inline links in text like this, but that's not going to stop me from including them!)",
    "url": "https://fedi.simonwillison.net/@simon/112657932893424962"
  }],
  "..."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant