Hello,
Just wanted to say that the transcript in the info.0.json is from two comics ago (i.e. 1639/info.0.json describes #1637).
JSON transcripts off by two
Moderators: Moderators General, Prelates, Magistrates
Re: JSON transcripts off by two
Confirming for webpages as well: Looking at them with userstyle revealing transcripts [1], last comic with proper transcript was Hoverboard #1608, next two have their empty but in fact they appears shifted as described by OP. I.e. transcript for Food Combinations #1609 appears below Baking Soda and Vinegar #1611.
[1] userstyles.org/styles/84466/xkcd-show-transcript
[1] userstyles.org/styles/84466/xkcd-show-transcript
Re: JSON transcripts off by two
Confirmed. This problem is totally messing with the XKCD transcriber bot on Reddit.
Re: JSON transcripts off by two
Confirmed again, if it helps. The bug seems to skip some transcripts, haven't worked out the algorithm yet.
Re: JSON transcripts off by two
It's also really annoying for xkcd apps like Easy xkcd. It has a search function that also checks the transcripts, but now gives wrong search results for the newer comics.
Re: JSON transcripts off by two
Offset increased to three: e.g. transcript for 1674 is displayed under 1677.
I hope it is not the second kind of bug from 1700.
I hope it is not the second kind of bug from 1700.
-
- Posts: 1
- Joined: Sun Aug 14, 2016 10:37 pm UTC
Re: JSON transcripts off by two
Just to clarify if people read this later:
transcriptComic will be the comic with the correct transcript. Also note that comics after 1678 (inclusive) do not have transcripts (yet) and transcriptComic could be a comic that doesn't exist.
This means that (until this is fixed) comics 1608 (Hoverboard) and 1663 (Garden) do not have transcripts and are messing up all the other transcripts. These are the two interactive comics that are wierd, which is probably why it is broken.
Code: Select all
if 1662 >= comicNumber AND comicNumber >= 1608 {
transcriptComic = comicNumber + 2
} else if comicNumber >= 1663 {
transcriptComic = comicNumber + 3
} else {
transcriptComic = comicNumber
}
This means that (until this is fixed) comics 1608 (Hoverboard) and 1663 (Garden) do not have transcripts and are messing up all the other transcripts. These are the two interactive comics that are wierd, which is probably why it is broken.
Who is online
Users browsing this forum: Yahoo [Bot] and 3 guests