Index of /javascript/machinetag
Name Last modified Size Description
Parent Directory 25-Aug-2007 14:49 -
Changes 25-Aug-2007 14:52 1k
machinetag-0.1.tar.gz 25-Aug-2007 14:52 2k
NAME
Restobook - Simple JS class for creating and parsing machine tags
SYNOPSIS
raw = "geo:lat=12.346";
mt = new MachineTag();
if (mt->is_machinetag()){
alert(mt->predicate());
}
DESCRIPTION
Simple JS class for creating and parsing machine tags.
PACKAGE METHODS
new MachineTag(tag_raw)
Returns a *MachineTags* object.
OBJECT METHODS
obj->is_machinetag()
Returns true or false.
obj->namespace()
Returns a string, containing the machine tags's namespace.
obj->predicate()
Returns a string, containing the machine tags's predicate.
obj->value()
Returns a string, containing the machine tags's value.
obj->raw()
Returns a string, containing the raw, unparsed, tag.
VERSION
0.1
DATE
$Date: 2007/08/16 05:53:26 $
AUTHOR
Aaron Straup Cope <http://www.aaronstraupcope.com/>
SEE ALSO
<http://www.flickr.com/groups/api/discuss/72157594497877875/>
<http://www.machinetags.org/>
<http://del.icio.us/tag/machinetags>
<http://www.aaronland.info/weblog/2007/07/28/trees/#delmaps>
BUGS
Sure. Why not.
LICENSE
Copyright (c) 2007 Aaron Straup Cope. All Rights Reserved.
This is free software, you may use it and distribute it under the terms
of the Perl Artistic License.