[url=http://img59.imageshack.us/img59/5772/screenshot20111221at104.png]Image[/URL]
I still have the option to subscribe via RSS ?
and i have the newest Facebook (that i know of) I'm under Facebook Developers so i've had timeline and all that for a month or two now.
But do you get an actual RSS feed URL to put into your favorite RSS reader? I haven't seen that capability lately and when I tried last, I couldn't see any of the RSS data that Facebook provided.
Sure does, i just tested it by plugging it into GoogleReader and it works a treat, but im still in the dark on how to display this on my desktop with geektool..
I previously did a RSS feed on my desktop with a .sh file, but this doesnt want to work the same way![]()
Damn Facebook, can't find the RSS Feed stuff and their help is even more useless.
I have a script that might work, but would want to test it before providing it.
tell application XBMC
activate
#and select geek tool group xbmcgroup
tell application EyeTV
activate
#select geek tool group eyetvgroup
Oh.. and another thing...
For those cricket lovers out there.. Here is a live scores script.
Straight from Cricinfo.
HTML:curl --silent "http://static.cricinfo.com/rss/livescores.xml" | grep -e "title" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba'
lol, I am answering my own questions, I think I have to find the appropriate feed.
Next one
Is it possible to extract something like this:
Image
form this website http://www.foxsports.com.au/results
Thanks![]()
If that was an actual image on the website, it wouldn't be too difficult.
But, it's all text driven, so it'll be difficult.
Do you think it is possible to grab the text feed for starters. If so, even a simpler representation of it such that the results are orderly.
<div class="scoreboard">
<div class="scoreboard-content">
<h2>Live Scores and Stats Central</h2>
<div class="more-results">
<h3>More Results:</h3>
</div> <!-- .more-results -->
<a class="prev" title="Previous Matches">
<span class="prev-text">Previous Matches</span>
</a> <!-- // .prev -->
<div class="matches-scroller">
</div> <!-- // .matches-scroller -->
<a class="next" title="Future Matches">
<span class="next-text">Future Matches</span>
</a> <!-- // .next -->
<div class="ad ad-btyb">
<script type="text/javascript" charset="utf-8">
//<![CDATA[
if ($.fs.scoreboard.isSponsored()) $.fs.ad.show('btyb');
//]]>
</script>
</div> <!-- // .ad .ad-btyb -->
</div> <!-- // .scoreboard-content -->
</div> <!-- // .scoreboard -->
I started looking into this, it's impossible to grab the top scorebar information, here's why:
Do you notice the CDATA section? That's the part of the code that writes out the text into the scorebar graphic, it's a JavaScript function that fills in automatically with (I'm assuming) AJAX.
Parsing the entire results page is doable, but will take some time to get all the information extracted and grouped by sport.
curl --silent "http://static.cricinfo.com/rss/livescores.xml" | grep -e "title" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba | [B]column -c2[/B]
On a simpler note, I am trying to display the output in 2 columns. I have used the column command but it doesn't seem to do the trick. There also doesn't seem to be a column width variable in curl.
curl --silent "http://static.cricinfo.com/rss/livescores.xml" | grep -e "title" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba'
Thanks. I am assuming therefore that the format doesn't easily support a column view (i.e. where results carry over to the next column after say 2 rows). Personally, I need a horizontal representation because my geek tool integration is with live tv (widescreen view). I am therefore using the black bars at the top/bottom to display geeklets. As soon as I have a some up and running I'll throw up a screencast.There is an error in your code, the last sed command is missing a '.
Two questions:
1 - What are the numbers next to the Team names? (Example Norwich 0 vs Tottenham 2 or ADL 8/157 vs HOB 4/171)
2 - What is EPL, T20, etc for each match/race? The only one I know is F1GP.
Thanks. I am assuming therefore that the format doesn't easily support a column view (i.e. where results carry over to the next column after say 2 rows). Personally, I need a horizontal representation because my geek tool integration is with live tv (widescreen view). I am therefore using the black bars at the top/bottom to display geeklets. As soon as I have a some up and running I'll throw up a screencast.
In any case, I won't need it if you decipher the fox one. No doubt you'll please a few aussies.
But I think I've found the Rosetta stone. Within the HTML, there is a Javascript call to load in the live scoreboard JSON data. JSON is a way to package data in an easy to parse format.
Parsing this gives us all the live scoreboard data. So I'm going to focus on that now, well tomorrow. Lots of code to scrap and write now, but maybe before the New Year I'll have something posted for everyone.
For those of us in the USA who want live scores, we're screwed as the Fox Sports Live Scoreboard is Flash; we'll need to find another way.
tell application "GeekTool Helper"
set maillogo to geeklet id "0E948A53-1703-4B25-A48E-9F90A86EC449"
set mailtext to geeklet id "911B5D65-B654-42D3-A796-616DDCB06CA6"
set skypelogo to geeklet id "B5003E5B-DC08-4A06-BAE7-650C382BE702"
set skypetext to geeklet id "5D968B40-587D-44DD-A7B5-5C20D24B2C87"
set cricketlogo to geeklet id "2C49410E-3AD7-4711-BEAD-2CB36ACCEF61"
set crickettext to geeklet id "6839DA6E-BE1C-4652-B7AA-3F70B422C77A"
set visible of maillogo to false
set visible of mailtext to false
set visible of skypetext to false
set visible of skypelogo to false
set visible of cricketlogo to false
set visible of crickettext to false
set visible of maillogo to true
set visible of mailtext to true
delay 20
set visible of maillogo to false
set visible of mailtext to false
delay 2
set visible of skypelogo to true
set visible of skypetext to true
delay 20
set visible of skypelogo to false
set visible of skypetext to false
delay 2
set visible of cricketlogo to true
set visible of crickettext to true
delay 20
set visible of cricketlogo to false
set visible of crickettext to false
end tell
I developed this very simple applescript to simply cycle through 3 sets of geek lets (showing 1 set at one time and then moving to the next). Are you aware of any issues which would prevent it running in geek tool (on Lion) even though it runs fine natively. In geek tool it stays at the very first visible set (mail logo and mail text). I have set the refresh to a few settings all greater than 65s.
Hey there!
Is there anyone know how can i show in my desktop the chance of precipitation? I think it is more useful than you know how is the weather now (i just open the window!)
Thank you!
Saw this on a linux setup, is it possible to get this for geektool?
Thanks to anyone who can help.
I saw your earlier post, just haven't gotten around to it. Parsing the data from the Weather Channel website will be new code, so it might be a bit before I can get a script written for you.