[web2py] Re: Mobile devices + web2py

2010-02-01 Thread John Divon
Hi All, We have found a little bug in this function. Should use the following line : if request.env.http_accept and request.env.http_accept.find('text/ vnd.wap.wml')>=0: instead: if request.env.http_accept and request.env.http_accept.find('text/ vnd.wap.wml'): Cheers. On Jan 28, 9:25 pm, mdipi

[web2py:33082] CRON issue???

2009-10-17 Thread John Divon
Hi All, We had a strange problem in cron, the day of month parameter does not seems to function as we expect. Checking the source (1.65.0) , cron.py , line 185 we have: for (str, id) in zip(params[:4], ['min', 'hr', 'dom', 'mon', 'dow']): Shouldn't it be params[:5] instead of params[:4] ??

[web2py:26296] Re: detecting slow page response on mobile devices

2009-07-11 Thread John Divon
ndell wrote: > On Jul 11, 2009, at 1:29 PM, John Divon wrote: > > > I have an application that serves mobile users as well. > > For the mobile users, I need to be able to find out if loading the > > page takes too much time. > > I know that the user uses his mobile to view

[web2py:26288] detecting slow page response on mobile devices

2009-07-11 Thread John Divon
Hi all, I have an application that serves mobile users as well. For the mobile users, I need to be able to find out if loading the page takes too much time. I know that the user uses his mobile to view the page since it is a specific page that has been pushed to his mobile. How can I know the ti