admin管理员组文章数量:1025483
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.
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 asked Oct 31, 2012 at 14:24 mattmmattm 211 bronze badge 1 |1 Answer
Reset to default 0wget --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.
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.
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 asked Oct 31, 2012 at 14:24 mattmmattm 211 bronze badge 1-
Plugin recommendation is off-topic now. Maybe a combination of
wp_remote_get
andfile_put_contents
can do the job. – brasofilo Commented Oct 31, 2012 at 14:57
1 Answer
Reset to default 0wget --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.
本文标签: customizationPublish pagesposts as HTML
版权声明:本文标题:customization - Publish pagesposts as HTML? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745612728a2159101.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
wp_remote_get
andfile_put_contents
can do the job. – brasofilo Commented Oct 31, 2012 at 14:57