i am a beginner on the blogger api's
i have been able to retrieve the list of post titles in my blog but
not the entire post.
public static void printAllPosts(GoogleService myService)
throws ServiceException, IOException {
// Request the feed
URL feedUrl = new URL(feedUri + POSTS_FEED_URI_SUFFIX);
Feed resultFeed = myService.getFeed(feedUrl, Feed.class);
// Print the results
System.out.println(resultFeed.getTitle().getPlainText());
for (int i = 0; i < resultFeed.getEntries().size(); i++) {
Entry entry = resultFeed.getEntries().get(i);
System.out.println("\t" + entry.getTitle().getPlainText());
}
System.out.println();
}
this prints all the titles of posts.
how do i print the entire post ?
i tried entry.getContent() but it returns something like
com.google.gdata.data.TextContent@15b0afd
can anyone please help
thank you