How to: use tags

  • strict warning: Non-static method view::load() should not be called statically in /nfs/c03/h02/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/views.module on line 879.
  • strict warning: Declaration of content_handler_field::options() should be compatible with views_object::options() in /nfs/c03/h02/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/cck/includes/views/handlers/content_handler_field.inc on line 208.
  • strict warning: Declaration of date_handler_field_multiple::pre_render() should be compatible with content_handler_field_multiple::pre_render($values) in /nfs/c03/h02/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/date/date/date_handler_field_multiple.inc on line 185.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /nfs/c03/h02/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/handlers/views_handler_argument.inc on line 745.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /nfs/c03/h02/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /nfs/c03/h02/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /nfs/c03/h02/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /nfs/c03/h02/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.

If you're already used to tagging information on the web, skip down to see how to add and then use them at Batgung. If you're new to tags, what's the big deal?

Think of trying to use a 3,000-page reference book that didn't have any index...

This website is a bit like that – over 3,000 different photos / places / articles / forum posts, but no index!

Think of Tags as providing that index.

An example:

Let's say you've been looking at this photo of an old Hong Kong tram, and you'd like to see if there are any more. In a book you'd go to the index to see what other pages are listed under the word 'tram'. Here on Batgung you can see the tag 'tram' in blue, under the photo. Click it, and you'll see a list of all the pages on the site that have the tag 'tram'.

So another way to think of tags is that they act as links to join together related information, making it easier for other readers to find it.

TAGGING BASICS

A tag describes the item you are adding, and links it to other, similar items. So for photos of trams, 'tram' is an obvious tag. It's also worth pointing out that tags are optional – if you can't think of anything to tag it with, you can leave it blank.

How to add a tag.

When you add a new image, place, forum post, etc, one of the boxes you can fill in is marked Tags:. You simply type one or more tags in there. If you want to add multiple tags, remember to separate them with a comma.

Using Tags.

Tags are listed under each item (photo, forum post, article, etc). Just click the tag to see a list of all items with that tag.

Best practices for choosing tags

  • Keep them short. One or two words is usually enough.
    A common mistake is to use a long, descriptive sentence for the tag. Eg in the tram photo above, to use a tag like 'tram in causeway bay'. But tags are only useful when there are more than one item with the same tag. The chances of getting another item with the tag 'tram in causeway bay' are almost zero, so the tag is useless.

  • Let the website suggest a tag, to avoid duplicates.
    Duplicate tags (tags with different spelling, but the same meaning) are bad too. Eg if there are three photos of trams, one tagged tram, one Tram, and one trams, none are linked to each other. The trick is to type a few characters, eg tra, into the box, see what suggestions are shown. Then click the one you need. (NB You're not limited to existing tags though. If there isn't a relevant tag in the suggestions, go ahead and type your new tag)

  • Don't use them for places.
    If you want to note the location of an item, use a Place instead. But if you want to identify a type of place, tags are ideal. So 'police station' is a good tag, but 'Mong Kok Police Station' would be better described by using a place.

ADVANCED TAGGING

Different ways to display tagged information.

We've already seen that clicking a tag shows a list of related items.

You can also use the place map to show all places that have a certain tag.

Eg Let's look for all places that are linked to Martin Booth's 'Golden Boy' book. Go to the Map of Hong Kong Places. In the Tags box, type gold, then click on the suggested golden boy. Click the 'Apply' button, and the map updates to show every place that is tagged with golden boy.

If you were only interested in places mentioned in chapter 3 of the book, go back to the Tags box, add a comma and then type chapt. Choose chapter 3 from the suggestions, and the Tags box should now show golden boy, chapter 3. Click 'Apply' again, and the map updates to just show places that were tagged with golden boy and chapter 3.

Note that the URL of the page updates to show the selected tags, so you can forward the URL to another person if you want them to see the same map.

Tell people what tags you are using

In the Golden Boy project, we all agreed on a set of tags we would use, so that later we could search on those tags to see all the information different people had added.

So if you are adding some new information, and hope that others will add other, related information, it's good to let everyone know the tags you are using.

eg, If you have any old photos of Hong Kong's trams you would like to share, please upload your photo, and give it the tag tram.