| Prev |   1     2   3   4     5   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Fettuccine - A webcam aggregator app (https://talk.maemo.org/showthread.php?t=93403)

rotoflex 2014-07-07 07:35

Re: [Announce] Fettuccine - A webcam aggregator app
 
The .xml parser generates an error when loading a file that has this = sign in the web address, such as

homepage="http://www.intellicast.com/National/Radar/Current.aspx?location=USAL0371&animate=true"

This is a handy program! The filter function was a very useful feature.

Copernicus 2014-07-07 12:13

Re: [Announce] Fettuccine - A webcam aggregator app
 
Quote:

Originally Posted by rotoflex (Post 1432003)
The .xml parser generates an error when loading a file that has this = sign in the web address, such as

homepage="http://www.intellicast.com/National/Radar/Current.aspx?location=USAL0371&animate=true"

Ah, my apologies; this is actually an issue of my use of XML (and I really need to document it somewhere!). XML treats a handful of characters as special (these include &, ", ', <, and > ). The XML parser is really complaining that the & operator in the above link is followed by an equals sign rather than by a trailing semicolon. You can tell the XML parser that you want an actual ampersand by using the & operator itself with the name "amp":

&amp;

So, the link would then become:

homepage="http://www.intellicast.com/National/Radar/Current.aspx?location=USAL0371&amp;animate=true"

(BTW, here's a nice wiki page that describes this much better than I can...)

xes 2014-07-07 12:51

Re: [Announce] Fettuccine - A webcam aggregator app
 
Great application, very useful to check meteo images!
In case of radar images, it would be nice that the web link definition would handle date tags (%Y%m%d...) to pick updated images.
PS.
but probably not really needed since most pages that use date tags have also some other folder pattern not easy to guess automatically..

If you like meteosat images, here a nice set for europe:
http://www.meteosatonline.it/animazione_visibile.php

Copernicus 2014-07-07 16:33

Re: [Announce] Fettuccine - A webcam aggregator app
 
Quote:

Originally Posted by xes (Post 1432021)
Great application, very useful to check meteo images!

Wow. I just spent a few minutes browsing the net for Meteo images; I'm not sure just where you're finding anything that Fettuccine could actually parse. :) The meteosatonline.it site only provides its data as PHP files; I suppose they are using some sort of HTML5 mechanism underneath that? I checked out the Eumetsat website, but their files are all encoded in JFIF format (which is related to JPG in some manner), and they don't seem to want people to view individual images in any case. The only site I've found so far with straight-up single Meteosat images is the NOAA website, and they only have full-disk images updated four times a day...

Quote:

In case of radar images, it would be nice that the web link definition would handle date tags (%Y%m%d...) to pick updated images.
Well, that's one nice thing about having a pocket computer, it isn't too hard to throw together little algorithms for these kinds of things. :) But yeah, you do kind of need the image provider to have some sort of standardized structure to their data. I've gotta say, the NOAA site does do a great job of providing image data in a standard manner with a minimal amount of extra cruft on top of it; I dunno if there is a Meteo site that has as convenient a format...

TomJ 2014-07-07 18:41

Re: [Announce] Fettuccine - A webcam aggregator app
 
Quote:

Originally Posted by Copernicus (Post 1432028)
Wow. I just spent a few minutes browsing the net for Meteo images; I'm not sure just where you're finding anything that Fettuccine could actually parse. :) The meteosatonline.it site only provides its data as PHP files; I suppose they are using some sort of HTML5 mechanism underneath that? I checked out the Eumetsat website, but their files are all encoded in JFIF format (which is related to JPG in some manner), and they don't seem to want people to view individual images in any case. The only site I've found so far with straight-up single Meteosat images is the NOAA website, and they only have full-disk images updated four times a day...




http://www.metoffice.gov.uk/datapoin...r-capabilities

http://www.metoffice.gov.uk/datapoin...r-capabilities

http://www.metoffice.gov.uk/datapoin...-documentation

A quick glance suggests they all provide PNGs, though may need some sort of map over- or underlay.

xes 2014-07-07 20:14

Re: [Announce] Fettuccine - A webcam aggregator app
 
@copernicus
sorry for the mess, in fact i was evaluating many meteo sites and i posted probably the worst one...
To pick the images for fettuccine i'm using this one:
http://oiswww.eumetsat.org/IPPS/html/latestImages.html

Copernicus 2014-07-07 22:57

Re: [Announce] Fettuccine - A webcam aggregator app
 
Quote:

Originally Posted by TomJ (Post 1432042)

This looks... complicated. :) I think this is more of a professional service oriented towards folks trying to create actual weather prediction applications. I don't think Fettuccine is the right target for this sort of data. :) (Are there any significant weather apps for the N900? I've never really looked for one myself...)

Copernicus 2014-07-07 23:05

Re: [Announce] Fettuccine - A webcam aggregator app
 
Quote:

Originally Posted by xes (Post 1432053)
To pick the images for fettuccine i'm using this one:
http://oiswww.eumetsat.org/IPPS/html/latestImages.html

Ah, perfect! This is exactly the sort of data that works with Fettuccine. (Heck, it might even be possible to parse the links straight off of that page...) They seem to have a Fettuccine-friendly distribution policy as well, so long as you set your refresh rate correctly. (For this data, it appears that new images are mostly added once per hour, so you don't need a refresh rate faster than that...)

Copernicus 2014-07-08 17:04

Re: [Announce] Fettuccine - A webcam aggregator app
 
For what it's worth, I've made a first pass at encoding (some of) the Eumetsat "latest images" page into the current Fettuccine XML format. I've concentrated mostly on the infrared and visible-light images. You can find a link to it here:

http://jpietrzak8.github.io/Fettuccine/eumetsat.xml

You can either type that link into Fettuccine and have it download the file, or copy the file manually to your N900 and load it from there. These images get updated roughly once an hour. Looks like it's been a rainy day in most of Europe today. :)

xes 2014-07-08 20:15

Re: [Announce] Fettuccine - A webcam aggregator app
 
@Copernicus
thank you! ...but i have to report a little bug.
Once you have a fettuccine widget active, while the phone is not connected to any internet connection, at every image update you will find the ICD dialog "Choose a connection"


| Prev |   1     2   3   4     5   | Next | Last
All times are GMT. The time now is 10:58.

vBulletin® Version 3.8.8