Blogger Hacks, Categories, Tips & Tricks

Thursday, January 19, 2006
Del.icio.us Categories w/ Dynamic Display Post
Phydeaux3 has written an extensive 3-part how-to for a version of the del.icio.us category method that creates a single, hidden post in the archives of your blog, and uses javascript to build a dynamic category list within that single post when you link there from the special sidebar menu. Very cool.
  • Part 1 covers the creation of the special dynamic post, and of a sidebar menu that will link to that post.
  • Part 2 deals with customising the link field for the addition of tags, as well as the construction of a one-click post-to-del.icious link that can remember your tags.
  • Part 3 is about hiding the category post on the archive page, so that it is only visible from the sidebar, as well as formatting the display of information on the category post.
This is a very comprehensive how-to, with some very sophisticated extra features. If you're comfortable editing your template, and you want to integrate your categories as far as possible, check this out!!




Posted at 5:57 PM by John.
4 Comments:
<    >
Blogger Greg said...
This is a very well-written tutorial on a lengthy and involved process.

It's worth it though; the end result is pretty and slick-looking. I like the "supertags", whereby readers can elect to point the current tags at a range of services. And the simulation of multiple words (by adding/removing _ on the fly) is done nicely. The highlight for me was the how phydeaux3 implemented the tag cloud ... I won't ruin the surprise for you.

Interested readers should also have a look at Singpolyma's implementation too: it's a similar approach of pointing the delicious categories at one of your blog pages and munging the matching posts onto the magic page, search engine style.

<    >
Anonymous Anonymous said...
Thanks for the comments Greg.

I probably should point out that the "supertags" Greg mentions aren't covered in the how-to. They really don't have anything to do with the categorization method. Just something I threw together quickly on an idea.

Also I haven't really added how to precisely implement the "tag cloud" yet.
Pretty trivial, I just haven't written it up yet.

Thanks again.

<    >
Blogger Aditya said...
it was a lovely hack, and very creatively thought too. however, the only reason i would want to use pydeaux3s method over greg's freshtags would be because they look good. other than that, its too much work! :P

say greg, how about you start working on making the tags look good? using css, its kinda limited. it'd be nice if the 'flat' style appeared below one another, instead of coming up right next to each other!

good stuff phydeaux3. keep up the good work!

<    >
Blogger Greg said...
say greg, how about you start working on making the tags look good?

Gee, thanks, adi! It should be plain that I'm not a graphic artiste - I'm not even a proper coder. But I think you might be selling short what can be done with css. Most of the ways html lets you display info are presented, and the rest just comes down to styling.

For example, I read your request above about flat lists as "an unordered list, but without any bullets". Maybe a bit like on my homepage?

You could try changing your your listTag call from "flat" to "list" and sticking this in your template header:

<style>
li.showtag
{
line-height: 130%;
margin-top: 1em;
list-style: none;
margin-left: -1em;
}
</style>

(Change showtag to showtitle to do this to post titles.)

Or - to be totally brazen - find something you like and, um, get inspired.

For example, phydeaux3's .sidebox style looks very nice. Plenty of inspiration there.

So, if you come up with something you like, feel free to post it back here and we can all enjoy it.


eXTReMe Tracker