Skip to main content

Posts

Showing posts with the label formatting

Finding out of date formatting codes in Discogs

Like many other websites Discogs allows you to use certain formatting codes that is then automatically expanded. For example, to link to a release you can use [r000000] (where of course "000000" should be a real release number) which is then expanded to a link to the release. There are also other formatting codes . The benefit is that if necessary Discogs can rearrange their infrastructure and then the links will (or at least should) still be working. Unfortunately they don't have it implemented correctly everywhere (yet), as on the iOS app it doesn't seem to be working (bug report has been sent): These codes are not automatically updated when releases are merged, or removed and then the links basically become useless. So I was wondering: how many releases are there with formatting codes to releases that no longer exist: how many dangling pointers are still there? I grabbed the latest data dump and first looked at all the existing releases that were not drafts...