suburbia

Premshree's (品速力) Personal Weblog

etc.

Previous Entry Add to Memories Tell a Friend Next Entry
A Technorati Client in 9 lines of REBOL
suburbia
[info]premshree
REBOL is a weird and nice language. It’s got URLs and emails as data structures (and for good reason). It’s new and it’s immature, but the folks have a vision, and that’s what makes me use it on occasion.

Maybe somebody else will (or is?) snatch that vision from them. However, REBOL is in safe hands. That’s nice.

REBOL [Title:  "REBOL Technorati"]

TECHNORATI_URL: "http://api.technorati.com"
COSMOS_GET: 	"/cosmos?"
BLOGINFO_GET: 	"/bloginfo?"
OUTBOUND_GET: 	"/outbound?"
KEY:		"Your-Technorati-API-Key"

cosmos:		func [url start] [ probe parse-xml read to-url join TECHNORATI_URL join COSMOS_GET join "key=" join KEY join "&start=" join start join "&url=" join url "&format=xml" ]
bloginfo:	func [url] [ probe parse-xml read to-url join TECHNORATI_URL join BLOGINFO_GET join "key=" join KEY join "&url=" join url "&format=xml" ]
outbound:	func [url] [ probe parse-xml read to-url join TECHNORATI_URL join OUTBOUND_GET join "key=" join KEY join "&url=" join url "&format=xml" ]

(Leave a comment)

what does this client do ?

(Anonymous)

2006-10-08 06:07 pm (UTC)

Hi,

what does this client do? (I'm looking for the easiest - really
easy, as I have no programming skills - way to show how many
people link to every post on my blog). Thanks,

Massimo
http://www.dotcoma.it

(Leave a comment)