Index of /php/machinetag
Name Last modified Size Description
Parent Directory 15-Aug-2007 11:23 -
Changes 15-Aug-2007 10:41 1k
MachineTag-0.1.tar.gz 15-Aug-2007 10:41 1k
NAME
Restobook - Simple PHP class for creating and parsing machine tags
SYNOPSIS
$raw = "geo:lat=12.346";
$mt = new MachineTag();
if ($mt->is_machinetag()){
echo $mt->predicate();
}
DESCRIPTION
Simple PHP 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/15 02:25:27 $
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.
This is free software, you may use it and distribute it under the same
terms as Perl itself.