The web browser has a signature (user-agent), and that's what's used to provide the mobile version to the mobile web browser, the one for the kindle is surely not in there, that's why you're presented with the standard theme.
That's not possible yet. If you provide it, there's a good chance it will be added in the version (2.0.18b3 is just around the corner), so the full release might not take too long now.
whu606I'm not a SuperHero; I just like wearing tights...MVP
Slight quirk in this 'Question' format is that I'm having to 'reject' perfectly good, and very helpful responses, because the issue isn't fully resolved.
For the moment, you can try to edit your library/core/functions.general.php and in the IsMobile function (around line 1046 for latest stable), after "opera m" add "|kindle"
if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|opera m)/i', $UserAgent)) if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|opera m|kindle)/i', $UserAgent))
If it works OK, I'll do the changes once back home and do a pull request so it goes into the next version.
Okay, so my understanding is that there isn't just a mobile url for each install? I'm having an issue with mobile vs forced embed that i'm trying to find a workaround for.
Example: We can't just go to mysite.com/forums/mobile.php as opposed to mysite.com/forums/index.php?
Answers
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •It's a proprietary format which delivers pages OK, without Flash support.
My main site comes up fine on the Kindle, but to be seen properly you need to zoom.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I understand that, but, for example, on the BBC or Guardian you have the option of choosing the mobile url.
I just wondered if i could 'force' the mobile url onto the Kindle.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •If you provide it, there's a good chance it will be added in the version (2.0.18b3 is just around the corner), so the full release might not take too long now.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I assume you mean the 'user-agent' for Kindle.
How would I provide it?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •It is this:
Kindle 3 User Agent:
Mozilla/5.0 (Linux; U; en-US) AppleWebKit/528.5+ (KHTML, like Gecko, Safari/538.5+) Version/4.0 Kindle/3.0 (screen 600x800; rotate)
Who do I report it to?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|opera m)/i', $UserAgent))if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|opera m|kindle)/i', $UserAgent))If it works OK, I'll do the changes once back home and do a pull request so it goes into the next version.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks very much for your help.
I've added that line as you suggested, but as far as I can tell it is still the standard page that is served up to the Kindle atm.
I've 'rejected' your answer - but think this may have gone as far as it can here.
If that is the case, if you let me know I'll accept your next answer and the question can be closed.
Thanks again for your help.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •That did the trick.
Thanks so much for your time and help.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Example: We can't just go to mysite.com/forums/mobile.php as opposed to mysite.com/forums/index.php?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Maybe start a new question and reference this one?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •