Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Script to generate HTML files from existing posts #14

Closed
shendrick opened this Issue · 4 comments

2 participants

Sammy Hendrick Scott González
Sammy Hendrick

Seems the sync task, deletes any posts not found in the folder. Also, would be great to have a way to retrieve existing posts from a blog and having the html files created automatically.

Scott González

What is your use case that you don't want to delete old posts?

Sammy Hendrick

I guess it's that I'm new to grunt and am working on a pre-existing wordpress site. As a developer, I find it easer and quicker to create a bunch of html files in my IDE and run a grunt task, than clicking around the interface of the wordpress admin.

Sammy Hendrick

Maybe have something that can parse the exported file from wordpress and create the HTML files from it? Just thinking of ways to avoid the whole, everything in the database, and have the code checked into git somehow.

Scott González

This isn't something that will be built into grunt-wordpress. This can certainly be built as a separate module on top of node-wordpress though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.