Adds a new bundle
void
addBundle
(string $bundle, array $tags)
-
string
$bundle: Name of new bundle
-
array
$tags: Array of tags separated by spaces
Constructs a new del.icio.us Web Services Client
Zend_Service_Delicio
__construct
([string $uname = null], [string $pass = null])
-
string
$uname: Client username
-
string
$pass: Client password
Delete a bundle
void
deleteBundle
(string $bundle)
-
string
$bundle: Name of bundle to be deleted
Delete a post
void
deletePost
(string $url)
-
string
$url: URL of post to be deleted
Get all posts
-
string
$tag: Optional filtering by tag
Get all bundles.
Returnd array contains bundles as keys and array of tags as values.
array
getBundles
()
Get number of posts by date. Returns array where keys are dates and values are numbers of posts.
array
getDates
([string $tag = null])
-
string
$tag: Optional filtering by tag
Get time of the last update
Zend_Date
getLastUpdate
()
Get posts matching the arguments. If no date or url is given, most recent date will be used.
-
string
$tag: Optional filtering by tag
-
Zend_Date
$dt: Optional filtering by date
-
string
$url: Optional filtering by url
Get recent posts
-
string
$tag: Optional filtering by tag
-
string
$count: Maximal number of posts to be returned (default 15)
Get all tags.
Returnd array contains tags as keys and number of posts in tags as values
array
getTags
()
Get fans of some user
array
getUserFans
(string $user)
Get network of some user
array
getUserNetwork
(string $user)
-
string
$user: Owner of the network
Get posts of some user
-
string
$user: Owner of the posts
-
int
$count: Number of posts (default 15, max. 100)
-
string
$tag: Opional filtering by tag
Get tags of some user Returend array has tags as keys and number of posts as values
array
getUserTags
(string $user, [int $atleast = null], [int $count = null], [string $sort = 'alpha'])
-
string
$user: Owner of the posts
-
int
$atleast: include only tags for which there are at least ### number of posts
-
int
$count: Number of tags to get (default all)
-
string
$sort: Order of returned tags ('alpha' || 'count')
Handles all GET requests to a web service
DOMDocument
makeRequest
(string $path, [array $parms = array()], [string $type = 'xml'])
-
string
$path: Path
-
array
$parms: Array of GET parameters
-
string
$type: Type of a request xml|json
Rename a tag
void
renameTag
(string $old, string $new)
-
string
$old: Old tag name
-
string
$new: New tag name
Set client username and password
Zend_Service_Delicio
setAuth
(string $uname, string $pass)
-
string
$uname: Client user name
-
string
$pass: Client password