Skip to content

Instantly share code, notes, and snippets.

@commuterjoy
Last active October 5, 2016 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save commuterjoy/409ff3f39508b6aac10b9fb56f32f54e to your computer and use it in GitHub Desktop.
Save commuterjoy/409ff3f39508b6aac10b9fb56f32f54e to your computer and use it in GitHub Desktop.
ft.com URL tidy up

Old ft.com URLs

http://www.ft.com/cms/s/0/d3fe0b06-9e43-11e3-b429-00144feab7de.html

  • http://
  • www.ft.com
  • /cms -> the thing that published the article
  • /s -> who knows?
  • /0 -> the subscription tier
  • /d3fe0b06-9e43-11e3-b429-00144feab7de -> the CMS key of the content
  • .html -> the document format

New ft.com URLs

Tidier ...

https://www.ft.com/content/d3fe0b06-9e43-11e3-b429-00144feab7de

And we have an API that lets us translate ^^ to something more human readable,

https://www.ft.com/content/sevastopol-yearns-for-mother-russia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment