I don't have access to my zend development machine at the minute but
off the top of my head have you tried url encoding the pipes ?

I can't recall is this done automatically by zend/libaray or something
that needs turned on.



Tom Wilson
Freelance Google Base Developer and Consultant
www.tomthedeveloper.com

Google Base Tools - http://dev.tomthedeveloper.com/googlebase
Featured Project : 
http://google-code-featured.blogspot.com/2008/02/google-base-competitor-analysis.html

On Feb 10, 7:48 pm, Youtube video clips <[email protected]>
wrote:
> Hi
>
> I am trying to retrieve an item feed from Gbase but with multiple
> searches and for some reason it works if I put one keyword and doesn't
> if I put two or more.
>
> I know the connection to the API is ok because as I said it works if
> there is only one keyword in the $query string, but once I try to
> seperate them with ' | ', it shows nothing.
> Is there a different way to use the ' | ' with the setBQ function?
>
> Also even within the loop when I echo " done ", that doesn't show on
> the page either?
>
> $service = new Zend_Gdata_Gbase($client);
>
> $query = $service->newItemQuery();
> $query->setBQ("youtube|video clips|youtube videos");
>
> $feed = $service->getGbaseItemFeed($query);
>
> foreach ($feed->entries as $entry) {
>
>   echo $entry->title->text;
>  echo "done<br/>";
>
> }
>
> Thanks, Sean

-- 
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" 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/google-base-data-api?hl=en.

Reply via email to