Mobile readers

If you read pwnwear from a mobile device, you will like the new system I’ve implemented which renders it into a simpler and much faster site.

There’s a slight bug for some devices which means the home page doesn’t show up in the mobilePress way. Other pages within it detect the browser device and render as it should.

To get around this on your phone, bookmark and navigate to this url instead:

http://pwnwear.com/?mobile  or link

Another way to read this and other death knight sites is to use the RSS feed for this collected.at page, which includes pwnwear and other authors too.

Of course, you can subscribe to pwnwear’s RSS directly which gives me a nice buzzy feeling inside.

Related Posts:

3 comments to Mobile readers

  • Nice plugin. I was just going to comment “/yoink” and install it on my blog as well, but I’ve found that it conflicts with WP-Supercache. The cached index page is served by the webserver without ever loading WordPress, so if the person who refreshes the cache happens to come from a mobile device, everyone else will see the mobile version for an hour until the cache expires.

    Something else to bear in mind is that once you choose to visit the mobile site from a browser (as I did via the link in your post), you will continue to see the mobile site, even if you follow the normal link or type the address in directly. I assume it’s setting a cookie somewhere, but it was a bit disconcerting at first.

    • Gravity
      Twitter: gravitydk

      I don’t think it conflicts with Supercache anymore. Latest version of supercache has a ‘mobile aware’ htaccess redirect which appears to be correct to me (see below), routing only the appropriate users. However, I’ve also noticed that if I forced it to browse ?mobile mode, it remains so, so agree there’s a cookie. Could you check the date of your source on the supercache conflict?

      Matticus uses it to, fwiw.

      RewriteCond %{HTTP_USER_AGENT} !^.*(Android|2.0\ MMP|240x320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*

      • Ah, you’re right.  I have to enable that option, then figure out how to convert the rewrite condition from Apache format to nginx, the web server I use.  Unfortunately, that means that as WP-SuperCache updates its list of mobile user agents, I have to keep updating the webserver config.  Annoying, but doable.
         

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>