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

About this user

Korakot Chaovavanich http://korakot.stumbleupon.com

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Using multiple tags on Code Snippets

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.
   1  
   2  # for tag 'series60' AND 'sql'
   3  http://www.bigbold.com/snippets/tags/series60/sql/
   4  
   5  # this doesn't work
   6  http://www.bigbold.com/snippets/tag/series60/sql/
   7  
   8  # all of these work (single tag case)
   9  http://bigbold.com/snippets/tag/series60/
  10  http://bigbold.com/snippets/tags/series60/
  11  http://www.bigbold.com/snippets/tag/series60/
  12  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.
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS