inadmissible

Archive for August, 2006

Importing bookmarks into eZ publish

I’m planning to write a script for importing my bookmarks into an eZ publish site. Simpy is a great service (searching is based on Apache Lucene) but it is often crawling under heavy traffic when I really need it. In the meantime my Firefox bookmarks list keeps growing and growing, altough I hardly can’t find anything back in it :-)
I found out that it’s not easy to parse the bookmarks file of Firefox with a SAX or DOM parser, since it’s not well-formed. I tried to do a cleanup with HTML Tidy but that really messed up the folder structure. I decided to first use the Bookmarks Synchronizer extension for Firefox to export the whole bookmarks list to XBEL. Afterwards I’ll import the XBEL data into an eZ publish content tree. The hierarchical folder structure will not remain intact, since I prefer tags.
Contact me if you have any remarks or if you’d like to participate in development.

1 comment August 10th, 2006

JavaScript natural order string comparison

Both Jonny Reichwald and Greg Nacu mailed me about a little bug in my JavaScript natural order string comparison implementation, so I patched it. Here’s the latest version: natcompare.js

Visit Martin Pool’s natsort project page for the original and other implementations.

4 comments August 1st, 2006


Calendar

August 2006
M T W T F S S
« Jul   Oct »
 123456
78910111213
14151617181920
21222324252627
28293031  

Posts by Month

Posts by Category