> Using gdata-java-client 1.38.0 I try to retrieve publicly available
> blog:
> BloggerService service = new BloggerService("REPLACED-Blogger-1.0");
> URL url = new URL("http://www.blogger.com/feeds/REPLACED/posts/
> default");
> Feed feed = service.getFeed(url, Feed.class);
> However I receive exception with stack trace:
> com.google.gdata.util.ParseException: Unrecognized content type:text/
> plain;charset=UTF-8
> at com.google.gdata.client.Service.parseResponseData(Service.java:
> 1862)
> at com.google.gdata.client.Service.getFeed(Service.java:1054)
> at com.google.gdata.client.Service.getFeed(Service.java:916)
> at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:
> 631)
> at com.google.gdata.client.Service.getFeed(Service.java:935)
> at REPLACED.Test.doGet(Test.java:31)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 487)
> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1093)
> at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
> (TransactionCleanupFilter.java:43)
> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1084)
> at com.google.appengine.tools.development.StaticFileFilter.doFilter
> (StaticFileFilter.java:121)
> at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1084)
> at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:360)
> at org.mortbay.jetty.security.SecurityHandler.handle
> (SecurityHandler.java:216)
> at org.mortbay.jetty.servlet.SessionHandler.handle
> (SessionHandler.java:181)
> at org.mortbay.jetty.handler.ContextHandler.handle
> (ContextHandler.java:712)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 405)
> at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle
> (DevAppEngineWebAppContext.java:54)
> at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:139)
> at com.google.appengine.tools.development.JettyContainerService
> $ApiProxyHandler.handle(JettyContainerService.java:313)
> at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:139)
> at org.mortbay.jetty.Server.handle(Server.java:313)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 506)
> at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
> (HttpConnection.java:830)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
> at org.mortbay.io.nio.SelectChannelEndPoint.run
> (SelectChannelEndPoint.java:396)
> at org.mortbay.thread.BoundedThreadPool$PoolThread.run
> (BoundedThreadPool.java:442)
> If I authenticate everything works. I have checked using web browser
> (and being logged off any Google account) to retrieve that blog url
> and I receive blog content correctly.
> What is wrong?
> Peter