It looks like the URI schema changed, and the Patent Search API wasn't altered to reflect the new format. I would guess that Adam, who already responded, will figure out a real solution. In the meantime, you could probably write a workaround which would intercept the search results and remove the "about?id=" from the link.
jg On Sat, Mar 16, 2013 at 2:48 PM, Mo Alam <[email protected]> wrote: > > > Code below perfoms Google patent search for phrase "clock domain". > However, most of the result searched links are found broken when it > is clicked. > > I suppose the problem is comng from Google class [ either > "google.search.SearchControl();" or "google.search.PatentSearch()"] and > Google does not know that (it is hard for me to believe). > > Anyone has any idea please? > > > > <!----------------------------code > starts----------------------------------------------------------> > > <!-- > You are free to copy and use this sample in accordance with the terms of > the > Apache license (http://www.apache.org/licenses/LICENSE-2.0.html) > --> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " > http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="content-type" content="text/html; charset=utf-8"/> > <title>Google AJAX Search API Sample</title> > > > <script src="http://www.google.com/jsapi?" > type="text/javascript"></script> > > <script type="text/javascript"> > /* > * How to search for patents and restrict the search by patent type. > * Types are listed here: > * > http://code.google.com/apis/ajaxsearch/documentation/reference.html#_class_GpatentSearch > */ > > > > //--------------------------Google Search---------------------------------- > > //NOTE:supply variable to google search > > //---------------------------------------------------------------------- > > google.load('search', '1'); > > > function OnLoad() { > var searchControl = new google.search.SearchControl(); > > var patentSearch = new google.search.PatentSearch(); > > > searchControl.addSearcher(patentSearch); > > > searchControl.draw(document.getElementById("content")); > > > searchControl.execute("clock domain"); > > } > > google.setOnLoadCallback(OnLoad); > > </script> > > <!--------------HTML main function------------------> > > </head> > <body style="font-family: Arial; font-size: 20; border: 0 none;"> > <center><div id="content">Loading...</div></center> > </body> > </html> > > > > > > -- > -- > You received this message because you are subscribed to the Google > Groups "Google AJAX APIs" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > To view this message on the web, visit > https://groups.google.com/d/msg/google-ajax-search-api/-/MY46NHtGR3MJ > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Google AJAX APIs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Jeremy R. Geerdes Generally Cool Guy Des Moines, IA If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! http://www.debraheightswesleyan.org -- -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] To view this message on the web, visit http://groups.google.com/group/google-ajax-search-api?hl=en_US For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
