View Single Post
TattooedMac

 
TattooedMac's Avatar
 
Member Since: May 19, 2009
Location: Waiting for a mate . . .
Posts: 7,727
TattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant future
Mac Specs: 21" iMac 2.9Ghz 10.9.4 13"MBP 2.9Ghz i7 Yosemite 10.10 ~ iPhone5 iOS 8 ~ iPad Mini iOS 8 ~ ATV3 6.1

TattooedMac is offline
Hello all.

Am a noob to this writing scripts and what not. I am ATM using GeekTool to make my active desktop and am not doing to bad.
I have been finding scripts and tweaking and playing with them to suit myself and very slowly learning the code.

My problem is the script i have for my weather is from a site on other side of the world and hasnt up to date info for where i live.

I havnt found away to make it run with my weather site i use here in Australia.
The URL other[s/ or most of the scripts are for www.wunderland.com and the code is

Code:
curl http://m.wund.com/global/stations/94975.html|sed -n '21p' | sed -e 's/<span class="nowrap"><b>//g' | sed -e 's/<\/b.*//g'
And no i havnt had any joy with the code for the use of lynx so have to use curl.

I am wanting a script so i can use www.eldersweather.com

I have played with the above mentioned and for the life of me cant do it.

When i use Elders in the script i get " <: Code used in public domain" or something to that effect.
Can anyone point me in the right direction ?? Would be greatly appreciated.

ANd i really hope this all makes sense BC as i said before im so NEW to this code thing..

Thanks in advance people

CogFrog Studio's ~ Photography, Apps and Web Development
Dont forget to use the Reputation System if someone has helped you out !!!
Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
QUOTE Thanks