Hi,
I have been trying to do full text search with category. But I could
not quite get what the feedUrl is:

    Query q = new Query(new URL(feedUrl));
    q.setFullTextQuery("Abdominal");
    System.out.println(q.getFeedUrl());

    /*Category myCategory = new Category("Procedures");
    CategoryFilter myCategoryFilter = new CategoryFilter(myCategory);
    q.addCategoryFilter(myCategoryFilter);*/
    Feed myCategoryResultsFeed = service.query(q, Feed.class);

    if (myCategoryResultsFeed.getEntries().size() > 0) {
          Entry firstMatchEntry =
myCategoryResultsFeed.getEntries().get(0);
          String myEntryTitle =
firstMatchEntry.getTitle().getPlainText();
          System.out.println(myEntryTitle);
    }

I have been trying the following values for feedUrl:

http://www.google.com/health/feeds/
http://www.google.com/health/feeds/profile
http://www.google.com/health/feeds/profile/

nothing working. And I get the any of the following exception:

com.google.gdata.util.InvalidEntryException: Bad Request
Badly formatted URI

Forbidden

I dont understand why they dont mention explicity in the document what
they require?

I would appreciate any help here.

Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/googlehealthdevelopers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to