Re: Items "content" key
Lionel <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
This doesn't explain why the previous URL suddently make a key disapear,
but it solves the problem with a more appropriate solution, so thanks a
lot! :)
Le jeudi 27 mars 2014 04:47:14 UTC+1, Brett Morgan a écrit :
>
> Try the following URL instead:
>
>
> https://www.googleapis.com/blogger/v3/blogs/2543222621347609994/posts?maxResults=1&key={YOUR_API_KEY}
>
> The URL you list is just for retrieving the Blog itself, where as you
> appear to be wanting the first post, which is what this URL does.
>
> brett
>
>
> On Wed, Mar 26, 2014 at 7:57 PM, Lionel <[email protected]<javascript:>
> > wrote:
>
>> Hi Brett,
>>
>> The blog is always here http://slaviavintage.blogspot.com/
>>
>> BTW, the json datas are good *except* the disappearance of the "content"
>> key.
>> https://www.googleapis.com/blogger/v3/blogs/2543222621347609994?key=
>> AIzaSyChgoNdIozrlnq-3JZAgUDtJIqioKh90qk&maxPosts=1
>>
>> Thanks for your help.
>>
>>
>> Le mercredi 26 mars 2014 05:48:49 UTC+1, Brett Morgan a écrit :
>>>
>>> Hi Lionel,
>>>
>>> I'm just trying to replicate this issue, and it looks to me like the
>>> blog has gone away. Did you delete it?
>>>
>>> brett
>>>
>>>
>>> On Mon, Mar 24, 2014 at 8:54 PM, Lionel <[email protected]> wrote:
>>>
>>>> Hello,
>>>>
>>>> From about 4/5 days, the "content" key is not sending back anymore in
>>>> the "items" array.
>>>>
>>>> I was relying on this "content" key to show the begin of the post, is
>>>> there some recent change about this? This key is always described in the
>>>> official doc https://developers.google.com/blogger/docs/3.0/using?hl=
>>>> fr#RetrievingASpecificPost
>>>>
>>>> Thanks.
>>>>
>>>> Example: https://www.googleapis.com/blogger/v3/
>>>> blogs/2543222621347609994?key=AIzaSyChgoNdIozrlnq-
>>>> 3JZAgUDtJIqioKh90qk&maxPosts=1
>>>>
>>>>
>>>> "items": [
>>>> {
>>>> "kind": "blogger#post",
>>>> "id": "7746454177332232754",
>>>> "blog": {
>>>> "id": "2543222621347609994"
>>>> },
>>>> "published": "2014-03-21T11:34:00-07:00",
>>>> "updated": "2014-03-22T03:23:09-07:00",
>>>> "url": "http://slaviavintage.blogspot.com/2014/03/kava-bar-bratislava-une-atmosphere.html",
>>>> "selfLink": "https://www.googleapis.com/blogger/v3/blogs/2543222621347609994/posts/7746454177332232754",
>>>> "title": "Kava Bar - Bratislava : une atmosphère Russian Ballets",
>>>> "author": {
>>>> "id": "07854558935938601553",
>>>> "displayName": "Slavia vintage",
>>>> "url": "http://www.blogger.com/profile/07854558935938601553",
>>>> "image": {
>>>> "url": "http://2.bp.blogspot.com/-mN2xkfO6oEU/Uk0SxCAaxNI/AAAAAAAAK1k/KK1UeEZZLQ8/s45/Slavia%25252BVintage%25252B3.jpg"
>>>> }
>>>> },
>>>> "replies": {
>>>> "totalItems": "0",
>>>> "selfLink": "https://www.googleapis.com/blogger/v3/blogs/2543222621347609994/posts/7746454177332232754/comments"
>>>> },
>>>> "labels": [
>>>> "ambiance début du siècle",
>>>> "chaises Thonet",
>>>> "murs en ardoise",
>>>> "Russian ballets",
>>>> "Slavica"
>>>> ]
>>>> }
>>>> ]
>>>>
>>>>
>>>> --
>>>> 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.
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Brett Morgan | Developer Relations Engineer, Google Maps |
>>> [email protected] | profiles.google.com/brettmorgan
>>>
>> --
>> 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/bloggerdev.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>
> Brett Morgan | Developer Relations Engineer, Google Maps |
> [email protected] <javascript:> | profiles.google.com/brettmorgan
>
--
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.