Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.
It won't work anymore, they got rid of the RSS capability. I've tried numerous times to get it to work to no avail.



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 :(
 
If someone can help with geektool and help set mine up it would be appreciated.

iChat me at: Sykelovesyou
 
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.
 
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.

On mine i just went,

Notifications > See all notifications > Get Notifications Via: RSS

you should be able to see it pretty easy, its just under the title Your Notifications.

If you were to private message me the script ill try it out and tell you if its works if you want.
 
General RSS Feed Grabber

So I've updated an old general RSS feed grabber that I wrote a while back. This is the wiki that tells you how to use it: http://code.google.com/p/xtacocorex-geektool-scripts/wiki/RSSFeedGrabHowTo

This can replace the MacRumors feed script I wrote, as that feed is parsed by this script.

*** This will also display the Facebook Notification RSS feed. You just need to figure out your Facebook Notification feed url on your own. ***
 
Hey guys,

I am trying to find an apple script that can choose a geek tool group. I can't imagine that it will be difficult but am very new to apple script.

The purpose is to select a different geek tool group depending upon what the display is being used for and trying to automate the process.

Example:

Code:
tell application XBMC
activate
#and select geek tool group xbmcgroup

tell application EyeTV
activate

#select geek tool group eyetvgroup


Thanks for your help.
 
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:

screen-capture.png


form this website http://www.foxsports.com.au/results

Thanks :)
 
Last edited by a moderator:
PS
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.

Yeah I see. I haven't done a lot with geek tool but the little I know suggests that it wouldn't be easy.

I guess there are two components, one is the text feed and the second is the presentation.

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.

PS: Thanks for your Shenanigans :)
 
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.

I started looking into this, it's impossible to grab the top scorebar information, here's why:
Code:
	<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 -->

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.
 
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.

Aah I see. I was keen on this because it contained all the sports in one feed. Surprised how few live score feeds there are. I don't want you to spend hours trying to do this for me. I already appreciate you looking into it and will find an alternative.

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.

Code:
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.

There is an error in your code, the last sed command is missing a '.

Here is the correct code, I removed the column command since it didn't do anything.
Code:
curl --silent "http://static.cricinfo.com/rss/livescores.xml" | grep -e "title" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba'

I am working on a parser for the Fox Sports page, I did get ambitious and am also going to try and support the USA's Fox Sports page for all the US users that want it (that will be a while though). I'll work on getting the AU version done first as the formats of the two pages are totally different.

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.
 
There is an error in your code, the last sed command is missing a '.
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.

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.

Ok,

In the graphic, the top row signifies the sport and the bottom row are the teams and their respective scores.

Top Row: (Sport)

EPL= English Premier League (UK football league)
T20 = Twenty Twenty Cricket (Australian Cricket)
Test= Cricket
A-League = Australian Soccer (football) league
IRB = Inernational Rugby Union

There will be plenty more. If your click on All Results, you will find a more through list. If you want more or all of em just let me know and I will write them out.


Bottom Row (Teams and score):

In your Examples:
i) Example Norwich 0 vs Tottenham 2
This is an EPL game. The two teams are Norwich and Tottenham. Tottenham scored 2 goals and Norwich 0.

ii) ADL 8/157 vs HOB 4/171)
This is a cricket T20 game. The two teams are ADL (Adelaide) and HOB (Hobart). Cricket scores are always in this format W/RUNS. Adelaide scored 8/157 and therefore defeated Hobart which scored 4/171. :)
 
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.

Thanks for the lesson in non-American sports leagues. :)

In my quest to parse the general content of the Fox Sports page, I kept going back to that Live Scoreboard at the top. I already have code that sort of gets some of the data from the main content on the page, but it's very complex. I would throw a code snippet of the HTML parsing class (that isn't fully completed), but it's over 150 lines and that's just one part of the script.

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.
 
Last edited:
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.

Look forward to it. Thanks very much. There must somewhere be a feed that is similar to the one fox is serving in the US.

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.

Code:
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
 
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!
 
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.

Well, I don't have Lion or Geektool 3 so I couldn't tell you. I run Nerdtool and am stuck on Snow Leopard due to having a Core Duo in my 13in Macbook.

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!

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.
 
Saw this on a linux setup, is it possible to get this for geektool?

G2oz9.png


Thanks to anyone who can help :).
 
Saw this on a linux setup, is it possible to get this for geektool?

Thanks to anyone who can help :).

Some of that is already in this thread, don't know about the GPU percent usage though.

I had downloaded a program from somebody that had some specialized stuff in it that allowed you to get system information out, it's smc.custom. I can't find it anywhere on the internets though and I don't know who provided it.
 
In case anyone cares, I released a new download version of the Five Day Forecast script to my google code page. Check my signature for the link.

Version 4 fixes two issues:
1 - Issue where the High/Low data wouldn't display after sunset
2 - Issue trying to grab the temperature data with the metric tab
 
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.


Thank you so much!! i will wait for this script! Thank you!!
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.