#11375 NORM 12.1.0: Custom OLPC search in local content bundle landing page is broken

Zarro Boogs per Child bugtracker at laptop.org
Thu Jun 14 20:21:31 EDT 2012


#11375: Custom OLPC search in local content bundle landing page is broken
---------------------------------------+------------------------------------
           Reporter:  greenfeld        |       Owner:  manuq                            
               Type:  defect           |      Status:  closed                           
           Priority:  normal           |   Milestone:  12.1.0                           
          Component:  browse-activity  |     Version:  Development build as of this date
         Resolution:  fixed            |    Keywords:                                   
        Next_action:  diagnose         |    Verified:  0                                
Deployment_affected:                   |   Blockedby:                                   
           Blocking:                   |  
---------------------------------------+------------------------------------

Comment(by manuq):

 I can see it's not broken for me, I can enter 'foo' in the olpc search box
 of Browse homepage and the result is the same as performing the search in
 wiki.laptop.org.  However I see a different styled page, with the google
 mark instead of olpc mark.

 So I started copying the html code from wiki.sugarlabs.org, which has the
 google "new method" for custom search, and started tweaking the stylesheet
 so it fits in the index.html library.  But now I found that there is a
 <form> method still valid:

 https://developers.google.com/custom-search/docs/js/cselement-
 reference?hl=es#form

 Putting the same search engine ID as in wiki.laptop.org in the form gives
 the same result page, styled with the olpc logo at the top left.  I'll
 continue this way and provide a patch for olpc-library.

-- 
Ticket URL: <http://dev.laptop.org/ticket/11375#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list