Editing Transcript
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | Most [[xkcd]] comics have a transcript posted on xkcd. This info covers details like the comics title, the date and link to the image and the [[ | + | Most [[xkcd]] comics have a transcript posted on xkcd. This info covers details like the comics title, the date and link to the image and the [[title text]]. The [https://www.xkcd.com/about/ xkcd about page] says: |
{{Quote|Is there an interface for automated systems to access comics and metadata? | {{Quote|Is there an interface for automated systems to access comics and metadata? | ||
Line 7: | Line 7: | ||
==End of transcripts== | ==End of transcripts== | ||
+ | {{incomplete|Does anybody know why the code block at the end of the page doesn't work? I've tried everything and it still looks like plain text}} | ||
Using the mentioned method, the last available transcript on xkcd for [[1608: Hoverboard]] can be found at https://xkcd.com/1608/info.0.json. However, an error occurred during the combination of transcripts with other details. The subsequent two comics after Hoverboard do not have transcripts, only the accompanying details such as title, date, and title text. Then, the transcripts resumed, but for the comic released two numbers prior. Therefore, the transcript for [[1609: Food Combinations]], which should have been on https://xkcd.com/1609/info.0.json, was instead "released" on https://xkcd.com/1611/info.0.json, where the transcript for [[1611: Baking Soda and Vinegar]] should have been. The pattern continued, and the last comic with a transcript is [[1674: Adult]], with the transcript for that comic found three comics later under [[1677: Contrails]] on https://xkcd.com/1677/info.0.json. After [[1674: Adult]], no more transcripts have been provided. | Using the mentioned method, the last available transcript on xkcd for [[1608: Hoverboard]] can be found at https://xkcd.com/1608/info.0.json. However, an error occurred during the combination of transcripts with other details. The subsequent two comics after Hoverboard do not have transcripts, only the accompanying details such as title, date, and title text. Then, the transcripts resumed, but for the comic released two numbers prior. Therefore, the transcript for [[1609: Food Combinations]], which should have been on https://xkcd.com/1609/info.0.json, was instead "released" on https://xkcd.com/1611/info.0.json, where the transcript for [[1611: Baking Soda and Vinegar]] should have been. The pattern continued, and the last comic with a transcript is [[1674: Adult]], with the transcript for that comic found three comics later under [[1677: Contrails]] on https://xkcd.com/1677/info.0.json. After [[1674: Adult]], no more transcripts have been provided. | ||
This python script (public domain) can be used to quickly verify if and where new transcripts have been added: | This python script (public domain) can be used to quickly verify if and where new transcripts have been added: | ||
− | < | + | <nowiki>#!/usr/bin/env python3 |
import requests | import requests | ||
import sys | import sys | ||
Line 28: | Line 29: | ||
if not new_transcripts: | if not new_transcripts: | ||
− | print("no new transcripts have been added")</ | + | print("no new transcripts have been added")</nowiki> |
− | [[Category:Design of xkcd | + | [[Category:Design of xkcd]] |
{{xkcdmeta}} | {{xkcdmeta}} |