Search This Site

Custom Search

Tuesday, July 20, 2010

[bloggerDev] Re: Max-Results parameter

How do I get the value from the <openSearch:totalResults> element?

In php, I've been doing things like, $html = $entry->content and
$entry->author[0]->name->text to get values, but php doesn't like
$feed->openSearch:totalResults->text.

On Jul 14, 11:31 am, Jinwoo Lee <jin...@google.com> wrote:
> You can find <openSearch:totalResults> node from the feed.  Or you can
> follow <link rel='next' ...> or <link rel='prev' ...> without knowing the
> total # in advance.
>
> Jinwoo
>
>
>
> On Wed, Jul 14, 2010 at 9:37 AM, Jordan <jordan.sh...@gmail.com> wrote:
> > Thanks for the tip.
>
> > How can I find out how many posts there are on a specific blog?
>
> > -Jordan
>
> > On Jul 13, 2:07 pm, Jinwoo Lee <jin...@google.com> wrote:
> > > Hi Jordan,
>
> > > Blogger limits the maximum # of results to 500. You'll be able to
> > retrieve
> > > more results by using 'start-index' parameter.
> > > Please seehttp://
> > code.google.com/apis/blogger/docs/2.0/developers_guide_protoco...
>
> > > Thanks,
> > > Jinwoo
>
> > > On Tue, Jul 13, 2010 at 12:02 PM, Jordan <jordan.sh...@gmail.com> wrote:
> > > > I tried to run a query with the max-results parameter set to 1000, but
> > > > it only returned 500.  Is this a limitation of blogger?  How can I get
> > > > a feed with all of the content of a blog?
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Blogger Developer Group" group.
> > > > To post to this group, send email to bloggerdev@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > bloggerdev+unsubscribe@googlegroups.com<bloggerdev%2Bunsubscribe@googlegrou ps.com>
> > <bloggerdev%2Bunsubscribe@googlegrou ps.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/bloggerdev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Blogger Developer Group" group.
> > To post to this group, send email to bloggerdev@googlegroups.com.
> > To unsubscribe from this group, send email to
> > bloggerdev+unsubscribe@googlegroups.com<bloggerdev%2Bunsubscribe@googlegrou ps.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/bloggerdev?hl=en.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

No comments:

Post a Comment