From 4133e610432188d7501544fb3a5b3638470737cf Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 24 Apr 2015 16:24:54 -0400 Subject: [PATCH] Change references of m.reddit.com to .mobile --- _posts/2013-06-04-w3m-reddit.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_posts/2013-06-04-w3m-reddit.md b/_posts/2013-06-04-w3m-reddit.md index ac9f791..c21aab3 100644 --- a/_posts/2013-06-04-w3m-reddit.md +++ b/_posts/2013-06-04-w3m-reddit.md @@ -17,17 +17,17 @@ reddit. However, I kind of got tired of viewing reddit through w3m, the header alone is a few pages long to scroll through, and the CSS for the comments doesn't load so there isn't any sense of threading. But, then I discovered reddit's mobile -website: [http://m.reddit.com](http://m.reddit.com), and it looks absolutely +website: [http://reddit.com/.mobile](http://reddit.com/.mobile), and it looks absolutely beautiful in w3m. In fact, I think I prefer it to the normal website in any modern browser; there are no distractions, just pure content. m.reddit.com rendered in w3m In order to get cortex to open the mobile version of reddit, I made a bash -script wrapper around w3m that takes urls and replaces `"http://reddit.com"` and -`"http://www.reddit.com"` with `"http://m.reddit.com"` before passing them to -w3m (as well as fixing a double forward slash error in the comment uri cortex -outputs that desktop reddit accepts but mobile reddit 404s on). The script: +script wrapper around w3m that takes urls and appends `".mobile"` to the end of +reddit urls before passing them to w3m (as well as fixing a double forward slash +error in the comment uri cortex outputs that desktop reddit accepts but mobile +reddit 404s on). The script: ```bash #!/bin/bash