Home   |   Login   |   Search:  
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Using Triple Tags with simple tags (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 2
TOPIC: Using Triple Tags with simple tags
#3
ticso (User)
Administrator
Posts: 4
graph
User Offline Click here to see the profile of this user
Using Triple Tags with simple tags 1 Year, 6 Months ago Karma: 0  
Just today I've read something formal about Machine Tags or Triple Tags. This is the page

Triple tags are formed by a namespace, a predicate and an optional value. The syntax is:

Code:

namespace:predicate="optional value"
That can introduce interesting possibilities in Tagsistant. As an example, you'll be able to tag your files by language with a tag like "language:en" or "language:it". But using a namespace every time can be annoying. So Tagsistant could just treat a generic tag using the regular expression:
Code:

/^([^:]+:)?([^=]+)(=.*)?$/
If you are unfamiliar with regular expressions, that basically means that the namespace and the value are both optional, using an implied "default" namespace if not provided. So the tag "rock" is a shortening of complete tag "default:rock". How about that?
 
Report to moderator   Logged Logged  
 
Last Edit: 2009/02/16 00:56 By ticso.
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Using Triple Tags with simple tags
tx0 2009/02/16 00:50
    thread link
thread linkthread link Re:Using Triple Tags with simple tags
Marenz 2009/07/26 05:56
    thread link
thread linkthread link Re:Using Triple Tags with simple tags
ylon 2010/05/09 20:35
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Valid HTML 4.01 Transitional   Valid CSS!   hosted by gna!
Creative Commons License   This site is licensed under a
  Creative Commons Attribution-Share Alike 2.5 Italy License.