Ajax widgets with jQuery and Google Feed API

Dynamically loading jQuery and using Google Feed API to build small blogparts.

sample

Blogparts1

Blogparts2

Blogparts3

usage

<script type="text/javascript" src="http://www.zenoplex.jp/tools/js/bp.js?url=http://gyoumu-youhin.net/feed/rss/ll_cat_cd=01&num=3"></script>


urlurl of the feed to load
num[optional]number of items to load. Default is 5.
lang[optional]language of the application making the request

Beware not to send too many requests simultaniously! Not sure whether there's a per-day-limit of requests using Google Feed API but each response should be less than 5000 characters or less than 100 items.

Also note that in some rare cases, API returns invalid result data (Got it often when requesting minor, unpopular feeds). So its always a good idea to prepare alternative links/images in case of an error.
http://groups.google.gg/group/google-ajax-search-api/browse_thread/thread/5eefca2aaee5f542/81dbcd05a7ee752f

"Anyone who stops learning is old, whether at twenty or eighty." Henry Ford

licensed under a Creative Commons Attribution 3.0 License.
©2009 zenoplex.jp all rights reserved.