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

e-summary isn't being parsed #109

Open
jamietanna opened this issue Jul 10, 2022 · 0 comments
Open

e-summary isn't being parsed #109

jamietanna opened this issue Jul 10, 2022 · 0 comments

Comments

@jamietanna
Copy link
Contributor

jamietanna commented Jul 10, 2022

Posts such as https://www.jvt.me/mf2/2022/07/nvjcm/ are not parsed to their full content, as they use e-summary not p-summary

https://xray.p3k.io/parse?url=https%3A%2F%2Fwww.jvt.me%2Fmf2%2F2022%2F07%2Fnvjcm%2F&pretty=true:

{
    "data": {
        "type": "entry",
        "published": "2022-07-07T16:40:16Z",
        "url": "https://www.jvt.me/mf2/2022/07/nvjcm/",
        "author": {
            "type": "card",
            "name": "Jamie Tanna",
            "url": "https://www.jvt.me",
            "photo": "https://www.jvt.me/img/profile.png"
        },
        "post-type": "note",
        "rels": {
            "canonical": "https://www.jvt.me/mf2/2022/07/nvjcm/"
        }
    },
    "url": "https://www.jvt.me/mf2/2022/07/nvjcm/",
    "code": 200,
    "source-format": "mf2+html"
}

MF2:

