[ease/plugins] First shot at increasing accuracy.



commit 229c894d51d45002f768b613ae1d6ce78cc6603a
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date:   Mon Jun 21 15:50:25 2010 +0200

    First shot at increasing accuracy.
    
    We set "all" mode for tags, which means that it's tag1 AND tag2 instead
    of the default tag1 OR tag2 ("any").

 plugins/flickr.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/flickr.vala b/plugins/flickr.vala
index adaba21..d9d2756 100644
--- a/plugins/flickr.vala
+++ b/plugins/flickr.vala
@@ -13,7 +13,7 @@ using Gtk;
   - make the UI prettier
   - split out in a common Ease.ResourceImporter dialog or something
   - raise accuracy (ie use the keywords to search tags _and_ description, and others)
-  - get the next set of photos
+  - get the next set of photos (use the "page" param of flickr.photos.search)
   - show a tiny spinner when loading
 */
 
@@ -71,6 +71,7 @@ public class FlickrFetcher {
 		call = proxy.new_call ();
 		call.set_function ("flickr.photos.search");
 		call.add_params ("tags", tags,
+						 "tag_mode", "all",
 						 "per_page", "10",
 						 "format", "json",
 						 "sort", "relevance",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]