Search This Site

Custom Search

Wednesday, September 29, 2010

[bloggerDev] Re: Archive feed not enabled

I see. If you continue running into dead ends trying to get it all at
once through an archive, it should be easy enough to create a coupler
function that associates all comments with their respective posts. For
example, if you were using JSON feeds, you would match a single
comment's entry["thr$in-reply-to"].source with a single post's
entry.link[i].href where link[i] has a "rel" attribute of "self". Good
luck!

On Sep 29, 9:00 pm, Jeremy <jeremyle...@yahoo.com> wrote:
> Hi Aratina,
>
> Thanks for the quick response.  I am able to use the query params (max-
> results in particular) to pull all the entries, however as far as I
> can tell I can only retrieve either the posts (http://
> <blogName>.blogspot.com/feeds/posts/default?max-results=100000) or the
> comments (http://<blogName>.blogspot.com/feeds/comments/default?max-
> results=100000), but not both in the same feed, unless I get the
> archive XML which returns everything.
>
> Regards,
> Jeremy
>
> On Sep 29, 8:12 pm, Aratina Cage <aratina.c...@gmail.com> wrote:
>
>
>
> > Hi Jeremy. I wonder if you have had a chance to look over this
> > resource:
>
> >http://code.google.com/apis/gdata/docs/2.0/reference.html
>
> > I'm thinking that maybe you can add a query string to the end of the
> > feed address without having to go through archives. You could even do
> > something like get a single feed entry and parse it to find out the
> > total number of entries and then send out a new request to retrieve
> > them all (I remember reading that there is a limit, which I have not
> > confirmed, but you can ask for the entries by start-index using the
> > query string so in that case just ask multiple times with an updated
> > start-index on each one).
>
> > --Aratina

--
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