Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 574795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:52:11+00:00 2026-05-13T13:52:11+00:00

Having previously obtained a post ID from a call to gdata.blogger.client.add_post() … post =

  • 0

Having previously obtained a post ID from a call to gdata.blogger.client.add_post()…

post = client.add_post(...)
post_id = post.get_post_id()

…how do I use that post id to retrieve the post in the future? I thought maybe gdata.blogger.client.Query would be the way to go, but this doesn’t support post id as a query term. The example code distributed with the Python gdata module doesn’t have an example of this use case, and after poking around gdata.blogger.client.* for a while I’m not making much progress.

I could obviously iterate through all the posts in the blog until find the one with the corresponding id, but that would be a terrible, terrible idea.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:52:11+00:00Added an answer on May 13, 2026 at 1:52 pm

    Continue my theme of answering my own questions…

    After lots of fiddling, it looks like this is one solution. Given:

    • client — a gdata.blogger.client.BloggerClient instance, and
    • blog — a gdata.blogger.data.Blog instance
    • post_id — a post id as returned by gdata.blogger.data.BlogPost.get_post_id

    You can do this:

    post = client.get_feed(
                blog.get_post_link().href + '/%s' % post_id,
                auth_token=client.auth_token,
                desired_class=gdata.blogger.data.BlogPost)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have previously been using Chilkat Zip .Net to generate backup files from my
HAving this procedure (DELPHI 2010): procedure TfrmMainApp.ChangeLogon; var EncStr: TEncodedStream; // from M.Cantu, see
I am having a problem updating a datatable that is bound to a datagrid.
I'm having a problem with a piece of code that's starting to drive me
Having just upgraded to iOS 4.1 (Xcode 3.2.4) I am getting warnings when using
Im having a search field. Now when i search for names, it stores it..
I'm having trouble resetting StructureMap's configuration. This only fails when I run all my
I'm having problems setting the path of the zip file, X, in ZipFile zipfile
I'm having a weird issue with my Silverlight 4 project, although it's one I've
I want to create a basic app where you have 8 numbered buttons, with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.