Static html content generate plugin
leeyuejun - February 15, 2007 - 09:26
Dose any one know how to automatic generate static html content?
Or have any plugin can complete this task?
for example, after my content publish, then the content part are less changed, so I wish this part be generated as static html. AS we know, the comment part also needed, so the page finaly combined by two part, static content and dynamic part, this can be done by server side include.
I think this will improve the performance. because the content part are much large than other content.
anyone agree with me or can give me a point..

it seems typo3 can publish static content.
it seems typo3 can publish static content.
could you please give us
could you please give us some more detail?
i need the help too
i need the help too,andybody can give some surggestion on leeyuejun's request?
Is a CMS needed ..?
I wonder, if a database backed contet management system is needed at all , if only a static website is needed. Aren't there other and probably better tools to do that?
Use wget?
Here's an example of how you could use wget to generate static pages. Note this is a website that is anonymous viewable so no need to provide cookies or login information.
wget -E -k -r --force-html http://localhost/drupal-6.4/home
Why might someone want to use Drupal for static page creation. Sure it's over kill but here's reason I can think of:
1) You are familiar when Drupal and you'd rather not do it in something else (Frontpage, Dreamweaver)
2) You are converting a site to Drupal but it's currently hosted where Drupal isn't available so while you work out the details of this transition, you could start the site off as a static version.
Best Regards, Kevin
I found the module 'HTML
I found the module 'HTML Export' may fulfill your request.
However, I tested it in my drupal 6.4 but seems it does not work.
http://drupal.org/project/html_export
I do have the similar request as you.
But I hope that the module can let the user control which nodes to be generated.
Does anyone can help?
boost
Consider http://drupal.org/project/boost
which is designed to do this for efficiency, not convenience. Requires some setup, but has a good track record.
[edit] D5 only sorry, but may be updated I guess :-/
.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |
I am trying to achieve
I am trying to achieve something similar.
I need a way to generate a static html version of my home page and have the server display that as the default page.
Now this page would have all links pointing to the actual Drupal site, so that any link from this page will take me to the Drupal menu system.
I have tried saving my home page as html, renaming it to index.html (might as well be xedni.html - doesn't matter :P ), modifying my .htaccess file to make default handler point to this index.html page and it works.
I am just afraid that IF, maybe just IF drupal relies on the .htaccess files default handler entry for anything, then I am screwed.
But I guess the mod_rewrite rule should take care of it.
The default Drupal rule directs all requests (that are not files or directories) to index.php.
So my static html page gets by passed, but any further link on this page will be dealt by the rewrite rule and processed correctly by Drupal.
I'd be grateful if some one could point out any flaw in this approach, if there are any...
_
Checkout the http://drupal.org/project/front module.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.