scribe/src
Edward Loveall bb94fb41b1
Support medium's redirectUrl query param
When a post has a gi= query param, Medium makes a global_identifier
"query". This redirects via a 307 temporary redirect to a url that
looks like this:

https://medium.com/m/global-identity?redirectUrl=https%3A%2F%2Fexample.c
om%2Fmy-post-000000000000

Previously, scribe looked for the Medium post id in the url's path, not
it's query params since query params can include other garbage like
medium_utm (not related to medium.com). Now it looks first for the post
id in the path, then looks to the redirectUrl as a fallback.
2021-10-11 12:04:17 -04:00
..
actions Support medium's redirectUrl query param 2021-10-11 12:04:17 -04:00
classes Improve title parsing 2021-10-03 18:14:46 -04:00
clients Render embedded content 2021-09-15 15:18:08 -04:00
components Embed widths are now the same width as all content 2021-09-25 13:26:10 -04:00
css Add instructions on how to view a post 2021-10-03 17:21:17 -04:00
emails Initial app 2021-05-01 17:03:38 -04:00
js Initial app 2021-05-01 17:03:38 -04:00
models Improve title parsing 2021-10-03 18:14:46 -04:00
operations Initial app 2021-05-01 17:03:38 -04:00
pages Add automatic redirect instructions to homepage 2021-10-10 15:05:56 -04:00
queries Initial app 2021-05-01 17:03:38 -04:00
serializers Initial app 2021-05-01 17:03:38 -04:00
app.cr First step rendering a page 2021-07-04 16:28:03 -04:00
app_database.cr Initial app 2021-05-01 17:03:38 -04:00
app_server.cr Initial app 2021-05-01 17:03:38 -04:00
constants.cr First step rendering a page 2021-07-04 16:28:03 -04:00
scribe.cr Initial app 2021-05-01 17:03:38 -04:00
shards.cr Render embedded content 2021-09-15 15:18:08 -04:00
start_server.cr Initial app 2021-05-01 17:03:38 -04:00