<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/gsa-japi/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/gsa-japi/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 15 Mar 2012 13:41:09 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gsa-japi/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>google.dtd not found</title><link>https://sourceforge.net/p/gsa-japi/bugs/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The URL for google.dtd does not include a path. In most cases, the path is just &amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/search and the dtd is at &amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/google.dtd however, in my case, the path is websearch/search and the dtd is at websearch/google.dtd&lt;/p&gt;
&lt;p&gt;I've looked at the code and noticed that protoco, host, port and path are all configurable via the GSAClient constructor but the URL for the dtd is only configurable through a file in META-INF. In my case, I cannot configure it this way.&lt;/p&gt;
&lt;p&gt;I'll check out the code and patch it so I can set the path to the dtd and prevent the 400 error. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom Clabon</dc:creator><pubDate>Thu, 15 Mar 2012 13:41:09 -0000</pubDate><guid>https://sourceforge.net552400d37f9788f4cffba5935da417fd38557c92</guid></item><item><title>GSAQuery.java</title><link>https://sourceforge.net/p/gsa-japi/bugs/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Line 636 shouldn't includeSites be actully excludeSites so it should read:&lt;/p&gt;
&lt;p&gt;if (excludeSites != null &amp;amp;&amp;amp; excludeSites.size() &amp;gt; 0) {&lt;br /&gt;
qbuf.append(Util.stringSeparated(excludeSites, _EXCLUDE_SITE, _OR)).append(' ');&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olin Blodgett</dc:creator><pubDate>Thu, 10 Mar 2011 04:45:22 -0000</pubDate><guid>https://sourceforge.net2b3473d9471e3c59b25fbf67efac33f58100db81</guid></item><item><title>Title in OneBox response</title><link>https://sourceforge.net/p/gsa-japi/bugs/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;OneBox reply can contain a 'Title' element according to &lt;a href="http://code.google.com/apis/searchappliance/documentation/62/oneboxguide.html#providerresultsschema" rel="nofollow"&gt;http://code.google.com/apis/searchappliance/documentation/62/oneboxguide.html#providerresultsschema&lt;/a&gt; &lt;br /&gt;
Currently this is ignored by GSA-JAPI; there should be gSAOneBoxResponse.getTitle() method. &lt;/p&gt;
&lt;p&gt;Attached is a patch providing this.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">spyrkob</dc:creator><pubDate>Wed, 24 Feb 2010 10:37:39 -0000</pubDate><guid>https://sourceforge.net689733ea4e35766906b09246614977da2bd4fa17</guid></item><item><title>GSAClientDelegate.getResponseStream(String) error handling</title><link>https://sourceforge.net/p/gsa-japi/bugs/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Currently the GSAClientDelegate.getResponseStream(String) method returns an InputStream and throws no exceptions. If an error occurs during fetching the requested URL there is no way to propogate this back up to the caller other than returning null.&lt;/p&gt;
&lt;p&gt;Doing this results in an IllegalArgumentException thrown by SAXParser.parse(InputStream, DefaultHandler, String) which is called by ResponseBuilder.buildResponse(InputStream, String) which is in turn called by GSAClient.getGSAResponse(String).&lt;/p&gt;
&lt;p&gt;I suggest it's worth while updating GSAClientDelegate to throw IOException to allow the more immediate propogation of issues back to user code as attached. &lt;/p&gt;
&lt;p&gt;Since methods using GSAClientDelegate (GSAClient) already throw IOException there aren't any other changes that are needed from a compilation point of view.&lt;/p&gt;
&lt;p&gt;At a high level, the semantics of this change don't effect any of the calling code either, as user code already needs to handle the IOException in their requests.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Lau</dc:creator><pubDate>Wed, 12 Aug 2009 00:53:15 -0000</pubDate><guid>https://sourceforge.net2a86b7f2d3129122ae3a41dcd5d27b9faef14a01</guid></item><item><title>problem with the java api for GSA</title><link>https://sourceforge.net/p/gsa-japi/bugs/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How will i form the query using my java API (provided by you) if my partialfieldslooks like below,&lt;/p&gt;
&lt;p&gt;(department:Sales|department:Finance).(author:William|author:Jones)&lt;/p&gt;
&lt;p&gt;The present API dosn't support this is guess.&lt;/p&gt;
&lt;p&gt;Kindly advice.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Freddie&lt;/p&gt;
&lt;p&gt;My informations;&lt;br /&gt;
Name: FreddieMaize&lt;br /&gt;
E-mail: aswath_nangamangalam@satyam.com (officialy email id)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 13 Nov 2008 06:55:39 -0000</pubDate><guid>https://sourceforge.net9ead9d19955bf5a630c7a5211ffaa81abebbf8c1</guid></item><item><title>GSA API retriving key matches</title><link>https://sourceforge.net/p/gsa-japi/bugs/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I would like to know whether GSA-JAPI supports retrieving keymatches (sponsored links)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 18 Oct 2007 21:24:04 -0000</pubDate><guid>https://sourceforge.nete8eccd0a6f86a2ca6119274b75e7ef72dbf03e12</guid></item><item><title>Sort by date</title><link>https://sourceforge.net/p/gsa-japi/bugs/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Where can I find an example on how to sort by date the results returned from GSA? I cannot implement the search by date.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 27 Aug 2007 09:48:42 -0000</pubDate><guid>https://sourceforge.netb918ad10d9387327066cf8b2f4b073f7b25acc38</guid></item><item><title>client getResponse can throw NumberForamtException</title><link>https://sourceforge.net/p/gsa-japi/bugs/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;API version 1.8&lt;/p&gt;
&lt;p&gt;It seems that it is possible to create a query that returns a large number of results, resulting in NumberFormatException:&lt;/p&gt;
&lt;p&gt;====================&lt;br /&gt;
[TP-Processor97] ERROR: [webwork.dispatcher.ServletDispatcher] Could not execute action&lt;br /&gt;
java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "4400000000"&lt;br /&gt;
at net.sf.gsaapi.ResponseBuilder.buildResponse(Unknown Source)&lt;br /&gt;
at net.sf.gsaapi.GSAClient.getGSAResponse(Unknown Source)&lt;br /&gt;
at net.sf.gsaapi.GSAClient.getGSAResponse(Unknown Source)&lt;br /&gt;
at ca.yp.gloria.google.GoogleSearchUtil.doSearch(GoogleSearchUtil.java:61)&lt;br /&gt;
at ca.yp.gloria.action.search.SearchResults.execute(SearchResults.java:263)&lt;br /&gt;
...&lt;br /&gt;
Caused by: java.lang.NumberFormatException: For input string: "4400000000"&lt;br /&gt;
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)&lt;br /&gt;
at java.lang.Integer.parseInt(Integer.java:459)&lt;br /&gt;
at java.lang.Integer.parseInt(Integer.java:497)&lt;br /&gt;
at net.sf.gsaapi.ResponseBuilder.doResponse(Unknown Source)&lt;br /&gt;
at net.sf.gsaapi.ResponseBuilder.endElement(Unknown Source)&lt;br /&gt;
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)&lt;br /&gt;
...&lt;br /&gt;
====================&lt;br /&gt;
The offending line seems to be in the ResponseBuilder.doResponse:&lt;/p&gt;
&lt;p&gt;response.setNumResults(Integer.parseInt(contentBuff.toString()));&lt;/p&gt;
&lt;p&gt;The result expects to be an Integer. But for large result set, this may require a long value.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 24 Aug 2007 21:05:03 -0000</pubDate><guid>https://sourceforge.net83f404c777d9a6a5a296b4911cb9252d83d22a0e</guid></item><item><title>GSA JAPI to handle Recommendations,Acronyms,Synonyms</title><link>https://sourceforge.net/p/gsa-japi/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Currently, XML result that google provides outof the box has Recommendations,Acronyms,Synonyms as part of the searched results. &lt;br /&gt;
But GSA JAPI does not handle this. &lt;/p&gt;
&lt;p&gt;Can you please modify the JAPI class files to handle the following&lt;/p&gt;
&lt;p&gt;Suggestions or Recommendations&lt;br /&gt;
Acronyms &lt;br /&gt;
Synonyms &lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
Ram Palagummi&lt;br /&gt;
Solutions Architect&lt;br /&gt;
EMC Corp.&lt;br /&gt;
Pleasanton, CA&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 17 May 2007 18:09:53 -0000</pubDate><guid>https://sourceforge.netfb30a784a349ead667371df6edbb8cfeebb92d2a</guid></item><item><title>Sort by date is broken</title><link>https://sourceforge.net/p/gsa-japi/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Sort by date is broken. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Amol Deshmukh</dc:creator><pubDate>Mon, 12 Mar 2007 01:32:12 -0000</pubDate><guid>https://sourceforge.netd19a576fff9ae8feb307e6846d11ca0d3145340b</guid></item></channel></rss>