Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

We're looking to use a plugin or custom setup for authors to create pages or posts and publish them as single HTML files. The file could be saved on the server in a specific directory or have a download button from within the editor.

So far we have found 2 plugins that almost achieve this function:

WP Static Output

Really Static

Both work fairly similar but need admin access to generate. They also create the files in the following fashion:

dir-on-server/page-title/index.html

where I would need

dir-on-server/page-title/page-title.html

Any thoughts on this? Has anyone done something similar? Thanks in advance.

share|improve this question
    
Plugin recommendation is off-topic now. Maybe a combination of wp_remote_get and file_put_contents can do the job. –  brasofilo Oct 31 '12 at 14:57

1 Answer 1

wget --mirror as part of a cron job may do what you need.

The lack of dynamic content will give the following issues:

  • comment support (which I delegate to disqus)
  • search support (which can be delegated to Google site search, though I haven't implemented that myself)
  • delete of posts no longer work
  • your permalinks should not use the ?postid= form.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.