Hi,
You can use gdata-java-client
http://code.google.com/p/gdata-java-client/

Also, look at
http://code.google.com/appengine/articles/java/retrieving_gdata_feeds.html

-Aswath
www.AccountingGuru.in.

On Tue, Aug 16, 2011 at 1:38 AM, Slaine <lennart.ben...@gmail.com> wrote:

> Hi all,
>
> Does anyone know how a public (web published) Google doc can be
> requested with HTTP from GAE Java?
>
> I used to do this with this very straight forward code but for some
> reason, it does not work anymore.
>
> URL url = new URL(requestUrl.toString());
> BufferedReader in = new BufferedReader(new
> InputStreamReader(   url.openStream()));
> String inputLine;
>  while ((inputLine = in.readLine()) != null) {
>  str = str +  inputLine + "\n";
>  }
> in.close();
> return str;
>
> I have done a similar post but with rather cryptic title so I
> rephrased here.
>
>
> http://groups.google.com/group/google-appengine-java/browse_thread/thread/9845b590a887ade9/1e5eb9458d499da4#1e5eb9458d499da4
>
> BR & All help really appreciated!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to