http://stuffnobodyto
Monday, June 21, 2010
Monday, March 24, 2008
random thoughts 03/24/2008
Convert Your Annotations to Blog Posts with 1-click
Diigo (which i started using lately) has this nice feature, to post specific tags directly to your blog... Let's see how it goes.
Sunday, October 21, 2007
Monday, May 14, 2007
Ohloh
Thursday, November 09, 2006
12 Days Later
Wednesday, August 02, 2006
Something in the works...
Thursday, June 15, 2006
Fucking Flock
So...
I've installed this 'fine' piece of software called Flock... A Web2.0 version of Firefox or what ever...
It acted very friendly and offered to import a shit load of settings and bookmarks from Firefox. I agreed.
Then it suggested to use del.icio.us integration. Cool. I agreed.
Then this fucker imported and merged all the bookmarks in wrong folders and mishmashed them with the posts I had in del.icio.us. Blarg. That was annoying.. But ok. I removed them all, and decided to reimport just from del.icio.us.
And here comes the funny part. Apparently - when I pressed delete on my local bookmarks... It deleted them permanently from del.icio.us aswell! With no confirmation!!!
After getting pissed as hell, I remembered that I imported del.icio.us to Yahoo! MyWeb a couple of days ago. So I decided to save what's possible from them.
So I've used their API to get all my posts. Without using and SOAP/REST whatever, I just copied an URL from ther docs, and changed it a little.
This will return a neatly structured XML of all your bookmarks with their tags.
Then the next step was parsing this data, preparing it, and shipping it off to del.icio.us.
Here's when trusty Python comes in:
- Use ElementTree module to parse the xml using .fromstring method
- Use PyDeleicious for adding tags
All in all - about 20 lines of code.
So after 10 minutes of mucking around with python code - all my bookmarks are back in place, and Flock is in my permanent SHIT LIST (and I see I am not alone: flocksucks.wordpress.com)
This was a public service announcement from Eli Yukelzon. :)
Saturday, March 18, 2006
Plugins
You can see here a 'Recent Posts' plugin, and a nifty little AJAX Chatterbox i.e. 'Shoutbox'. It took me about half an hour to write these, which is rather cool, considering this AJAX Shoutbox plugin idea that came up recently generated ALOT of buzz, for no apparent reason... Oh well. Have fun with it.
In other news - i just passed 111 posts ;)
Monday, March 06, 2006
Threaded comments!
I've implemented threaded comments! Yup. With a nice DHTML feel, pick a comment, press a reply and volia - an editor appears, and sub-comment can be added!
Sweet!
Monday, February 27, 2006
First shot at plugins
It was actually redicilously easy using entrypoints from setuptools.
To take a look how it is done, I've added a sample 10 line plugin that adds a 'Recent Posts' to the sidebar of the blog.
Cool stuff! Technorati Tags: turbogears, turboblog, python



