home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 777821383

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/dogsheep/evernote-to-sqlite/issues/9#issuecomment-777821383 https://api.github.com/repos/dogsheep/evernote-to-sqlite/issues/9 777821383 MDEyOklzc3VlQ29tbWVudDc3NzgyMTM4Mw== 9599 2021-02-11T22:01:28Z 2021-02-11T22:01:28Z MEMBER

Aha! I think I've figured out what's going on here.

The CData blocks containing the notes look like this:

<![CDATA[<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd"><en-note><div>This note includes two images.</div><div><br /></div>...

The DTD at http://xml.evernote.com/pub/enml2.dtd includes some entities:

```

%HTMLlat1;

%HTMLsymbol;

%HTMLspecial; `` So I need to be able to handle all of those different entities. I think I can do that usinghtml.entities.entitydefs` from the Python standard library, which looks a bit like this:

```python {'Aacute': 'Á', 'aacute': 'á', 'Aacute;': 'Á', 'aacute;': 'á', 'Abreve;': 'Ă', 'abreve;': 'ă', 'ac;': '∾', 'acd;': '∿',

...

} ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
748372469  
Powered by Datasette · Queries took 1.894ms · About: github-to-sqlite