Re: Google Patent Search result providing broken search links

58 views
Skip to first unread message

Adam Feldman

unread,
Mar 16, 2013, 4:31:48 PM3/16/13
to google-ajax...@googlegroups.com
Hi Mo,

Thanks for bringing this to our attention.  I will investigate and get back with you as soon as possible.

Thanks,
Adam


On Sat, Mar 16, 2013 at 12:48 PM, Mo Alam <ala...@gmail.com> 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
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
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 google-ajax-searc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jeremy Geerdes

unread,
Mar 16, 2013, 4:35:42 PM3/16/13
to google-ajax...@googlegroups.com
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
--
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

Adam Feldman

unread,
Mar 16, 2013, 5:45:13 PM3/16/13
to google-ajax...@googlegroups.com
Hi folks,

We've confirmed the problem and are working on a solution.  It will take a few days to deploy, but won't require any action on your end.  If you're still seeing the issue by next weekend, please let us know.

Thanks,
Adam


Adam Feldman

unread,
Mar 22, 2013, 3:36:36 PM3/22/13
to google-ajax...@googlegroups.com
This has been fixed.  Please let us know if you continue to see any lingering issues.

Cheers,
Adam
Reply all
Reply to author
Forward
0 new messages