Re: How to get next post

Juan Castela Martínez <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
Hi,

    Unfortunately, now the only way to get the post so. If you want get the 
previous and the next post always, I think to should use only the filters 
orderBy and maxResults=1.

I hope that it will help.

Best regards.

El jueves, 23 de abril de 2015, 9:03:33 (UTC+2), 金野佑介 escribió:
>
> Hi Juan,
>
> Thank you for your reply.
>
> I understand what you say. That's the best way to get the post in blogger 
> api v3 for now.
> I thought that generally, a post of blog has "Previous post link" and 
> "Next post link" and I can get the next post easily. 
> I hope the api will have function like "nextPost/postid".
>
> Actually, I'm a beginner of English. 
> Thank you for understanding my question.
>
>
>
>
>
>
>
> 2015年4月23日木曜日 11時59分30秒 UTC+9 Juan Castela Martínez:
>>
>> Hi,
>>
>>      I think to you must use orderBy too. If you use endDate and 
>> startDate, the webservices will get the last post and the first post 
>> respectly always (depending on the date that you indicate and the number of 
>> posts existing in such date) and you need orderBy to order the results. 
>>
>> Sorry if my english is so badly.
>>
>> Thanks and best regards.
>>
>> El martes, 21 de abril de 2015, 7:19:25 (UTC+2), 金野佑介 escribió:
>>>
>>> I'd like to get next post id.
>>>
>>> I'm able to get previous post with below.
>>>
>>> https://www.googleapis.com/blogger/v3/blogs/[blogid]/posts?endDate=[published]&maxResults=1&key=XXXXX
>>> "published" is that date of current post.
>>>
>>> so I thought that I can get next post with below.
>>>
>>> https://www.googleapis.com/blogger/v3/blogs/[blogid]/posts?startDate=[published]&maxResults=1&key=XXXXX
>>>
>>> But orderBy option can't set Ascending. so I always get the latest post.
>>>
>>> If you know how to get next post, I'd like you to reply your message.
>>>
>>> Thanks.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.