HTML Export tab

janwari - April 10, 2008 - 21:01
Project:HTML Export
Version:5.x-1.0
Component:User interface
Category:feature request
Priority:normal
Assigned:anarchman
Status:needs review
Description

Could we have an Export tab on the node edit page which gives the option to export that node as a flat html page and using the pathauto generated alias as the name of the page.

#1

btopro - June 5, 2008 - 16:55
Status:active» postponed

#2

jinside - June 16, 2008 - 21:44

I think this issue touches on a few things..

1. Where would the exported file go? It would be nice to define the directory so the file can be integrated with an existing group of files.
2. Could this be integrated with revision moderation so you can post a specific revision?
3. Could export based on revision moderation tags. (Example all revisions tagged with production)
4. Many more

I know we should not replace version control systems.. but its awfully tempting to have their features. :)

#3

btopro - June 25, 2008 - 16:51

I agree with not replacing the vcs. Some potential thoughts on handling issues:
1. Future development with selecting the directory to send things out to would be clutch. It would also be cool (I think) to be able to download the file as an option. Typically though when I think of exporting a single page I just hit the save button in my browser and it does this stuff client side.
2. I'd fully support an integration of that kind.
3. Seems the same as 2, definitely.
4. More issues - Instead of a tab on the node I think it would be sweet to have it integrated into something like the administration menu module where it's an option to export whatever's on screen. This could be useful for mocking up pages within the system as to usability improvements that could be done to make them more usable. Such as... You have some view of content and want to show a new jquery based way of displaying / making it easier to manage because of the size. You export that admin page with the view and then throw some jquery into it offline, post it on a server and link people over to it so that they can see exactly what the usability improvements could be.

again, seeking co-maintainers.

#4

anarchman - April 15, 2009 - 18:23

Btopro,

I'm willing to become a co-maintainer, sent you a message. This one might be the first one I would tackle.

Cheers.

#5

btopro - April 15, 2009 - 18:29

You need a CVS account and I need your CVS name and I can get you access to comaintain

#6

anarchman - April 15, 2009 - 22:27
Assigned to:Anonymous» anarchman

I will work on this Friday or Saturday.

#7

anarchman - April 18, 2009 - 10:14
Version:5.x-1.0-beta1» 5.x-1.0
Status:postponed» patch (to be ported)
AttachmentSize
html_export.patch 3.63 KB

#8

anarchman - April 19, 2009 - 01:21

That's sad I wrote a long list of what I changed among other things but I guess it didn't get posted along with the patch.

Anyways, please try applying the patch, if you need help with that, see here: http://drupal.org/node/60108

Also, make sure you are updated first to the latest 5.x-1.0

If this patch works I will also port to 6.x. Please let me know if this meets the features you want.

#9

iceaxe - May 6, 2009 - 11:07

i put "html_export.patch"file in my drupal root.

then i launch Command Prompt and point to my drupal root.
when i key patch -p0 < html_export.patch

i got this error msg
'patch' is not recognized as an internal or external command, operable program or batch file.

could someone please direct?? I'm running on Vista with Wamp.
thanks

#10

anarchman - May 12, 2009 - 18:19

iceaxe,

this http://drupal.org/node/60179 will tell you what you can use to apply patches on Windows. One way or another you will probably have to download a piece of software. I use Cygwin or TortoiseSVN for patching on Windows.

Thank for checking out the patch.

#11

iceaxe - May 16, 2009 - 02:30

i tried using TortoiseSVN to apply the patch, direct it to my drupal-5.17 folder.
after that i got this error msg

"C:\wamp\www\drupal-5.17" is not a working copy

can you help me??

#12

btopro - May 21, 2009 - 06:06

...anarch; you have CVS access to apply this to a release right? (pending review of course)

#13

anarchman - May 28, 2009 - 22:36

Yep! Just waiting for a good review, although if I get some time I am also going to look at "Import HTML" to see how they break up imports of large sites, to see if there is anyway we can get around the limitation of php timeout.

One possibility is we could have a hook_cron which automatically exports out the core files (since theoretically these won't be touched) and then we would only need to export the files in the sites folder.

Also, I would like to begin working on other issues, but fairly soon I am going to be working IT support on a ship which will have no internet access, so I will be out of touch for 2 months. After that though I will work on other issues.

#14

anarchman - May 28, 2009 - 22:38
Status:patch (to be ported)» needs review

Changing to patch needs review.

#15

anarchman - September 14, 2009 - 09:10

Well, I am back, but haven't had any review on this code. I'm probably going to try to make it better though as I think I have found some workarounds on the timeout issue. Hopefully, someone will offer up some review on this at some point.

 
 

Drupal is a registered trademark of Dries Buytaert.