Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Using multiple tags on Code Snippets (See related posts)

I spent a lot of time trying to select snippets with
contain multiple tags. (series60 and sql)
There is no '+' links I can click anymore.
After about 10 minutes of trial and error, I find out how.
This also answer another question on correct use of URL.
# for tag 'series60' AND 'sql'
http://www.bigbold.com/snippets/tags/series60/sql/

# this doesn't work
http://www.bigbold.com/snippets/tag/series60/sql/

# all of these work (single tag case)
http://bigbold.com/snippets/tag/series60/
http://bigbold.com/snippets/tags/series60/
http://www.bigbold.com/snippets/tag/series60/
http://www.bigbold.com/snippets/tags/series60/

My conclusion is that.
For a single tag, use '/tag/...'.
For multiple tags, use '/tags/...'.
The first is quicker to type, while the second is flexible in case you want to filter further.

Comments on this post

peter posts on Mar 03, 2006 at 00:28
As you note, we used to make this usage public and it was linked, but it caused problems with people crawling us, and rather than fix that problem, I decided to 'cover up' the feature. del.icio.us has a similar feature (with a different URL scheme though) which also isn't publicized.

Anyway, good detective work!

You need to create an account or log in to post comments to this site.


Click here to browse all 4861 code snippets

Related Posts