WordPress.org

Support

Support » How-To and Troubleshooting » How to export posts in specific post id range?

How to export posts in specific post id range?

  • 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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    Edit. deleted duplicate post

    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).

    mbzo2006
    Participant

    @mbzo2006

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to export posts in specific post id range?’ is closed to new replies.