The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: [OT] Met office data feeds




Replied off list - unless anyone else is interested?
Wayne.

Ho Yin Ng wrote:

>Wayne any chance you could send me this php file with some rough
>explanation of how it works?
>
>So that I don't have to start from scratch? If this is ok?
>
>Thanks,
>
>Ho yin
>
>At 17:51 05/10/2004, you wrote:
>
>
>>:)
>>I've got code in PHP if thats any better?
>>Wayne.
>>
>>Ho Yin Ng wrote:
>>
>>
>>
>>>Oh ok ..
>>>
>>>Humm I don't know how to do it .. so I will have to google and
find out how
>>>to do what you describe.
>>>
>>>So basically you use perl to weed out the HTML you do and don't
want?
>>>
>>>Will have to give it a try.
>>>
>>>Ho yin
>>>
>>>At 15:19 05/10/2004, you wrote:
>>>
>>>
>>>
>>>
>>>
>>>>----- Original Message -----
>>>>From: "Ho Yin Ng" <yahoogroups@xxxxxxx>
>>>>
>>>>
>>>>
>>>>
>>>>>Simon the ones you have look good ..
>>>>>
>>>>>Though still a bit large for me. I take it you just
filtered it from the
>>>>>websites and you therefore cannot change the or
rearrange the content?
>>>>>
>>>>>I really just want icons and the temp.
>>>>>
>>>>>As for the rssweather ... it looks good .. but I can't
seem to get it to
>>>>>show me 3 days in advance.
>>>>>
>>>>>But at least I have got a bit further!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>Yip, just a couple of simple pattern matches (perl),
removing all content
>>>>before and after what I'm looking for. Doesn't produce
valid html, but I
>>>>really don't care as long as it works.
>>>>
>>>>You could parse the data out of the html, but that's risky,
although
>>>>
>>>>
>>the met
>>
>>
>>>>office page is very nicely laid out in html, and should be
easy to parse.
>>>>The BBC one (which uses met office data feeds) may also be
simple to parse
>>>>for the information you want
>>>>
>>>>Simon
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>Yahoo! Groups Sponsor
>>>>ADVERTISEMENT
>>>><<http://us.ard.yahoo.com/SIG=129m5iuee/M=283686.4531047.5839501.4420029
>>>>
>>>>
>>/D=groups/S=1705041992:HM/EXP=1097072482/A=2044486/R=0/SIG=10svm8ftb/*http://www.theironshop.com>http://us.ard.yahoo.com/SIG=129m5iuee/M=283686.4531047.5839501.4420029/D=groups/S=1705041992:HM/EXP=1097072482/A=2044486/R=0/SIG=10svm8ftb/*http://www.theironshop.com>
>>
>>
>>>>click here
>>>>
>>>>[]
>>>>
>>>>
>>>>
>>>>----------
>>>>Yahoo! Groups Links
>>>>  * To visit your group on the web, go to:
>>>>  *
>>>><<http://groups.yahoo.com/group/ukha_d/>http://groups.yahoo.com/group/uk
>>>>
>>>>
>>ha_d/>http://groups.yahoo.com/group/ukha_d/
>>
>>
>>>>  *
>>>>  * To unsubscribe from this group, send an email to:
>>>>  *
>>>><mailto:ukha_d-unsubscribe@xxxxxxx?subject=Unsubscribe>ukha_d-un
>>>>
>>>>
>>subscribe@xxxxxxx
>>
>>
>>>>  *
>>>>  * Your use of Yahoo! Groups is subject to the
>>>><<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/>Ya
>>>>
>>>>
>>hoo! Terms of Service.
>>
>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>Yahoo! Groups Sponsor
>>ADVERTISEMENT
>><http://us.ard.yahoo.com/SIG=129g38vrl/M=283686.4531047.5839501.4420029/D=groups/S=1705041992:HM/EXP=1097081482/A=2044486/R=0/SIG=10svm8ftb/*http://www.theironshop.com>
>>click here
>>
>>[]
>>
>>
>>
>>----------
>>Yahoo! Groups Links
>>   * To visit your group on the web, go to:
>>   *
>><http://groups.yahoo.com/group/ukha_d/>http://groups.yahoo.com/group/ukha_d/
>>   *
>>   * To unsubscribe from this group, send an email to:
>>   *
>><mailto:ukha_d-unsubscribe@xxxxxxx?subject=Unsubscribe>ukha_d-unsubscribe@xxxxxxx
>>
>>   *
>>   * Your use of Yahoo! Groups is subject to the
>><http://docs.yahoo.com/info/terms/>Yahoo!
Terms of Service.
>>
>>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>



UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.