> I agree we can customize output for mobile devices, but it shouldn't > require a separate command. Instead, the site (or skin or whatever) > can detect that the request is coming from a mobile device and alter > the display accordingly.
While "intelligent" computers are useful at times, they make me nervous quite often. I hate to type "www.google.com" in and having pages served in italian, and/or being served with ads about my country when I search through www.google.fr. I would like to be able and type an URL and have mobile pages served even if I'm on a regular pc. Just like you do with http://m.google.com/ So, I would prefer to always have http://www.example.com/wiki/pmwiki.php?n=Main.HomePage?action=browse (for regular pages) http://www.example.com/wiki/pmwiki.php?n=Main.HomePage?action=mobile (for mobiles) But maybe you mean that there should be a way to just sniff the user agent and make the switch towards mobiles, while always retaining the ability to manually force ?action=mobile if desired? Yes, nice, but even too nice for a start. Too complicated for my skills, anyway. Would anything like this http://dev.mobi/article/lightweight-device-detection-php be of any use...? > Just set $ActionSkin['mobile'] to the name of the skin(s) > you want to use when a page is requested with ?action=mobile. > (That's how ?action=print works, see line 18 of scripts/skins.php .) I'll try, as soon as I get to an ftp: enabled pc... Thanks Luigi _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
