Delicious offline poster
From CommerceNet Wiki
So del.icio.us is nice, but I'm often categorizing and summarizing pages when I'm offline. So I hacked up a script real quick this weekend to post stuff with.
It's written in Perl and depends on libwww-perl and XML::SAX, in addition to the usual Perl stuff. The idea is that you point it at a text file that looks like this:
user: bob password: b0b15fat url: http://news.com.com/2102-7345_3-5466159.html?tag=st.util.print description: Tech giants edgy over Web services CommerceOne patent sale extended: Bob Glushko patented some fundamental B2B stuff. Now his patents are up for sale, menacing the world. tags: crime fraud free-software software-patents patent business url: http://youngpup.net/journal description: Aaron Boodman's blog "Youngpup" extended: This guy has done some pretty spectacular extensions to Mozilla. Met him at lower-case semantic web dinner. tags: blog programming
Using the specified username and password, it checks to see which URLs you haven't already bookmarked on del.icio.us, and adds those --- one every ten seconds, just to be extra-careful about not overloading the server.
There seems to be a problem at the moment with canonicalization of URLs:
uhoh: this keeps getting reposted. wonder what's wrong? url: http://www.sciencenews.org/scripts/printthis.asp?clip=%2Farticles%2F20050115%2Fclip%5Fbob10%2Easp description: Palm-Nut Problem: Asian chewing habit linked to oral cancer, from Diana Palmer extended: WHO says regional epidemiological evidence suggests betel causes oral cancer; NTU researcher also finds huge rise in oral cancer at the same time as betel chewing; 2003 IARC study concludes areca carcinogenic. tags: drugs
