Skip to content

Instantly share code, notes, and snippets.

@mrtcode mrtcode/different_outputs.md Secret
Created Dec 6, 2018

Embed
What would you like to do?

With domino package:

    {
        "key": "WWW3BI9W",
        "version": 0,
        "itemType": "magazineArticle",
        "creators": [
            {
                "firstName": "David",
                "lastName": "Remnick",
                "creatorType": "author"
            }
        ],
        "tags": [
            {
                "tag": "2012 election",
                "type": 1
            },
            {
                "tag": "arab league",
                "type": 1
            },
            {
                "tag": "arab spring",
                "type": 1
            },
            {
                "tag": "barack obama",
                "type": 1
            },
            {
                "tag": "death",
                "type": 1
            },
            {
                "tag": "dictators",
                "type": 1
            }
        ],
        "title": "Magazine, Comment, 2012 election, arab league, arab spring, barack obama, death, dictators",
        "url": "https://www.newyorker.com/magazine/2011/10/31/foreign-campaigns",
        "date": "2011-10-20T04:00:00.000Z",
        "volume": "www.newyorker.com",
        "issue": "Magazine, Comment, 2012 election, arab league, arab spring, barack obama, death, dictators",
        "abstractNote": "{\"id\":\"5911420976b9ca4b4bbd18e7\",\"issueDate\":\"October 31, 2011\",\"dek\":\"\",\"section\":\"Comment\",\"url\":\"https://www.newyorker.com/magazine/2011/10/31/foreign-campaigns\",\"image\":{\"@type\":\"ImageObject\",\"contentUrl\":\"https://www.newyorker.com/magazine/2011/10/31/foreign-campaigns\",\"url\":\"https://media.newyorker.com/photos/590968132179605b11ad662e/4:3/w_960,c_limit/111031_talkcmmntillus_g2048.jpg\"}}",
        "language": "{\"id\":\"5911420976b9ca4b4bbd18e7\",\"issueDate\":\"October 31, 2011\",\"dek\":\"\",\"section\":\"Comment\",\"url\":\"https://www.newyorker.com/magazine/2011/10/31/foreign-campaigns\",\"image\":{\"@type\":\"ImageObject\",\"contentUrl\":\"https://www.newyorker.com/magazine/2011/10/31/foreign-campaigns\",\"url\":\"https://media.newyorker.com/photos/590968132179605b11ad662e/4:3/w_960,c_limit/111031_talkcmmntillus_g2048.jpg\"}}",
        "pages": "https://media.newyorker.com/photos/590968132179605b11ad662e/16:9/w_1200,h_630,c_limit/111031_talkcmmntillus_g2048.jpg?mbid=social_retweet-{\"id\":\"5911420976b9ca4b4bbd18e7\",\"issueDate\":\"October 31, 2011\",\"dek\":\"\",\"section\":\"Comment\",\"url\":\"https://www.newyorker.com/magazine/2011/10/31/foreign-campaigns\",\"image\":{\"@type\":\"ImageObject\",\"contentUrl\":\"https://www.newyorker.com/magazine/2011/10/31/foreign-campaigns\",\"url\":\"https://media.newyorker.com/photos/590968132179605b11ad662e/4:3/w_960,c_limit/111031_talkcmmntillus_g2048.jpg\"}}",
        "ISSN": "0028-792X",
        "extra": "PMID: @NewYorker\nDOI: The Republican professionals know it. The numbers show that more than half the country identifies the economy as the most pressing issue of the campaign; …",
        "libraryCatalog": "www.newyorker.com",
        "accessDate": "2018-12-06T09:44:08Z"
    }
]

JSDOM:

[
    {
        "key": "X48Y9CUH",
        "version": 0,
        "itemType": "magazineArticle",
        "creators": [
            {
                "firstName": "David",
                "lastName": "Remnick",
                "creatorType": "author"
            }
        ],
        "tags": [
            {
                "tag": "2012 election",
                "type": 1
            },
            {
                "tag": "arab league",
                "type": 1
            },
            {
                "tag": "arab spring",
                "type": 1
            },
            {
                "tag": "barack obama",
                "type": 1
            },
            {
                "tag": "death",
                "type": 1
            },
            {
                "tag": "dictators",
                "type": 1
            }
        ],
        "title": "Foreign Campaigns",
        "url": "https://www.newyorker.com/magazine/2011/10/31/foreign-campaigns",
        "abstractNote": "The Republican professionals know it. The numbers show that more than half the country identifies the economy as the most pressing issue of the campaign; …",
        "language": "en",
        "libraryCatalog": "www.newyorker.com",
        "accessDate": "2018-12-06T10:11:47Z",
        "date": "2011-10-20T04:00:00.000Z",
        "ISSN": "0028-792X"
    }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.