Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
A way to retrieve no-draft posts?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ivan Marcialis  
View profile  
 More options Oct 2, 6:24 am
From: Ivan Marcialis <marcia...@gmail.com>
Date: Fri, 2 Oct 2009 03:24:23 -0700 (PDT)
Local: Fri, Oct 2 2009 6:24 am
Subject: A way to retrieve no-draft posts?
Hi all,
I have some new problems getting blogger posts.
I'm using this url to get posts: http://www.blogger.com/feeds/{$blogID}/posts/default
but this retrieve all posts, including draft ones, is it possible to
set a parameter to have only the published posts?
I've just tryed to do:
$query->setParam('updated-min', "1990-01-01T23:59:59");
but nothing, draft posts are retrieved.
Any idea?

PS
I can't check if the post is draft after the query is performed,
because i'm using "$feed->getLink('next');" and the query return me a
link to a page which contains only draft posts, so i print a link to a
blank page.

Thank you very much
Ivan


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan Marcialis  
View profile  
 More options Oct 4, 1:25 pm
From: Ivan Marcialis <marcia...@gmail.com>
Date: Sun, 4 Oct 2009 10:25:32 -0700 (PDT)
Local: Sun, Oct 4 2009 1:25 pm
Subject: Re: A way to retrieve no-draft posts?

On 2 Ott, 12:24, Ivan Marcialis <marcia...@gmail.com> wrote:

> Hi all,
> I have some new problems getting blogger posts.
> I'm using this url to get posts:http://www.blogger.com/feeds/{$blogID}/posts/default
> but this retrieve all posts, including draft ones, is it possible to
> set a parameter to have only the published posts?
> I've just tryed to do:
> $query->setParam('updated-min', "1990-01-01T23:59:59");
> but nothing, draft posts are retrieved.
> Any idea?

Can't anyone help me?

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google