Re: [WebDNA] I'm stuck... :-(
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102240
interpreted = N
texte = Or I, I can get my cousins fax number and his ex wife has one, so maybe she could check itOn Mar 25, 2009, at 17:56,
wrote:> If you need someone with an iPhone to test it, let me know.>>> I'm using this code right now.>> I have not tested it on every phone imaginable, but it seems to >> work for most smart phones I've tested.... Although it's not tested >> on the iPhone.>>>> [text]accept=[GETMIMEHEADER name=Accept][/text]>> [text]celldetected=[/text]>> [showif [url][accept][/url]=[url]text/vnd.wap.wml[/url]]>> [text]wapagent=T[/text]>> [/showif]>> [showif [wapagent]=T]>> [text]celldetected=T[/text]>> [/showif]>> [showif [celldetected]=T]>> [redirect url=/mobi/index.tpl]>> [/showif]>>>> Matthew A Perosi JewelerWebsites.com>> ------------------------------by Psi Prime------->> Senior Web Developer 323 Union Blvd.>> Totowa, NJ 07512>> Pre-Sales: 888.872.0274>> Service: 973.413.8213>> Training: 973.413.8214>> Fax: 973.413.8217>>>> http://www.jewelerwebsites.com>> http://en.wikipedia.org/wiki/Psi_Prime%2C_Inc>> http://www.psiprime.com>>>>>>>> Rob wrote:>>> Dan,>>>>>> I just got involved due to a technical request, and haven't had >>> much to do with the site involved. I think its just being handled >>> generically, much like yours. I did notice on the newer >>> blackberry's and iphones, it renders correctly, but on the older >>> styles a lot of positional elements are off. It looks like its >>> just set to a standard width of 320. I know the person working on >>> it is on this list, and its up to him if he wishes to expand on it >>> more.>>>>>> The detection was actually the easy part, and even easier now with >>> the list help. I would imagine you could expand on it and detect >>> size as well, but that would probably take a few hours to dump >>> them all in, and months to find them all. With the shelf live of >>> must phones, I think we'll just stick to the newer versions. Here >>> is a link to the file I used, but for the most part, I went thru >>> some of the server logs for the site involved, as the list didn't >>> seem up to date. I haven't even heard of half these things....>>>>>> http://homepage.mac.com/rforest/downloads/mobile.zip>>>>>> More info, as well as files, at this link:>>> http://studiohyperset.wordpress.com/2007/02/05/mobile-redirect-code-discussion-index/>>>>>> And what I'm currently using is this:>>> --------------->>> [If ("[url][browsername][/url]" ^ "iPhone")|("[url][browsername][/ >>> url]" ^ "Blackberry")|("[url][browsername][/url]" ^ "Samsung")| >>> ("[url][browsername][/url]" ^ "Motorola")|("[url][browsername][/ >>> url]" ^ "HTC")|("[url][browsername][/url]" ^ "Casio")|("[url] >>> [browsername][/url]" ^ "Orange")|("[url][browsername][/url]" ^ "T- >>> Mobile")|("[url][browsername][/url]" ^ "Pocket PC")|("[url] >>> [browsername][/url]" ^ "Opera Mini")|("[url][browsername][/url]" ^ >>> "Sharp")|("[url][browsername][/url]" ^ "Cingular")|("[url] >>> [browsername][/url]" ^ "SonyEricsson")|("[url][browsername][/url]" >>> ^ "Palm")|("[url][browsername][/url]" ^ "Windows CE")|("[url] >>> [browsername][/url]" ^ "Mobile Content Viewer")|("[url] >>> [browsername][/url]" ^ "Google CHTML Proxy")|("[url][browsername][/ >>> url]" ^ "Palmsource")|("[url][browsername][/url]" ^ "Nokia")| >>> ("[url][browsername][/url]" ^ "Smartphone")|("[url][browsername][/ >>> url]" ^ "Opera 3.62")|("[url][browsername][/url]" ^ >>> "Reqwirelessweb")]>>> [Then][REDIRECT url=mobile/index.html][/Then]>>> [Else] Alternate redirect here, or leave blank if its self [/Else]>>> [/if]>>> ------------------->>>>>> Sure would be nice to see some type of standardization for this >>> area in that industry. ... :-(>>>>>> Rob>>>>>>>>> On 25-Mar-09, at 3:49 PM, Dan Strong wrote:>>>>>>> Rob,>>>>>>>> I'm curious how you (or anyone for that matter) is/are handling >>>> detection of other mobile devices. I have tried (and not yet >>>> resolved) a way to catch all (or as many) mobile devices as I can >>>> so I can serve mobile-friendly content.>>>>>>>> 1) I've thought about using the WRFL data source ( http://wurfl.sourceforge.net/ >>>> ) but it contains a lot of irrelevant (for my purposes) data and >>>> would require what appears to be a great deal of work and >>>> constant upkeep, and/or>>>>>>>> 2) http://detectmobilebrowsers.mobi/ - php script. Haven't tried >>>> it. Not against using php when I need to, but I try to do things >>>> via WebDNA.>>>>>>>> 2) Detecting screen-size via javascript (if screen size is under, >>>> say, 400px wide then serve mobile.css) ... but that won't always >>>> work since not all mobile devices speak javascript...>>>>>>>> For now I'm doing like you are and detecting the most popular >>>> devices, but I'd really love to be able to catch them all. It >>>> would be nice if all mobile devices would add a standard >>>> descriptor to their USER AGENT header, like --mobile-- or >>>> somethinglike that. Anyhow, like I said, just curious.>>>>>>>> ** Cue the programmer with the "duh, you do it like this with a >>>> single line of code" response **>>>> -Dan>>>>>>>>>>>>>>>> On Wed, 25 Mar 2009 14:55:29 -0600>>>> Rob wrote:>>>>> Yup.... Got it... Thanks..>>>>> Works perfect! ... Thanks for all the help...>>>>> Rob>>>>> On 25-Mar-09, at 2:16 PM, Donovan Brooke wrote:>>>>>> Rob wrote:>>>>>>> Darn.... I gotta remember to use the online docs instead of >>>>>>> my own... got to used to working alone before the >>>>>>> revival .. ;-)>>>>>>> Thanks Paul...>>>>>>>>>>>> You will want to encode browsername most likely..>>>>>>>>>>>> [if "[url][browsername][/url]"...>>>>>>>>>>>>>>>>>> Donovan>>>>>>>>>>>>>>>>>>>>>>>> -- >>>>>> Donovan D. Brooke PH: 1 (608) 770-3822>>>>>> ------------------------------------------------>>>>>> VP>>>>>> WebDNA Software Corporation>>>>>> 16192 Coastal Highway>>>>>> Lewes, DE 19958>>>>>> --------------------------------------------------------->>>>>> This message is sent to you because you are subscribed to>>>>>> the mailing list .>>>>>> To unsubscribe, E-mail to: >>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>> old archives: http://dev.webdna.us/TalkListArchive/>>>>> --------------------------------------------------------->>>>> This message is sent to you because you are subscribed to>>>>> the mailing list .>>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>> old archives: http://dev.webdna.us/TalkListArchive/>>>>>>>> --------------------------------------------------------->>>> This message is sent to you because you are subscribed to>>>> the mailing list .>>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>> old archives: http://dev.webdna.us/TalkListArchive/>>>>>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us>>> old archives: http://dev.webdna.us/TalkListArchive/>>>>>>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> old archives: http://dev.webdna.us/TalkListArchive/>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
Or I, I can get my cousins fax number and his ex wife has one, so maybe she could check itOn Mar 25, 2009, at 17:56, wrote:> If you need someone with an iPhone to test it, let me know.>>> I'm using this code right now.>> I have not tested it on every phone imaginable, but it seems to >> work for most smart phones I've tested.... Although it's not tested >> on the iPhone.>>>> [text]accept=[GETMIMEHEADER name=Accept][/text]>> [text]celldetected=[/text]>> [showif [url][accept][/url]=[url]text/vnd.wap.wml[/url]]>> [text]wapagent=T[/text]>> [/showif]>> [showif [wapagent]=T]>> [text]celldetected=T[/text]>> [/showif]>> [showif [celldetected]=T]>> [redirect url=/mobi/index.tpl]>> [/showif]>>>> Matthew A Perosi JewelerWebsites.com>> ------------------------------by Psi Prime------->> Senior Web Developer 323 Union Blvd.>> Totowa, NJ 07512>> Pre-Sales: 888.872.0274>> Service: 973.413.8213>> Training: 973.413.8214>> Fax: 973.413.8217>>>> http://www.jewelerwebsites.com>> http://en.wikipedia.org/wiki/Psi_Prime%2C_Inc>> http://www.psiprime.com>>>>>>>> Rob wrote:>>> Dan,>>>>>> I just got involved due to a technical request, and haven't had >>> much to do with the site involved. I think its just being handled >>> generically, much like yours. I did notice on the newer >>> blackberry's and iphones, it renders correctly, but on the older >>> styles a lot of positional elements are off. It looks like its >>> just set to a standard width of 320. I know the person working on >>> it is on this list, and its up to him if he wishes to expand on it >>> more.>>>>>> The detection was actually the easy part, and even easier now with >>> the list help. I would imagine you could expand on it and detect >>> size as well, but that would probably take a few hours to dump >>> them all in, and months to find them all. With the shelf live of >>> must phones, I think we'll just stick to the newer versions. Here >>> is a link to the file I used, but for the most part, I went thru >>> some of the server logs for the site involved, as the list didn't >>> seem up to date. I haven't even heard of half these things....>>>>>> http://homepage.mac.com/rforest/downloads/mobile.zip>>>>>> More info, as well as files, at this link:>>> http://studiohyperset.wordpress.com/2007/02/05/mobile-redirect-code-discussion-index/>>>>>> And what I'm currently using is this:>>> --------------->>> [If ("[url][browsername][/url]" ^ "iPhone")|("[url][browsername][/ >>> url]" ^ "Blackberry")|("[url][browsername][/url]" ^ "Samsung")| >>> ("[url][browsername][/url]" ^ "Motorola")|("[url][browsername][/ >>> url]" ^ "HTC")|("[url][browsername][/url]" ^ "Casio")|("[url] >>> [browsername][/url]" ^ "Orange")|("[url][browsername][/url]" ^ "T- >>> Mobile")|("[url][browsername][/url]" ^ "Pocket PC")|("[url] >>> [browsername][/url]" ^ "Opera Mini")|("[url][browsername][/url]" ^ >>> "Sharp")|("[url][browsername][/url]" ^ "Cingular")|("[url] >>> [browsername][/url]" ^ "SonyEricsson")|("[url][browsername][/url]" >>> ^ "Palm")|("[url][browsername][/url]" ^ "Windows CE")|("[url] >>> [browsername][/url]" ^ "Mobile Content Viewer")|("[url] >>> [browsername][/url]" ^ "Google CHTML Proxy")|("[url][browsername][/ >>> url]" ^ "Palmsource")|("[url][browsername][/url]" ^ "Nokia")| >>> ("[url][browsername][/url]" ^ "Smartphone")|("[url][browsername][/ >>> url]" ^ "Opera 3.62")|("[url][browsername][/url]" ^ >>> "Reqwirelessweb")]>>> [Then][REDIRECT url=mobile/index.html][/Then]>>> [Else] Alternate redirect here, or leave blank if its self [/Else]>>> [/if]>>> ------------------->>>>>> Sure would be nice to see some type of standardization for this >>> area in that industry. ... :-(>>>>>> Rob>>>>>>>>> On 25-Mar-09, at 3:49 PM, Dan Strong wrote:>>>>>>> Rob,>>>>>>>> I'm curious how you (or anyone for that matter) is/are handling >>>> detection of other mobile devices. I have tried (and not yet >>>> resolved) a way to catch all (or as many) mobile devices as I can >>>> so I can serve mobile-friendly content.>>>>>>>> 1) I've thought about using the WRFL data source ( http://wurfl.sourceforge.net/ >>>> ) but it contains a lot of irrelevant (for my purposes) data and >>>> would require what appears to be a great deal of work and >>>> constant upkeep, and/or>>>>>>>> 2) http://detectmobilebrowsers.mobi/ - php script. Haven't tried >>>> it. Not against using php when I need to, but I try to do things >>>> via WebDNA.>>>>>>>> 2) Detecting screen-size via javascript (if screen size is under, >>>> say, 400px wide then serve mobile.css) ... but that won't always >>>> work since not all mobile devices speak javascript...>>>>>>>> For now I'm doing like you are and detecting the most popular >>>> devices, but I'd really love to be able to catch them all. It >>>> would be nice if all mobile devices would add a standard >>>> descriptor to their USER AGENT header, like --mobile-- or >>>> somethinglike that. Anyhow, like I said, just curious.>>>>>>>> ** Cue the programmer with the "duh, you do it like this with a >>>> single line of code" response **>>>> -Dan>>>>>>>>>>>>>>>> On Wed, 25 Mar 2009 14:55:29 -0600>>>> Rob wrote:>>>>> Yup.... Got it... Thanks..>>>>> Works perfect! ... Thanks for all the help...>>>>> Rob>>>>> On 25-Mar-09, at 2:16 PM, Donovan Brooke wrote:>>>>>> Rob wrote:>>>>>>> Darn.... I gotta remember to use the online docs instead of >>>>>>> my own... got to used to working alone before the >>>>>>> revival .. ;-)>>>>>>> Thanks Paul...>>>>>>>>>>>> You will want to encode browsername most likely..>>>>>>>>>>>> [if "[url][browsername][/url]"...>>>>>>>>>>>>>>>>>> Donovan>>>>>>>>>>>>>>>>>>>>>>>> -- >>>>>> Donovan D. Brooke PH: 1 (608) 770-3822>>>>>> ------------------------------------------------>>>>>> VP>>>>>> WebDNA Software Corporation>>>>>> 16192 Coastal Highway>>>>>> Lewes, DE 19958>>>>>> --------------------------------------------------------->>>>>> This message is sent to you because you are subscribed to>>>>>> the mailing list .>>>>>> To unsubscribe, E-mail to: >>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>> old archives: http://dev.webdna.us/TalkListArchive/>>>>> --------------------------------------------------------->>>>> This message is sent to you because you are subscribed to>>>>> the mailing list .>>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>> old archives: http://dev.webdna.us/TalkListArchive/>>>>>>>> --------------------------------------------------------->>>> This message is sent to you because you are subscribed to>>>> the mailing list .>>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>> old archives: http://dev.webdna.us/TalkListArchive/>>>>>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us>>> old archives: http://dev.webdna.us/TalkListArchive/>>>>>>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> old archives: http://dev.webdna.us/TalkListArchive/>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Bob Minor
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
(1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
FORMS: Returning a specific page (1997)
Cobalt and WebCatalog, do they work together? (2000)
upgrading (1997)
Re:Review comparison by PC Magazine: Open for On-line Business (1997)
Multiple catalog databases and showcart (1997)
[format] (1998)
Grep -Replace with nothing (2003)
[OT] What System Software? (2003)
TRAINING videos - Prove IT. (1998)
Authorizenet SIM (2002)
newbies to web, spaces in email address (1998)
Dreamweaver plugin (2000)
[OT] Disable/enable field (2003)
Initiating NewCart (1997)
text conversions (1999)
[WebDNA] Test (2014)
Using WC for Bulk Emailings (1997)
[WebDNA] API - YouTube (2011)