Delicious CFC component to access API

I've just got around to finally posting a new project to RIA Forge.

deliciousCFC. Its a single component that you can use to access the Del.ici.ous API.

There's only a couple of methods now missing but I should be adding them over the next week.

Posted: 14-Sep-2007

View: 2097

Permalink: here

Comments

Nice work Sir

#1 nick tong
14/Sep/07 2:37 AM

I was going to ping you about this. Thought you might like it :o)

#2 Andy Jarrett
14/Sep/07 2:44 AM

Nice - this is useful. Any chance you've gotten in on the preview of Delicious 2.0 (http://tinyurl.com/2ds25s)?

Throw an invite my way ad I'll name my first-born after you...

#3 Jason
14/Sep/07 4:54 AM

Andy,

The CFC works great, but how do i output it on a .cfm page?

From the cfdump i learned that it is a struct of XML values in an array (phew), but i can't seem to output anything from the, for example, obj.getPosts.
i did get some 'translated Java' like "cfdelicious2ecfc969484578$funcGETPOSTS@114b553" (using <cfoutput>#obj.getPosts#"</cfoutput> but referencing the actual XML values won't work.

I also tried things like <cfoutput>#obj.getPosts.href[1]#"</cfoutput> but no matter what XML-reference notation i use, i get error: "Element GETPOSTS.HREF is undefined in OBJ."

Any help is appreciated.

#4 Marc
25/Sep/08 8:34 AM