Premshree Pillai ([info]premshree) wrote,
@ 2004-10-11 00:41:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Current music:Pearl Jam - Black, Red, Yellow

A Technorati Client in 9 lines of REBOL
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" ]


(Post a new comment)

what does this client do ?
(Anonymous)
2006-10-08 06:07 pm UTC (link)
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

(Reply to this)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…