Ok, when I first started my Drupal site with a couple of pages, HTML Export worked to some extent although with some errors.

Now, when running I get: Fatal error: Maximum execution time of 60 seconds exceeded in C:\web\xampp\htdocs\drupal-5.7\includes\common.inc on line 479 With also a lot of of fopen and fclose errors.

At first I tried increasing PHP max execution time but this did not solve the problem. Then, I remembered that I had set access control on content both via a check in the page.tpl.php and in the permissions. I took this down to allow anonymous access to content and now HTML Export is working on pages that were set to the basic page type. However, pages that I made into a custom content type (just a basic page with higher permission to not allow anyone but site administrator to edit) are not getting imported.

Also, the CSS isn't working for embedded images in the CSS file. This is a similar issue I had with another WCM system.

So, why export all the modules, themes, and all that. Could we have a setting to just export nodes? Maybe I should put that in as a feature request. Also, feature request to address the CSS embedded images (e.g., #maindiv {background:imagefile.jpg})

Let me know if I can help with this, I have been pouring through the code and wodering if I could just tweak it to my needs.

Comments

jinside’s picture

You can always make tweaks and post a patch :). I agree it would be nice to configure the directories copied over and set unlimited time for processing. I have not experienced the problem you are having with generating nodes yet.. still looking over the code myself.

coderintherye’s picture

I might do that once I become more proficient. I started Drupal just a bit over 1 month ago and am still familiarizing myself with it and PHP. However, I will definitely be coming back to this and if need be doing some code work.

btopro’s picture

Ummm...please jump in if you can! I understand a lot of people are having issues with the module but I haven't been able to replicate any of them but a few. I'm also not using it on large sites yet and I can't test it on much of our live content because we throw things behind a single signon system, university wide which I can't publish anonymously behind either :\

I just got back from weddinging (hence no responses for awhile) and I'm starting to play catch up with everything that sat around so, with that said. PPLLLLEASE feel free to contact me outside of here through the contact form if you'd like to help out with this module. I'm currently undertaking a massive central CMS-like Drupal system called ELMS and that's essentially my charge for the summer is to get that working as an installation profile. So...if you would like to help maintain this project and shape it's direction contact me and let me know. I will be making updates to this module still but it's pretty far down the priority list at the moment and I know a lot of people want additional support for it right now.

btopro’s picture

Try RC2 and let me know if this accomplishes what you want. I'll keep this patch in mind and maybe someone will want to implement it in the future but as of right now there are no plans to push things out to physical folder paths. With all the issues unresolved floating around this project this will only make things worse. Please try RC2 and let me know if it meets your needs.

btopro’s picture

Status: Active » Fixed
coderintherye’s picture

Ok thanks I will give it a try. I have bee exploring other options. I have a working option using Services Module and then pulling the content from a static page via PHP and xml parser. Figuring on converting that to Javascript/JSON, but same result. Still would be nice to have HTML Export with some functionality for putting it out into an external server.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

btopro’s picture

Version: 5.x-1.0-rc1 » 5.x-1.0

Try now with 1.0