Created
July 22, 2025 20:39
-
-
Save mernen/8412ef8e3f6288f75a18019ea92242dd to your computer and use it in GitHub Desktop.
Example JSON Feed with `<img srcset>`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "https://jsonfeed.org/version/1.1", | |
"title": "xkcd.com with 2x", | |
"home_page_url": "https://xkcd.com/", | |
"icon": "https://xkcd.com/favicon.ico", | |
"author": { | |
"name": "Randall Munroe" | |
}, | |
"items": [ | |
{ | |
"id": "https://xkcd.com/3118/", | |
"content_html": "<img src=\"https://imgs.xkcd.com/comics/inaturalist_animals_and_plants.png\" title=\"Washington, DC: Eastern gray squirrel, Amur honeysuckle. Puerto Rico: Crested anole, sea grape. US as a whole: Mallard, eastern poison ivy.\" alt=\"Washington, DC: Eastern gray squirrel, Amur honeysuckle. Puerto Rico: Crested anole, sea grape. US as a whole: Mallard, eastern poison ivy.\" srcset=\"https://imgs.xkcd.com/comics/inaturalist_animals_and_plants_2x.png 2x\">", | |
"url": "https://xkcd.com/3118/", | |
"title": "iNaturalist Animals and Plants", | |
"image": "https://imgs.xkcd.com/comics/inaturalist_animals_and_plants_2x.png", | |
"date_modified": "2025-07-21T00:00:00.000Z", | |
"date_published": "2025-07-21T00:00:00.000Z" | |
}, | |
{ | |
"id": "https://xkcd.com/3117/", | |
"content_html": "<img src=\"https://imgs.xkcd.com/comics/replication_crisis.png\" title=\"Maybe encouraging the publication of null results isn't enough--maybe we need a journal devoted to publishing results the study authors find personally annoying.\" alt=\"Maybe encouraging the publication of null results isn't enough--maybe we need a journal devoted to publishing results the study authors find personally annoying.\" srcset=\"https://imgs.xkcd.com/comics/replication_crisis_2x.png 2x\">", | |
"url": "https://xkcd.com/3117/", | |
"title": "Replication Crisis", | |
"image": "https://imgs.xkcd.com/comics/replication_crisis_2x.png", | |
"date_modified": "2025-07-18T00:00:00.000Z", | |
"date_published": "2025-07-18T00:00:00.000Z" | |
}, | |
{ | |
"id": "https://xkcd.com/3116/", | |
"content_html": "<img src=\"https://imgs.xkcd.com/comics/echo_chamber.png\" title=\"This is almost as bad as the time I signed up for a purely partisan fishing expedition.\" alt=\"This is almost as bad as the time I signed up for a purely partisan fishing expedition.\" srcset=\"https://imgs.xkcd.com/comics/echo_chamber_2x.png 2x\">", | |
"url": "https://xkcd.com/3116/", | |
"title": "Echo Chamber", | |
"image": "https://imgs.xkcd.com/comics/echo_chamber_2x.png", | |
"date_modified": "2025-07-16T00:00:00.000Z", | |
"date_published": "2025-07-16T00:00:00.000Z" | |
}, | |
{ | |
"id": "https://xkcd.com/3115/", | |
"content_html": "<img src=\"https://imgs.xkcd.com/comics/unsolved_physics_problems.png\" title=\"'Tin pest' makes more sense to me. Tin just doesn't want to be locked down in a shape like that. I get it. But why would any metal want to grow hair??\" alt=\"'Tin pest' makes more sense to me. Tin just doesn't want to be locked down in a shape like that. I get it. But why would any metal want to grow hair??\" srcset=\"https://imgs.xkcd.com/comics/unsolved_physics_problems_2x.png 2x\">", | |
"url": "https://xkcd.com/3115/", | |
"title": "Unsolved Physics Problems", | |
"image": "https://imgs.xkcd.com/comics/unsolved_physics_problems_2x.png", | |
"date_modified": "2025-07-14T00:00:00.000Z", | |
"date_published": "2025-07-14T00:00:00.000Z" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment