MahendraTanveer / phptumblr

Automatically exported from code.google.com/p/phptumblr
0 stars 0 forks source link

Tag Support #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like the ability to have access to the tags for each post. I have 
noticed that this data is stored inside the cache files. It would also be nice 
to be able to get all posts for a particular tag. This may mean that cache 
files may need to be created for each tag. 

Please let me know if you need more info. But I think that it’s a pretty 
straight forward request. Thanks for the awesome library!

Original issue reported on code.google.com by joework...@gmail.com on 27 Mar 2011 at 8:12

GoogleCodeExporter commented 9 years ago
That shall be easy to do, I'll be looking forward into that as soon as possible.

Original comment by my.name....@gmail.com on 27 Mar 2011 at 11:15

GoogleCodeExporter commented 9 years ago
Thank you! I did not expect to hear back from someone so soon. I actually did 
not expect to hear back from anyone at all to be honest! :-)

Original comment by joework...@gmail.com on 27 Mar 2011 at 11:50

GoogleCodeExporter commented 9 years ago
Implemented in 0.4. Please report any issue!

Original comment by my.name....@gmail.com on 28 Mar 2011 at 5:33

GoogleCodeExporter commented 9 years ago
Awesome! How tricky would it be to add Tag support to the getPosts method? Get 
all posts for a particular tag... 

Original comment by joework...@gmail.com on 28 Mar 2011 at 6:10

GoogleCodeExporter commented 9 years ago
Owww, I had this on my mind when I first answered you, then forgot. I'll add 
that soon... that shouldn't be difficult.

Original comment by my.name....@gmail.com on 28 Mar 2011 at 6:14

GoogleCodeExporter commented 9 years ago
I uploaded 0.5, with that you shloud be able to get posts by tag (I haven't 
heavily tested though) with :

getPosts($start,$num,$type,null,'the_tag_you_want');

There's a limitation : since the API don't give the total number of posts with 
a given tag, I can't easily go further the API limits like I do with other 
requests, so you can't get more than 50 posts with a given tag for now. Maybe I 
will make that better in a later release, and maybe not.

Report any bug (and there sure may be some)!

Original comment by my.name....@gmail.com on 28 Mar 2011 at 9:50

GoogleCodeExporter commented 9 years ago

Original comment by my.name....@gmail.com on 29 Mar 2011 at 9:54

GoogleCodeExporter commented 9 years ago
I think that you can label this as being fixed. I am ok with the limitation on 
the API limits. Thank you for your hard work. 

Original comment by joework...@gmail.com on 15 Apr 2011 at 6:29

GoogleCodeExporter commented 9 years ago

Original comment by my.name....@gmail.com on 15 Apr 2011 at 9:28