Latest Featured Articles
Takeslides at photobucket.
Posted at:Saturday, August 16, 2008 Viewed:(30)times. "Hi All! I'm quite excited to share here that "takeslides" was just added to the "Photobucket Applic..."....Read more....
Takeslides.com at Orkut and facebook.
Posted at:Saturday, July 26, 2008 Viewed:(92)times. "Well these couple of month were quite overwelming. From the point of launching takeslides at hi5.com..."....Read more....
Takeslides at hi5.com
Posted at:Sunday, June 01, 2008 Viewed:(200)times. "Hi! Just a few hours ago takeslides.com was launched at hi5.com."....Read more....
Takeslides.com is launched!!!
Posted at:Tuesday, May 13, 2008 Viewed:(306)times. "Hi Everyone, I'm glad and excited after quite some long time of silence, (at least at "nukedesigner..."....Read more....
iTune latest RSS slideshow gadget
Posted at:Thursday, February 07, 2008 Viewed:(433)times. "Hi! We have just released our new gadget. It is a slideshow of iTunes latest by all categories. Yo..."....Read more....
Exciting news for Picasa, Photobucket and Flickr users!
Posted at:Tuesday, January 22, 2008 Viewed:(576)times. "TURN your RSS buttons at the  bottom of any of your albums pages to a beautiful slideshow withi..."....Read more....
"Announcements" new feature in the social bookmarking template
Posted at:Saturday, December 15, 2007 Viewed:(536)times. "Hi! We've added a new  "Announcement" feature to our "social bookmarking template". Please ta..."....Read more....
A new forum as well.
Posted at:Thursday, December 13, 2007 Viewed:(530)times. ""....Read more....
New features: A newsletter and a new catalog
Posted at:Thursday, December 13, 2007 Viewed:(832)times. "Hi all! I'm excited to announce those two new features. The first is the newsletter which I'm usin..."....Read more....
The social bookmarking template via Google AJAX Feed API
Posted at:Monday, November 19, 2007 Viewed:(786)times. "For those of you who have bought the template or other who have seen the use of the Google Ajax Feed..."....Read more....
Support, Tutorials, Articles

The social bookmarking template via Google AJAX Feed API

OK,

Your first step would be to open the account for that at.....Google (quite obviously):

Sign up for the Google AJAX Feed API

You will get a very very long key number. keep it in a safe place! (just kidding.)

Now copy and paste that code into your ascx file. I was just putting it under the dnn tags.:

<script type="text/javascript" src="http://www.google.com/jsapi?key=YOUR-API-KEY">
</script>

<script type="text/javascript" src="rssdisplayer.js"></script>


Now in the place where you would like to add the RSS put that code: (change to source mode.)

<script type="text/javascript">

//USAGE SYNTAX: new rssdisplayer("divid", "rssurl", numberofitems, "displayoptions")
new rssdisplayer("nameofdiv", "http://www.yourdomain.com/.xml", 4, "date, description")

</script>

And see how it works.

For more info look here:

A robust RSS Feed displayer

In both templates where I was implementing it, all that was left now was to make the Url of the RSS be changed dynamically by the user who is submitting the link or profile.

For that we have replaced the url with a custom field:

new rssdisplayer("nameofdiv", "[CUSTOM:rss_url]", 4, "date, description")

That's it!

Writing that article made me look once again at :

Google Ajax feed api blog

And to find out that they have developed new features which are really interesting for coming templates!

Good luck!

 

posted @ Monday, November 19, 2007 2:28 PM by Avi A

comments

Currently, there are no comments. Be the first to post one!
Click here to post a comment