LWP::ConnCache::Resolving

I wrote a simple extension to LWP::ConnCache, which allows to somehow resolve keys before putting connections into cache.

Task is not very obvious until you understand that http://www.example.com/ and http://example.com/ are the same server and there is no need to open two connections if you want to get data from both sites.

Moreover http://*.livejournal.com and http://*.blogger.com are the same server.

how you do resolution – using DNS or using some other algorithm is left to developer.

Anyway – her it is: LWP::ConnCache::Resolving.

JSON Remote Loader

I’ve been looking at JavaScript recently, especially after watching those courses by Douglas Crockford.

I was doing some bookmark and widget coding I realized that there is no tool to load JSON data from remote hosts. While plenty of libraries provide you with various tools to organize your XMLHttpRequests and other hacks to load data asynchronously from your site, none of them allow you to overcome same-host security limitations and load data from other sites without using some sort of server side proxy.

So to streamline the rest of the development I wrote a library that can be used to load JSON-formatted data from remote hosts without spending your own traffic.

See project page here: JSON Remote Loader

P.S. as part of this project, I got some experience using JSLint, Firebug, Google code project hosting and even wrote Makefile to automate minification and colorizing as well as zipping of the code.

Toolbar got more controls

I haven’t been publishing about many changes in Feed Friends and I can’t really remember everything I did but today I finally got tired of link toolbar to only have Feed Friends share button and not to have Digg, del.icio.us and the rest so I changed this processor to include all In-Feed Controls I configured in processing customization page.

So, even if you don’t use Feed Friends sharing functionality, you can still enjoy Feed Preprocessor part of the system and use it to get If-Feed controls to work for you.

P.S. Actually Feed Preprocessor configurator allows you to pick more controls then listed on infeedcontrols.com and they include: del.icio.us, Technorati search, Digg, Feed Friends, Newsvine, Fark, Reddit, Yahoo! My Web and Netscape.