dojox.data.FlickrStore - Source from favorites

I wanted to use a favorites list on Flickr (http://flickr.com) as a source for images.

dojo 1.3.0’s dojox.data.FlickrStore sources images from a public photo feed:

reg.register("default",function(_2f){return true;},_2d+"photos_public.gne");

Since I only wanted to change the feed URL, I used the following code to indicate that the request should be made to the favorites feed.

	var reg=dojox.data.FlickrStore.urlRegistry;
	reg.unregister("default");
	reg.register("default",function(a){
		return true;
		},"http://api.flickr.com/services/feeds/photos_faves.gne");