{
  "items": [
    {
      "type": [
        "h-entry"
      ],
      "properties": {
        "author": [
          {
            "value": "Jamie Tanna",
            "type": [
              "h-card"
            ],
            "properties": {
              "name": [
                "Jamie Tanna"
              ],
              "photo": [
                {
                  "alt": "Jamie Tanna's profile image",
                  "value": "https://www.jvt.me/img/profile.png"
                }
              ],
              "url": [
                "https://www.jvt.me"
              ]
            }
          }
        ],
        "listen-of": [
          {
            "value": "https://changelog.com/gotime/210",
            "type": [
              "h-cite"
            ],
            "properties": {
              "featured": [
                "https://cdn.changelog.com/static/images/share/twitter-gotime-a47cdd7bb3e3357398eda827d9cc3615.png"
              ],
              "name": [
                "Mat asks the Go Team anything (Go Time #210)"
              ],
              "summary": [
                "You had questions, the Go Team had answers! Topics covered include generics (of course), governance (of course), Go 2, text editors, GitHub Copilot, garbage collection, and more."
              ],
              "url": [
                "https://changelog.com/gotime/210"
              ]
            }
          }
        ],
        "published": [
          "2022-07-07T16:40:16Z"
        ],
        "summary": [
          {
            "html": "Listened to\n<span class=\"u-listen-of h-cite\"><a class=\"u-url\" href=\"https://changelog.com/gotime/210\"><span class=\"p-name\">Mat asks the Go Team anything (Go Time #210)</span></a>\n<details open=\"\"><summary>Post details</summary><blockquote class=\"p-summary\">You had questions, the Go Team had answers! Topics covered include generics (of course), governance (of course), Go 2, text editors, GitHub Copilot, garbage collection, and more.</blockquote><img class=\"u-featured\" src=\"https://cdn.changelog.com/static/images/share/twitter-gotime-a47cdd7bb3e3357398eda827d9cc3615.png\" loading=\"lazy\"></details><p></p></span>",
            "value": "Listened to\nMat asks the Go Team anything (Go Time #210)\nPost detailsYou had questions, the Go Team had answers! Topics covered include generics (of course), governance (of course), Go 2, text editors, GitHub Copilot, garbage collection, and more. https://cdn.changelog.com/static/images/share/twitter-gotime-a47cdd7bb3e3357398eda827d9cc3615.png"
          }
        ],
        "uid": [
          "https://www.jvt.me/mf2/2022/07/nvjcm/"
        ],
        "url": [
          "https://www.jvt.me/mf2/2022/07/nvjcm/"
        ]
      }
    }
  ],
  "rels": {
    "alternate": [
      "https://www.jvt.me/mf2/2022/07/nvjcm/index.ics"
    ],
    "authorization_endpoint": [
      "https://indieauth.jvt.me/authorize"
    ],
    "canonical": [
      "https://www.jvt.me/mf2/2022/07/nvjcm/"
    ],
    "icon": [
      "https://www.jvt.me/favicon.png"
    ],
    "indieauth": [
      "https://indieauth.jvt.me"
    ],
    "indieauth-metadata": [
      "https://indieauth.jvt.me/.well-known/oauth-authorization-server"
    ],
    "me": [
      "https://gitlab.com/jamietanna",
      "https://github.com/jamietanna",
      "https://twitter.com/jamietanna",
      "https://linkedin.com/in/jamietanna",
      "https://name.pn/jamie-tanna"
    ],
    "micropub": [
      "https://www-api.jvt.me/micropub"
    ],
    "microsub": [
      "https://aperture.p3k.io/microsub/262"
    ],
    "pingback": [
      "https://webmention.io/www.jvt.me/xmlrpc"
    ],
    "shortcut": [
      "https://www.jvt.me/favicon.png"
    ],
    "stylesheet": [
      "https://www.jvt.me/css/style.bec710bb184de7e8c4e4da3f8d162b21cd4b774fc64adbc8e582b885fc05ca92.css",
      "https://www.jvt.me/css/font-awesome.min.761e6a24bdb226a30c2a5788d620299b30fa11b4b050122ffc270b2f187e9c71.css",
      "https://www.jvt.me/css/asciinema-player.237276280f83e1e8dc9112521a15c19a3369ca3dd08769d3cbb3da2cdbe1ffa2.css"
    ],
    "token_endpoint": [
      "https://indieauth.jvt.me/token"
    ],
    "webmention": [
      "https://webmention.io/www.jvt.me/webmention"
    ]
  },
  "rel-urls": {
    "https://aperture.p3k.io/microsub/262": {
      "rels": [
        "microsub"
      ]
    },
    "https://github.com/jamietanna": {
      "rels": [
        "me"
      ],
      "text": " @jamietanna"
    },
    "https://gitlab.com/jamietanna": {
      "rels": [
        "me"
      ],
      "text": " @jamietanna"
    },
    "https://indieauth.jvt.me": {
      "rels": [
        "indieauth"
      ]
    },
    "https://indieauth.jvt.me/.well-known/oauth-authorization-server": {
      "rels": [
        "indieauth-metadata"
      ]
    },
    "https://indieauth.jvt.me/authorize": {
      "rels": [
        "authorization_endpoint"
      ]
    },
    "https://indieauth.jvt.me/token": {
      "rels": [
        "token_endpoint"
      ]
    },
    "https://linkedin.com/in/jamietanna": {
      "rels": [
        "me"
      ],
      "text": " Jamie Tanna"
    },
    "https://name.pn/jamie-tanna": {
      "rels": [
        "me"
      ],
      "text": "My name and pronounciation"
    },
    "https://twitter.com/jamietanna": {
      "rels": [
        "me"
      ],
      "text": " @jamietanna"
    },
    "https://webmention.io/www.jvt.me/webmention": {
      "rels": [
        "webmention"
      ]
    },
    "https://webmention.io/www.jvt.me/xmlrpc": {
      "rels": [
        "pingback"
      ]
    },
    "https://www-api.jvt.me/micropub": {
      "rels": [
        "micropub"
      ]
    },
    "https://www.jvt.me/css/asciinema-player.237276280f83e1e8dc9112521a15c19a3369ca3dd08769d3cbb3da2cdbe1ffa2.css": {
      "rels": [
        "stylesheet"
      ],
      "media": "none"
    },
    "https://www.jvt.me/css/font-awesome.min.761e6a24bdb226a30c2a5788d620299b30fa11b4b050122ffc270b2f187e9c71.css": {
      "rels": [
        "stylesheet"
      ],
      "media": "none"
    },
    "https://www.jvt.me/css/style.bec710bb184de7e8c4e4da3f8d162b21cd4b774fc64adbc8e582b885fc05ca92.css": {
      "rels": [
        "stylesheet"
      ]
    },
    "https://www.jvt.me/favicon.png": {
      "rels": [
        "shortcut",
        "icon"
      ],
      "type": "image/png"
    },
    "https://www.jvt.me/mf2/2022/07/nvjcm/": {
      "rels": [
        "canonical"
      ]
    },
    "https://www.jvt.me/mf2/2022/07/nvjcm/index.ics": {
      "rels": [
        "alternate"
      ],
      "title": "Jamie Tanna | Software Engineer",
      "type": "text/calendar"
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant