• I have a couple blogs in WordPress, and I’d like to periodically export the posts (title + post content only — no comments, etc.) as separate HTML or RTF files. (I want to be able to import the resulting documents into DevonThink with as little extraneous content as possible)

    Seems like, given the right skills, this could be done with a MySQL dump plus some combination of shell scripting, Python/Perl, or XSLT. But before diving in to try and hack this together myself, I thought I’d see if anyone had a shortcut solution. Any ideas for plugins or apps (web or OS X) that might get me part way?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • How about RSS? Why drag out Python/Perl and (good lord) XSLT and MySQL dumps when your blog already has the built in ability to emit RSS?

    Or is there more to it?

    (I uh feel a bit awkward suggesting “simplify” to you, I might add!)

    Thread Starter merlinmann

    (@merlinmann)

    Thanks, HandySolo.

    Yeah, I think RSS or MySQL is where I would start for sure. But I’m not sure of the best way to script the creation of the individual pages (one HTML or RTF page per post).

    I’m imagining something like a shell script where I can point to the RSS/dump plus a styling document/template, then have it spit out all the magic pages into one directory.

    Ok. I see where you’re coming from, but not having any great thoughts. Just tossing out this one:

    Suppose a guy signed up with one of those “blog to email” services. Feedblitz.com or feedburner’s new offering. Configure it to send you an email for each post. Do a little scripting to pull and format those emails into files? (Or use your email clients “Save to Html” feature if offered).

    Just trying to think of ways to get to “one post / file” using existing tools to minimize rebuilding the world.

    Hopefully some “cleverer” folks will wander by.

    Hey Merlin – saw this product just now and thought of your situation: http://wp2pdf.sourceforge.net/index.html

    Open source too.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Exporting posts to HTML files?’ is closed to new replies.