How can I search a Drupal site with the new Unity lens?

Posted by Ognjen on Ask Ubuntu See other posts from Ask Ubuntu or by Ognjen
Published on 2012-06-06T16:15:48Z Indexed on 2012/06/09 10:47 UTC
Read the original article Hit count: 272

I'm creating a simple Unity lense for my college site which is based on Drupal, but I don't know how to adapt this command for Drupal API. Please help, it's python.

We now create our query url, using the Wikipedia opensearch API url = ("%s/w/api.php?action=opensearch&limit=25&format=json&search=%s" % (self.wiki, search))

I'm using template to write lense following Wikipedia example http://developer.ubuntu.com/2012/04/how-to-create-a-wikipedia-unity-lens-for-ubuntu/. I don't know python but Im familiar with C. This Drupal API calling is the only problem I have to successfully develop a lense. Please help!

© Ask Ubuntu or respective owner

Related posts about application-development

Related posts about lenses