node_export_file, a module for handling file attachments in node exports

James Andres - April 30, 2009 - 18:01
Project:Node Export
Version:6.x-2.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

This is an add-on module I wrote for node_export that handles exporting and importing nodes containing:

  • CCK FileFields
  • Upload module attachments
  • Images, ie: image nodes

The code can do file exports in 3 modes:

  1. Local, using original upload path (unaltered)
  2. Local, with a copy of the uploaded file placed in a separate directory (eg: /sites/all/file-exports)
  3. Remote, file exports are done via URL and downloaded by the site importing the node

This code hasn't been tested very thoroughly! All feedback / patches welcome!

I have been mostly using Remote mode, so it should be less buggy than the rest :-).

AttachmentSize
node_export_file.tar_.gz2.27 KB

#1

danielb - May 2, 2009 - 09:46

I haven't tried it out yet, but are you interested in contributing this to the node_export project? Or would you prefer to start a seperate project?

#2

James Andres - May 4, 2009 - 22:13

If it is all the same to you, I think it makes sense to include this in the node_export project. Primarily because this module is a big pain point for most node_export users. It would be a hassle to download a separate module every time you used node_export.

#3

danielb - May 5, 2009 - 01:54

Yup no worries, when I get a chance I'll go through this, add it to CVS, and give you access to update it if needed.

#4

James Andres - May 5, 2009 - 17:24

Sounds good Daniel. Thanks for your assistance!

#5

danielb - May 9, 2009 - 02:40
Status:needs review» fixed

ok I've added it in
I've renamed export.module to node_export.module and i've called your module node_export_filefield.module
so I hope this change doesn't cause too many problems!
If you need to update it you have CVS access now.

#6

James Andres - May 12, 2009 - 16:43

Great! I've got one more in the pipeline also, some integration with the Services module. I'll keep you posted :-)

#7

System Message - May 26, 2009 - 16:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.