← Back to team overview

ubuntu-phone team mailing list archive

Re: [Development] QML Javascript - fetching data from a web page

 

Hi Felipe,

you can use https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest for
that.

2016-03-21 0:33 GMT+03:00 Felipe <felipe.salvador@xxxxxxxxx>:

> Hi all,
> I would fetch some data from a web page that expose them through
> JavaScript.
> These data come form a show schedule[1] and corresponds to the actual show
> title, actual DJ and duration of the show.
> For me, the easiest  way to obtain what I want is to download, and then
> work
> on this[2] file, but I'm wondering if it is  technically possible to fetch
> these info directly from the page by querying the site via QML+Javascript.
>
> [1]http://tinyurl.com/zlrpdjz
> [2]http://tinyurl.com/hw7hy3w
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>

References