We have a requirement to 'detect mobile devices'.
I've done some priliminary research and see some are using WURFL file.
Is there anyone here using this?
Also was wondering what others have been using for this? and are there any
recommendations.
Thanks
I was able to determing that the XML parsing error was caused by fields in the
Contact Records that contained nothing but a space or multiple spaces. I was
able to scrub the spaces from the Contacts by exporting to CSV, searching for
and removing spaces from otherwise blank fields, then
You should be able to compare cgi.HTTP_USER_AGENT to:
http://www.zytrax.com/tech/web/mobile_ids.html
http://whatsmyuseragent.com/CommonUserAgents.asp
etc
...and render accordingly.
On Tue, Oct 4, 2011 at 9:20 AM, Don danfar...@hotmail.com wrote:
We have a requirement to 'detect mobile
Yes: use WURFL.
This might be useful: http://cfwurfl.riaforge.org/
--
Shu Ha Ri: Agile and .NET blog
http://www.bifrost.com.au/
On 4 October 2011 22:20, Don danfar...@hotmail.com wrote:
We have a requirement to 'detect mobile devices'.
... are there any recommendations.
we sort of have this limitation using html/js only. No coldfusion
unfortunately.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
Yes: use WURFL.
Does this sound like a resonable solution
download WURFL file, pick out the specific few things we are looking for and
insert that into our database. Then when we get a user-agent that is mobile we
could detect that with a query to our db.
Honestly, that seems silly to me. If you have to use js then why obfuscate
it by adapting cf to js? Why not just approach it with js natively?
http://www.hand-interactive.com/resources/detect-mobile-javascript.htm
On Tue, Oct 4, 2011 at 11:13 AM, Don danfar...@hotmail.com wrote:
Yes: use
Honestly, that seems silly to me. If you have to use js then why obfuscate
it by adapting cf to js? Why not just approach it with js natively?
http://www.hand-interactive.com/resources/detect-mobile-javascript.htm
Given your description, I'm not sure you have understood the requirement.
Honestly, that seems silly to me. If you have to use js then why
obfuscate
it by adapting cf to js? Why not just approach it with js natively?
http://www.hand-interactive.com/resources/detect-mobile-javascript.
htm
Given your description, I'm not sure you have understood the
Hey all,
Has anyone ever had a CF server's week number get out of sync with the
server?
When I run #week(now())# in Cf I get 41 but when I run the comman in linux
date +%W I get 40
It's causing all sorts of problems when pulling week based data from the
dbase.
Does anyone know how I get them
You're right. I didn't read your reply close enough.
On Tue, Oct 4, 2011 at 11:35 AM, Don danfar...@hotmail.com wrote:
Honestly, that seems silly to me. If you have to use js then why
obfuscate
it by adapting cf to js? Why not just approach it with js natively?
Does linux use zero (0) as week one?
On Tue, Oct 4, 2011 at 11:47 AM, Edward Chanter firew...@cc.uk.com wrote:
Hey all,
Has anyone ever had a CF server's week number get out of sync with the
server?
When I run #week(now())# in Cf I get 41 but when I run the comman in
linux
date +%W I
According to the docs it's 0
The weird thing is that I have 2 servers running the same version of linux
and on one they both say 40 and on the other I get the discrepancy between
linux and CF.
-Original Message-
From: Michael Grant [mailto:mgr...@modus.bz]
Sent: 04 October 2011
Do both servers have the same version of CF?
On Tue, Oct 4, 2011 at 11:53 AM, Edward Chanter firew...@cc.uk.com wrote:
According to the docs it's 0
The weird thing is that I have 2 servers running the same version of linux
and on one they both say 40 and on the other I get the discrepancy
How do you use ColdFusion to create an asynchronous activity feed like you see
in the upper right area of Facebook? Any examples or links would be helpful.
Thanks,
Allan Jagos
aja...@rc.com
~|
Order the Adobe Coldfusion
Well, it depends a lot on the details. If you store user actions in a
database, and you know the current users list of friends, then it is
trivial to use SQL to get the last N activity items from your friends.
Displaying it like FB simply means using Ajax to retrieve said events
and display. You
Very odd indeed. It makes sense that linux and cf would differ by 1, as cf
is 1-53. However it doesn't make any sense to me why cf would return 40 on
one and 41 on the other. Can you verify:
1) they are both the same server date?
2) they are both the same timezone offset?
3) they are both using
Thanks again Paul!
So if I read between the lines of your response.I was right in that
I don't need the menu framework??
I'll dabble today/tomorrowmay be back to the well depending on the
results ;-)
Cheers
On Tue, 2011-10-04 at 09:15 +0700, Paul Hastings wrote:
On 10/4/2011 2:26
Yes indeed :(
-Original Message-
Do both servers have the same version of CF?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
If you want to get really jiggy with it, you can use a Gateway on the server
side and connect to it using long polling or web sockets. This will push
server changes to any connected clients immediately.
-- Josh
On Tue, Oct 4, 2011 at 9:17 AM, Raymond Camden raymondcam...@gmail.comwrote:
On 10/4/2011 11:23 PM, Bryan Stevenson wrote:
So if I read between the lines of your response.I was right in that
I don't need the menu framework??
was that what you were asking? sorry. no you don't.
if that demo is an obstacle, just try starting over w/a new onIncomingMessage.
You might want to make sure that both machine are on the same time zone and
locale. If they are different, that would explain it. My linux server returns
40.
-Drew
Very odd indeed. It makes sense that linux and cf would differ by 1, as cf
is 1-53. However it doesn't make any sense to me why
On 10/5/2011 12:15 AM, Drew Nathanson wrote:
You might want to make sure that both machine are on the same time zone and
locale. If they are different, that would explain it. My linux server returns
40.
locale has nothing to do w/this.
On Wed, 2011-10-05 at 00:07 +0700, Paul Hastings wrote:
if that demo is an obstacle, just try starting over w/a new onIncomingMessage.
My thoughts exactlydemo is full of stuff I don't need...start
fresh ;-)
Cheers
--
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
1. Yes, exact same date and time
2. Yes both are set to timezone London and both report BST next to the
time when I do a date command in linux
3. Yes in both cases I used #week(now())# to get the CF date and date
+%W to get the linux date
I've setup and configured quite a few CF linux servers
Anyone using : MobileRedirect?
http://mobilewebdeveloper.com/index.cfm/page/purchase/item/MobileRedirect
It SEEMS pretty good. They say...
identifies more than 96% of all mobile devices (test was conducted with the
most recent copy of WURFL
the best and cheapest mobile and tablet detection is
http://wurfl.sourceforge.net/
itself.
--
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543
On Wed, Oct 5, 2011 at 4:44 AM, Don danfar...@hotmail.com wrote:
Anyone using :
Anyone using : MobileRedirect?
http://mobilewebdeveloper.com/index.cfm/page/purchase/item/MobileRedirect
It SEEMS pretty good. They say...
identifies more than 96% of all mobile devices (test was conducted with the
most recent copy of WURFL
check this out... a wurfl web service
http://www.wurflws.com/index.jsp
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
Two MAX keynotes down, no mention at all of ColdFusion X that I can see. Is
tomorrow the big day?
George
~|
Order the Adobe Coldfusion Anthology now!
DISCLAIMER -
I DO NOT WORK FOR ADOBE - I AM JUST GUESSING LIKE EVERYONE ELSE
Odds are we'll see some sneak peeks tonight at the event. Based on the
development cycle of CF, it's not due
Not making keynotes, but Ray Camden has a MAX presentation on Zeus
posted the Adobe TV site:
http://tv.adobe.com/watch/max-2011-develop/whats-next-in-coldfusion/
Cheers,
Judah
On Tue, Oct 4, 2011 at 12:39 PM, Alan Rother alan.rot...@gmail.com wrote:
DISCLAIMER -
I DO NOT WORK FOR ADOBE - I
This works.
cfif
reFindNoCase(android.+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge
|maemo|midp|mmp|opera m(ob|in)i|palm(
os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows
You can't access CGI environment variables in javascript, but you can access
some variables in javascript that the browser sends which are part of http
request headers and then placed in the cgi scope, including the referrer.
Try using document.referrer in JavaScript to get what you are looking
This works.
cfif
reFindNoCase(android.+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge
|maemo|midp|mmp|opera m(ob|in)i|palm(
os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows
What are you talking about Dave? It's neatly split into two clauses, and
the 4-letter ones are alphabetized. Ha ha.
-- Josh
On Tue, Oct 4, 2011 at 2:39 PM, Dave Watts dwa...@figleaf.com wrote:
This works.
cfif
heh... you said... ahh nevermind.
.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Josh Nathanson [mailto:joshnathan...@gmail.com]
Sent: Tuesday, October 04, 2011 12:53 PM
To: cf-talk
Subject: Re: Using ColdFusion to Create
Thinking about this on a more technical level, does anyone know where CF
ultimately derives the week number? When I enter #now()# I assume that's the
system time but when I do #week(now())# is that the CF server taking #now()#
and deriving the week or does it get that from jrun or linux or does
Terry Ryan posted yesterday to twitter that there would be no CF love in the
adobe keynotes this year, but not too worry things were still a go...
Rob
On Oct 4, 2011 3:46 PM, Judah McAuley ju...@wiredotter.com wrote:
Not making keynotes, but Ray Camden has a MAX presentation on Zeus
posted
What are you talking about Dave? It's neatly split into two clauses, and
the 4-letter ones are alphabetized. Ha ha.
I do know whether to be scared or impressed that you managed to notice that..
-Le
~|
Order the Adobe
I do know whether to be scared or impressed that you managed to notice that..
Ack. Meant to type: I do *not* know whether to be scared or impressed ...
-Leigh
~|
Order the Adobe Coldfusion Anthology now!
I know the various JVM versions have had issues with DST settings in the
past (like 10 years ago); do your 2 servers have the same JRE configured
for CF?
On 10/4/2011 6:13 PM, Edward Chanter wrote:
Thinking about this on a more technical level, does anyone know where CF
ultimately derives
I know I've already been beaten down for not properly reading the OP's post,
so it's a bit of the pot calling the kettle black... but he did mention:
*we sort of have this limitation using html/js only. No coldfusion
unfortunately.*
On Tue, Oct 4, 2011 at 3:47 PM, Robert Harrison
In our defense, that limitation was not actually in OP. And he *was* posting
to CFTalk after all... :-)
On Oct 4, 2011 5:59 PM, Michael Grant mgr...@modus.bz wrote:
I know I've already been beaten down for not properly reading the OP's
post,
so it's a bit of the pot calling the kettle
They both use jrun, I didn't change it so they should both be exactly the
same. The servers are not 10 years old (fortunately) one is about 2 years
old and the other 4 :)
-Original Message-
From: Jason Fisher [mailto:ja...@wanax.com]
Sent: 04 October 2011 23:50
To: cf-talk
Subject:
True true.
On Tue, Oct 4, 2011 at 7:01 PM, John M Bliss bliss.j...@gmail.com wrote:
In our defense, that limitation was not actually in OP. And he *was*
posting
to CFTalk after all... :-)
On Oct 4, 2011 5:59 PM, Michael Grant mgr...@modus.bz wrote:
I know I've already been beaten
Is the epoch of both servers identical?
On Tue, Oct 4, 2011 at 7:05 PM, Edward Chanter firew...@cc.uk.com wrote:
They both use jrun, I didn't change it so they should both be exactly the
same. The servers are not 10 years old (fortunately) one is about 2 years
old and the other 4 :)
I suspect that one might be a throw-back to the Jurassic period but the lack
of stone suggests Dell might have simply managed to construct a freak that
doesn't happen to be shaped like a lemon :)
Me thinks running a magnet over the case and starting again would be a good
idea... lol
Well, it seems the proper state of affairs would be that CF reports 41 and
Linux reports 40. So the CF instance that is reporting 40 is the one that
is out of whack. Maybe that would be a good jumping off point.
I have Railo running on Linux and Adobe CF running on Windows here, and they
both
Odds are we'll see some sneak peeks tonight at the event. Based
on the development cycle of CF, it's not due out for another 6 months
or so, so they really have no reason to show it off yet.
Indeed, a little birdie mentioned to me at NCDevCon that they still
had a lot of engineering work
Interesting .. Josh, any good links on the subject you could point me to,
please?
TIA,
Jenny Gavin-Wear
Fast Track Online
Tel: 01262 602013
http://www.fasttrackonline.co.uk/
-Original Message-
From: Josh Nathanson [mailto:joshnathan...@gmail.com]
Sent: 04 October 2011 17:53
To: cf-talk
if ( activeLinkID === 'search_properties' currentPage === 'index.cfm'
)
{ window.location = 'modules/search-properties/search-properties.cfm';
}
if ( activeLinkID === 'search_properties' currentPage === ''
)
{ window.location = '../search-properties/search-properties.cfm';
}
My
The triple === in JavaScript at least is a strict comparison. It not only
checks for truthiness, but that both sides are the same type.
Have you tried simple eq or ==
On Oct 4, 2011, at 9:17 PM, Rick Faircloth r...@whitestonemedia.com wrote:
if ( activeLinkID === 'search_properties'
if ( activeLinkID === 'search_properties' ...
Hi Rick, remember that in JavaScript the === operator checks for value
AND variable type, so if the internal variable types aren't the same
then it will evaluate to false even if the string values match. You
might consider changing that to a
Good suggestions, guys, but I was purposefully using a string operator
to be very specific in the code. (The '==' didn't work, either)
This is working... using 3 statements and avoid the use of the or '||'
operator.
Thanks!
Rick
-Original Message-
From: Justin Scott
Try logging each variable and it's type using typeOf. That'll help you move int
the right direction.
On Oct 4, 2011, at 9:35 PM, Lists li...@commadelimited.com wrote:
The triple === in JavaScript at least is a strict comparison. It not only
checks for truthiness, but that both sides are
I've had to go to three if statements to get this to
work. It didn't want to let me use the or '||' operator.
Also, had to start using != in one statement.
Here's what's working properly whether the modal menu
(smartphone website) is being used on the homepage,
'index.cfm' or '':
if (
57 matches
Mail list logo