How do I import Old posts?
  • MarsEdit automatically imports RECENT posts. How do I get it to import the rest of them? I am in the process of going through old posts and editing them - there are reasons that this needs to be done, trust me. And I have quite a few drafts that are old too. By old I mean from 2009 - 2011. I have about 200 posts total on this blog and 90 drafts. I am using self-hosted WordPress. (http://DancingUpsideDown.com) TIA!
  • Hi there - Unfortunately, MarsEdit is not ideally suited to downloading all the posts and pages from a blog. Because of the way most of the APIs (the interface MarsEdit uses to talk to the blog) work, it is forced to ask for only some number of "recent posts" and it has to download them all at once, every time.

    The default is 30 to keep the refresh relatively quick and avoid putting too much strain on the server. That said, you can increase the number to whatever you like and see how well it works for you at a higher number.

    1. Double click the blog's icon in the main window to open settings.
    2. Click the "General" pane.
    3. Find the page and post download count settings near the bottom of the window.

    Because of these limitations, I generally encourage people to use MarsEdit more as a tool for drafting, publishing, and editing relatively recent posts, and not for updating posts from far in the past.

    Hope that helps!
    Daniel
  • I would like to be able to search old posts locally.

    Is there any technical reason it would be not be possible to do batched import of old posts? It seems that if Mars Edit can import the 30 most recent it should be able to do the 30 before those and the 30 before those and so on.

    Alternately, if it could support a generic import format like XML or CSV I could get my Wordpress export file into the necessary format and import that easily.
  • Hi egrieco - yes, there is historically a technical reason that is fortunately starting to fade with some newer APIs. The traditional API that MarsEdit uses to connect to most blogs does not have a request along the lines of "Give me posts 31-60" ... it only lets you request "N recent posts" where N can only get larger and larger. So to download 300 posts you have to ask for 300 posts at once.

    As I said this limitation is starting to fade for some systems and I'm going to be looking at ways of selectively enabling "complete download" for those blog systems that I can confirm will support it.
  • WordPress allows export of everything in the blog as an XML file (one of the reasons I chose WordPress).

    http://en.support.wordpress.com/export/
    http://wordpress.org/support/topic/importexport-xml-format

    If MarsEdit could read this file directly that would be ideal. Even if it couldn't read this format but could read a format as basic as CSV then with a little scripting I could transform the XML into CSV and import that.

    Related discussion: http://www.red-sweater.com/forums/discussion/528/new-feature-request-importing-blog-entries/p1
  • Yeah - that is one idea for me to consider. Thanks!
  • What can I do to help this process along?
  • Hi - I don't want to sound insensitive to your desire to have this feature, but you have helped it along by expressing your interest in it and in helping brainstorm the idea of e.g. possibly "catching up" by importing from the XML file.

    The idea is on my (very long) list of things to consider for future updates. I'm afraid that is all I can say about the possible future of this feature. I am always juggling ideas for new updates and which priorities to focus on. I don't want to give you the impression this feature will be implemented very soon, as there are lots of things I'm looking at and this is only one of them.
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!