aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Tags-and-Mentions.md
blob: bcf69736f5bcac56a7b1282dd3d94030707ca99f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Tags and Mentions
=================

Like many other platforms, Red uses a special notation inside messages to indicate "tags" or contextual links to other entities.

**Mentions**

Channels are tagged by simply preceding their name with the @ character.  Unless their system blocks unsolicited "mentions", the person tagged will likely receive a "Mention" post/activity or become a direct participant in the conversation in the case of public posts. 

Red makes no distinction between different types of channel for the purpose of tagging.

**Topical Tags**

Topical tags are indicated by preceding the tag name with the  # character. This will create a link in the post to a generalised site search for the term provided.  For example, #cars will provide a search link for all posts mentioning 'cars' on your site. Topical tags are generally a minimum of three characters in length.  Shorter search terms are not likely to yield any search results, although this depends on the database configuration. The same rules apply as with names that spaces within tags are represented by the underscore character. It is therefore not possible to create a tag whose target contains an underscore.

Topical tags are also not linked if they are purely numeric, e.g. #1. If you wish to use a numerica hashtag, please add some descriptive text such as #2012-elections.