This is old content! The graveyard is a snapshot of content created from 2002-2005. For new stuff, visit Maniacal Rage.
 

Two New Features

posted on november 16, 2004, tag: site

I finally started to use Del.icio.us a few days ago and instantly realized how much easier it was than putting sidebar items into my own database. So today I whipped up a simple Del.icio.us class that calls their open API. Every hour it downloads new links I've added and drops them into my database (scheduled with a cron job). Simple and effective. Because of this, there will probably be more See Also items in the future (it's so much easier!).

Also because of this (and since there were already nearly 70 items) I've added pagination to the See Also archive. Now you won't see just a giant list of items, they'll be split by the current setting of 10 items per page. My page controls look identical to d's so credit is due. I couldn't figure out any other way to effectively do it, his way seems to be the best. I also increased the number of items appearing in the sidebar to 6 rather than 5.

There are a few more things to implement with this Del.icio.us support, including links to the tags and handling for when I edit a link on the Del site. And since the pagination code is done now (it was crazy simple) I will put it to use in the category archives, where some pages can get very long.

On a related note, my Codebase is really coming together. I'm in the finalizing/commenting code stage at this point and it will be a short while longer, but I've finalized the pricing scheme and it will all be released soon.

Comments

There are 3 comments, comments are closed

Michael D. Boyle on 11/17/2004:

I was wondering, what parameters do you pass to del.icio.us to get links you've posted in the last hour?

Garrett on 11/17/2004:

Actually, there is no way as I see it to get links posted in only an hour timeframe, so I just get a list of all recent posts and then only enter the items whose hashes don't already appear in my database.

Lauri J. on 12/06/2004:

Any hints on release schedule of the "Codebase"? Judging by the comments posted on previous entries, there's a great interest towards your code and you have an biz opportunity up for grabs. :)


See Also

View the archive

Original iPod Introduction
How far we've come in just a few short years. Here's where it all started.

Front Row on Non-iMacs
Going to try this tonight!

WriAShorStorWe!
DY starts a one-week short story writing event for people to lazy to enty NaNoWriMo. VerCooIdea.

Lost Rhapsody
Funny Flash movie using Weird Al music and Lost stuff. Lyrics make a surprising amount of sense!

Jed's Other Poem
Unsolicited music video made on an Apple ][. Fantastic!

Printers Output Secret Barcode
The government is keeping tabs on what you print, with the help of major printer companies.

Dreamhost Promo Codes
DH already has very cheap, very good hosting—this just sweetens the deal.

Photos of the new iPod
Just received my new iPod and I put a few photos up.

PEZ MP3 Player
Funny idea that actually looks kind of neat. I like that it comes pre-loaded with "indie" music.

HD Easter Egg
"My Name is Earl" on NBC gives viewers with HD TVs a little easter egg. Cute, but weird.