WordPress.org

Ready to get started?Download WordPress

Forums

Post-Id access with XMLRPC (4 posts)

  1. ryanmatt
    Member
    Posted 3 years ago #

    Hey, I'm trying to develop a blogging client/feed aggregator and need to programmatically access post IDs so that I can use the XML-RPC protocol to edit posts. The only way I've been able to access the IDs so far is if I'm using metaWeblog.getRecentPosts. Using an RSS or Atom feed returns the permalink in the ID field. Is there a better way to go about doing this?

    Thanks, guys

  2. Joseph Scott
    Member
    Posted 3 years ago #

    Right now I think that metaWeblog.getRecentPosts is probably the best way.

  3. ryanmatt
    Member
    Posted 3 years ago #

    Thanks Joseph. Out of curiosity, do you know why feeds dont' supply the post IDs?

  4. Joseph Scott
    Member
    Posted 3 years ago #

    The post id is an internal WP item, for the most part there is no reason to expose to the general web.

Topic Closed

This topic has been closed to new replies.

About this Topic