|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
||||
|
||||
|
Please test my Device Detection script
Hello, Finally managed to get something online. Now I need some testing done to see if the damn thing works as it should.
I have got a couple of simle web pages that should be visible in an html browser or mobile phone with either xhtml capabilities or wml. Could people check to see whether they infact can access the site specifically through a handheld device. I have only emulated this, it works, but emulation is one thing, real life another. As I said there are only a couple of very basic pages. Here are the links: Home page /* Lnk Removed */ Please state what device you are using and any problems if any experience. Thanks in advance ![]()
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ Last edited by jabba_29 : November 27th, 2005 at 08:22 AM. |
|
#2
|
||||
|
||||
|
Hey Jamie,
Blackberry 7100T Browsed the Home Page and got Parse error, unexpected T_STRING in /home/jamieb/www/site/files/mhtml.php on line1 Browsed the CV page and got HTTP Error 500: Internal Server Error |
|
#3
|
||||
|
||||
|
Hi, Thanks.
What time did you test(just before posting)? I had reuploaded the files at some point again yesterday. Couldn't find your IP in my log files (maybe they will appear later). At least the detection actually work though, mhtml.php would have been the correct template file. I have amended code, so that parse error should be erradicated (although I haven't been able to reproduce). Server error unknown, need to check my log files. |
|
#4
|
||||
|
||||
|
Moto v300 here and both seem to work fine. didn't have time to poke around though. I'll let you know if I have any problems.
|
|
#5
|
||||
|
||||
|
Thanks vrspectre, does your phone support xhtml or where you browsing the wap site?
|
|
#6
|
||||
|
||||
|
My phone does support XML and XHTML I'm not sure how to tell which version of your site I was viewing though.
HDS Express link on main page won't load. I get "Requested entity to large" which means either the WML/HHTML file is to big or it's in HTML. Only just tried it on the Frankie link. When trying to access "My News [n]" and "My Pictures [p]" It takes me to the page to display the months (like January 2005). But when I click a month to view that month’s content it reloads the same page and doesn't go anywhere. But when I use the first "skip to content" link on the news it loads the most recent news. When using that link on the "my pics" page It takes me to a different month list of the, but they still don't take me to the pics for that month. They take me back to the main frankies page. If I use the skip to content now at this point it will take me to the pics from February 2004, however thumbnail for pic 007 doesn't load. And when I click any of the pics, they take me back to the main frankie page. I viewed the URL to see what it was: "http://frankie.227net.com/MyPics/2004/February/004.jpg/" Perhaps you have it set that if it would have a 404 when trying to load a directory that doesn't exist, it loads the main index file again? When the pics load they load quickly, but then my phone browser slows to a creeping crawl. It's so slow to scroll w/ them on the page. This is not the case for other pictures or wap sites. I wonder what file format you use and are you dynamically resizing them, or are the thumbnail images separate images from the larger pictures? Last edited by vrspectre : July 30th, 2005 at 12:08 PM. Reason: spelling |
|
#7
|
||||
|
||||
|
Hi,
Sorry for the late reply - doing a bit of debugging...essentially, the only pages that should be device independent were the ones listed in my first post. I haven't gotten round to doing the other sites yet. HDS is xhtml transitional, content type text/html... Frankie's site is the same me thinks. I think the problem with the images maybe something to do with referrer blocking - ot should redirect to a 404 if the directories don't exist - put again that may be device specific (man, I need to get a new phone). As stated though, the main pages to check where the home page and /* Lnk Removed */. I have put a little test page that prints out whatever accept language is best for your device -> here. Thanks again for your efforts vrspectre & trinisam... any one else out there with a internet connection on their phone? Jamie Last edited by jabba_29 : November 27th, 2005 at 08:23 AM. Reason: links updated |
|
#8
|
||||
|
||||
|
hi jamie, i used a samsugn d500 to take a look at the homepage, it came up and offered me two links, one to the top frame which did nothing when i clicked it and another to the main frame which came back with insufficient memory for this operation.
i'm in the thick of it right now, i will try to fish out the browser detection stuff i have used and post something up here, it's just a rewrite of something i found online but has been okay for me.
__________________
Andy Moore << oh no it's got a blog..... Word Press WAP Plugin with Ad Mob Advertising revenue PHP developer deploying ringtones, mp3 downloads and realtones I'm a geek who's obsessed with stats and gadgets |
|
#9
|
||||
|
||||
|
Frames? Wierd.
This script works in FX. Eg: I have the option to override the accept type in the script. Even without override, IE is HTML, FX is XHTML. When Gelon (what has happened to that site?) was up, using there emulator it did show as wml... |
|
#10
|
||||
|
||||
|
Quick reply before i head out Jamie,
Whenn trying to access your CV page on my blackberry 7100T I get HTTP Error 500: Internal Server Error. |
|
#11
|
||||
|