Web 2.0 Blog reporting it to you

0 Visible.net: New Web 2.0 Ecommerce Shopping Cart Company

Visible.net is a new provider of state-of-the-art ecommerce and online marketing services.

(more…)

0 AJAX Feed API: Blogroll and Slideshow Controls

We have discussed the Google AJAX Feed API when it launched. It offers Ajax developers the ability to access any public feed through a unified API, bypassing any domain issues in a secure way. The team has started to build useful widgets on top of their own API, and show you just the beginnings of what is possible. Slide Show Control The AJAX Feed API Slide Show Control allows you to create a photo slideshow from any feed that supports media RSS, such as PhotoBucket, Flickr, or Picasa Web Albums. You can add a slideshow as a one liner:
JAVASCRIPT:
  1. var ss = new GFslideShow(feedurl, "slideshow-div", options);
and can tweak various attributes via the options (e.g. transition times, controller feel, thumbnails, and more). FeedControl / Blog Roll The AJAX Feed API FeedControl widget allows you to add a blog roll by setting up your feeds:
JAVASCRIPT:
  1. var feedControl = new google.feeds.FeedControl();
  2. feedControl.addFeed("http://www.digg.com/rss/index.xml", "Digg");
  3. feedControl.addFeed("http://feeds.feedburner.com/Techcrunch", "TechCrunch");
  4. feedControl.addFeed("http://ajaxian.com/index.xml", "Ajaxian");
  5. feedControl.draw(document.getElementById("feedControl"));
You can tweak the look, enabling you to create a tabbed component, a sidebar style, or more. You can see these in action on the AJAX Feed API Playground blog.

0 An ode to desktop app experiences

We spend so much time looking at web-applications these days that we tend to ignore desktop apps. Still, every once in a while there’s room for pleasant surprises, and today was one of those days with the release of CSS Edit 2.5 (by Macrabbit) and Coda (by the guys at Panic). I guess it is a little weird to be singing praises to desktop applications when it is a known fact that access-anywhere is the killer feature, but even with Ajax or RIA environments like Flex, there’s (at this point) no way to get the same kind of “gratification” from web-apps. The web still doesn’t manage to compete with the responsiveness and the constant look and feel of a great desktop application. This is unfortunate, and although changing at a rapid pace, its just not there yet. (more...)

0 Google AJAX Feed API

Google Ajax FeedsGoogle this week announced the release of the Google AJAX Feed API. What is it? It’s a JavaScript library that lets you mashup RSS and Atom feeds entirely on the client, thus no need for server-side coding. In addition, one of the useful core features is that it can automatically map XML attributes to a JSON result format. To get a sense of what it can do, one of their example mashups has been added to our listings: the Google AJAX Tune Bar that lets you add iTunes RSS feeds to any page. If you’re familiar with JavaScript programming you’ll note that typically this sort of client-side mashup would have some limitations due to browser security constraints restricting data to only come from the same server a given page was delivered. But Google works-around this by having their servers act as a proxy cache for all feed requests made via the API. Which leads to a couple of other implications: “The AJAX Feed API, like Google Reader and the Google personalized homepage, caches individual entries within feeds and reconstructs feeds based on those entries. Consequently, feeds from the AJAX Feed API may not reflect the exact XML file from the URL you request. In many cases, you can request more entries from the AJAX Feed API than are currently available in the live feed.” It is also interesting that we’re seeing more JavaScript-based APIs from Google, including the AJAX Search API and the ever-popular Google Maps API. We’ll probably see more in the future given that they’ve introduced a new base url of google.com/jsapi and a generalized JavaScript API load process: “Loading the API requires two steps because Google is moving to a new model of loading AJAX APIs to make it easier to include multiple Google APIs on your pages. Subscribe to the Google AJAX APIs Blog for announcements as we start rolling out this new AJAX API loading mechanism.” This is one of those very useful but somewhat subtle APIs that has more power than may be initially apparent.

0 Google announces new AJAX Feed API

The Google AJAX API team has announced a genuinely useful Feed API that gives an Ajax developer the ability to access feeds, cached in the fast Google edge cache where appropriate, from across the web using a simple JavaScript API. This is a subtle service that does one thing that is currently a pain-point for developers of certain applications. Ajax developers now have a clean way to access public feeds on any domain, and get access to the content in a uniform way. Gone is the need for us to create a proxy on the server to access feeds from other domains. Gone is the need to have to deal with all of the feed types. RSS, Atom, RDF, we can now use either MIXED_FORMAT or JSON_FORMAT to use the uniform access. The full set of feed formats supported is Atom 1.0, Atom 0.3, RSS 2.0, RSS 1.0, RSS 0.94, RSS 0.93, RSS 0.92, RSS 0.91, RSS 0.9. The unified feed result elements are: title, link, description, author and a list of entries[]. The entries[] list has the following elements: title, link, content, contentSnippet, publishDate, and categories. XML and mixed formats allow you to also get access to the XML document itself, and then you can use standard DOM tactics to get what you want from that content (e.g. getElementsByTagName). You would want to use XML if you needed to grab out something specific from the feed, such as the digg:count. RSSBling Redone Funny story. Ben and I created Ajaxian.com as a place to host RSS Bling back in 2005, as you can see via the Wayback Machine. It was only later that we started the blog. RSS Bling was an offline RSS reader that we create as an example of doing offline and Ajax before it was cool. We got a lot of mileage out of doing presentations and unplugging the net and seeing that it still worked. One of our problems was getting access to feeds. We could have created a proxy to feeds, but instead we used bloglines as the proxy, and got the data from there. With the new Feed API we can go directly to the feeds itself. We ported RSS Bling to use the API, and you can view it here. Once you load the Feed API, you can grab a feed using google.feeds.Feed, passing in the feed URL, setting any values on it (e.g. the mode to use, how many entries you want in the result size, etc.), and then calling load(callback). The callback allows the API to grab the feed asynchronously, and holds the result itself. Here is an example from RSS Bling that loads a feed and shows the entries in the main window:
JAVASCRIPT:
  1. new google.feeds.Feed(feeds[feedId].feedUrl).load(function(result) {
  2. if (!result.error) {
  3. var html = "";
  4. var feed = result.feed;
  5. html += '<div class="titlebar">';
  6. html += '<div class="title"><a xhref="' + feed.link + '">' + feed.title + '</a></div>';
  7. html += '<div class="description">' + feed.description + '</div>';
  8. html += '</div><div class="entries">';
  9. for (i = 0; i <result.feed.entries.length; i++) {
  10. var entry = result.feed.entries[i];
  11. html += '<div class="entryTitle"><a xhref="' + entry.link + '">' + entry.title + '</a></div>';
  12. html += '<div class="entryText">' + entry.content + '</div>';
  13. }
  14. html += "";
  15. document.getElementById("feedContent").innerHTML = html;
  16. } else {
  17. showError();
  18. }
  19. });
I am really looking forward to seeing how the API is used. For more infomation you can visit the Ajax Feed API home or check out the FAQ. RSS Bling Feed API version
Next Generation Ecommerce Software & Web Store Platform > Fast, Simple, Friendly Stores
RSS
Stores  Features  Blog  Archives  About  Contact       © 2006 Web 2.0 Stores