Where can I find a script or plugin for MT 4.0 to recognize users on mobile devices and redirect them to the mobile version of my website?
Thanks for the help!
Reported on Movable Type 4.0x
Where can I find a script or plugin for MT 4.0 to recognize users on mobile devices and redirect them to the mobile version of my website?
Thanks for the help!
Reported on Movable Type 4.0x
http://iphonewebdev.com/examples/
<script language=javascript> <!-- if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) { location.href='/mobile.html'; } --> </script>Bah, hit Submit too soon.
You can use the same script to sniff for other User Agents.
Thanks Ken.
Is there a list where I could find names of other user-agents to place in there?
Google is your friend.
http://www.zytrax.com/tech/web/mobile_ids.html
Hey guys, I'm wondering if you could help out before I repost a new topic:
I'm currently looking for an easy mobile friendly solution for our blog. We're running MT 4.1 with custom templates, but basically looking to get the ../blog/index.shtml or some variation of the ATOM feed in a mobile friendly form. Byrne's Mid-Century Mobile theme is all I've found and I'm having a slew of JS errors when I try to publish on a test blog.
Is this something everyone just has to build from scratch? Or do we just upgrade to a newer version?
It seems like MT is really missing this key element.