PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » Services_Delicious » Bug #10062

getAllPosts() should be able to get a tag parameter

Details

Submitted2007-02-09 11:43 UTC
Fromakky at php dot net
StatusBogus
PackageServices_Delicious
PHP Version5.2.0
OSWindows XP Professional SP2
Roadmaps(Not assigned)

Comments

[2007-02-09 11:43 UTC] akky at php dot net

Description:
------------
Del.icio.us API allows 'tag' parameter for 'posts/all' action like this (You need to log in del.icio.us to check),
https://api.del.icio.us/v1/posts/all?tag=php

However, current 0.5.0's member function getAllPosts() accepts no parameters.

Test script:
---------------
require_once 'Services/Delicious.php';

$dlc = &new Services_Delicious('username', 'password');
$result = $dlc->getAllPosts('php');
var_dump($result);

Expected result:
----------------
array(6) {
[0]=> array(6) {
["href"]=> string(53)
...
array of matched URL info
...
}

Actual result:
--------------
All registered URLs on del.icio.us account are returned.