WordPress.org

Ready to get started?Download WordPress

Forums

How to export posts in specific post id range? (4 posts)

  1. Balloon
    Member
    Posted 2 years ago #

    I want this to export only newly posted posts.
    I can't use date range to do this because I use post date field to indicate post content writing date(maybe several years ago) not posting date.

  2. rafa1
    Member
    Posted 2 years ago #

    I can't use date range to do this because I use post date field to indicate post content writing date(maybe several years ago) not posting date.

    Aren't posts posted at the post date? What I mean is, doesn't it say 'Publish' and then the date you want it to be published? So that would mean the date you assigned that you wrote it on is the date it was posted.

    That means when exporting you should put the date range of the newest posts.

    Let me know if I'm wrong. Perhaps I don't understand your questions

  3. rafa1
    Member
    Posted 2 years ago #

    Edit. deleted duplicate post

  4. Balloon
    Member
    Posted 2 years ago #

    Thanks for reply.

    I use WordPress like knowledge collection and management system.

    post_date is not set as it added and published on my system. post_date is set as the knowledge publish time from its original source.

    For example:
    ID post_date
    1 2011-01-01
    2 2012-01-01
    3 2011-01-02
    4 2012-02-01
    5 2012-01-02
    ...
    5000 2011-03-01

    WordPress would display posts by post_date order on homepage. It's OK.
    But from admin dashboard we can only select date rang to export as XML.
    In that case some newly added posts with earlier post_date would missing in exported XML.
    What I need is export some newly added posts (and import to another system).

  5. mbzo2006
    Member
    Posted 1 year ago #

    Someone suggested a workaround here - assign recent posts to an author and filter export by that author:
    http://wordpress.org/support/topic/export-posts-from-specific-date-range-and-then-import-another-blog

    It´s one way but a filter export by post ID would be nice.

Topic Closed

This topic has been closed to new replies.

About this Topic