I guess not, the video alone is very self explanatory. You have to install tornado then start tornado as a separate process inside web2py\gluon\contrib
then, in your webpage add a websocket connection and a callback to process the incomming data from server. You can see this very clearly in the video 2014-03-21 11:32 GMT+00:00 martzi <[email protected]>: > Ramos, is there an English version of the videos ? I don't understand > Portuguese ... > > > On Friday, March 21, 2014 12:56:14 PM UTC+2, martzi wrote: >> >> Thanks a lot i am going though and will let you know! >> >> On Friday, March 21, 2014 12:47:18 PM UTC+2, Ramos wrote: >>> >>> see this video from Bruno Rocha >>> https://www.youtube.com/watch?v=MUWy-NSrvNQ >>> >>> Saved my life once... >>> >>> >>> 2014-03-21 10:35 GMT+00:00 martzi <[email protected]>: >>> >>>> I like the idea of tornado, I have seen some cool site running >>>> tornado... but I don't really know where and how to start with it. i am on >>>> webfactory. >>>> Any idea on how to get it done ? >>>> >>>> Thank you! >>>> >>>> >>>> On Friday, March 21, 2014 12:15:35 PM UTC+2, Ramos wrote: >>>> >>>>> Another stupid solution >>>>> use websockets (tornado) and this way you can publish data every 30 s >>>>> to the webpage from the server to the client connectect. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> 2014-03-21 10:08 GMT+00:00 martzi <[email protected]>: >>>>> >>>>>> Thank all for your replies... >>>>>> PN i like you solution, I am going to try it and let you know if it >>>>>> worked... >>>>>> Thanks to all for yo help! >>>>>> >>>>>> >>>>>> On Thursday, March 20, 2014 11:25:47 PM UTC+2, PN wrote: >>>>>>> >>>>>>> You can also use web2py components (see the chapter titled >>>>>>> 'Components and Plugins' in the web2py book). Basically first make a >>>>>>> normal >>>>>>> web2py page that reads the remote API every time the page is loaded, and >>>>>>> displays the results. Then, load this page as a component into another >>>>>>> page, and specify the 'timeout' parameter of the component so that it >>>>>>> reloads every 30 seconds. You will not have to do any of the ajax/js >>>>>>> yourself this way. >>>>>>> >>>>>>> On Sunday, March 16, 2014 1:48:11 PM UTC-4, Martin wrote: >>>>>>>> >>>>>>>> Hi all, >>>>>>>> Please could anyone help me out, I need to pull some data from some >>>>>>>> API (ex: https//xxx/aaa/ etc.) every 30s and then display the result >>>>>>>> in a ti >>>>>>>> cker >>>>>>>> How do I do this with Web2py + JavaScript ? I am new to web2py. >>>>>>>> >>>>>>>> Thank you. >>>>>>>> >>>>>>> -- >>>>>> Resources: >>>>>> - http://web2py.com >>>>>> - http://web2py.com/book (Documentation) >>>>>> - http://github.com/web2py/web2py (Source code) >>>>>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "web2py-users" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>> Resources: >>>> - http://web2py.com >>>> - http://web2py.com/book (Documentation) >>>> - http://github.com/web2py/web2py (Source code) >>>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "web2py-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

