

If you attempted to add an item to your Library now, you'll notice that it should still work - it appears DL will default to Amazon US if there are no relevant results on your selected site (Japan, now being redirected back to your computer).
#Where are delicious library 2 files stored install
Next, we have to install our script to respond to these lookups. Step 2: Responding to Delicious Library Lookups Once you save the file, you should be able to access within your web browser and see that it is most definitely not the Amazon site - it should be whatever page you would normally see if you loaded (by default, Apache's "Seeing this instead of the website you expected?").

Add the following to the bottom of the file, making sure that the whitespace between the two columns is created with a tab: To redirect all our Amazon Japan traffic, you'll need to edit /etc/hosts with an authenticating text editor (like BBEdit, or sudo vi, or whatever). This will trick Delicious Library into thinking it's communicating with Amazon Japan, but instead, it'll be communicating with a script we'll install down in step 2. I chose the Japan site because I don't think I'll ever legitimately visit there (much less use its Web Services), and the first step of the hack involves redirecting all requests sent to that site from your computer back to your computer. The first thing we're going to do is tell Delicious Library to use Amazon Japan for data lookups (in Library > Preferences > Load Details From). Step 1: Intercept Delicious Library Lookups I'm hoping all this stuff can be cleaned up a bit more in DL2, but DL is pretty tightly tied to Amazon's Web Services, so pulling data from other sources may always be kludgey like this. The comic book ID you'd like to import from the Grand Comic Database.īe forewarned: this is a hack in the earliest stages! I'm sure there are plenty of things that can go wrong (like DL loading up the wrong URL for grey arrow clicks, bad scrapes from GCD due to unexpected formatting, the ability to add in other "matching" items from other Amazon sites, release dates that expect the exact day, etc.).

There's a 99% chance it'll work on Tiger too, but I'm not checking. The built-in Apache web server enabled (via System Preferences > Sharing).The ability to modify the normally hidden /etc/hosts file.if it's not possible, this hack will be fleshed out in more quality-assured detail). I succeeded, but I'm not going to spend a lot of time walking through this: I'll assume you're willing to wait until version 2 is out and this all gets rewritten properly (hopefully. "prepare an external file for importing"), I decided to see if I could get the current release, version 1.6.6, doing "the right thing" the wrong way - getting it to Work via an amalgamation of hacks. With the prospect of doing comic importing "the right way" (meaning "type in a title and have it Work" vs.

Thankfully, Delicious Library 2 fully supports AppleScript and I'm hoping I'll be able to hook into new item creation, as I'd love to store my comic and magazine collections (and maybe even weirder things like collectible card games, but that'd be ReAaALly stretchin' it). What has stopped me in the past was its lack of expandability - with no AppleScript support, I couldn't add in new data scraping functionality myself (though, if I were truly bothered, I'd've done custom imports). With Delicious Library 2 releasing sometime this holiday season, I may actually start using it for my library catalog.
