1. A detailed description of what your project does, including how it is different from other, similar projects, if applicable.
This module provides the functionality to export and import content in an XML format.
As the XML is built with a Drupal hook so that modules are only responsible for exporting and importing there own data part of the node. Helper functions are provided to aid the adding and extracting of data from the XML, so that a deep knowledge of XML and the associated PHP functions are not needed. Files associated with a node are also included into the XML in a Base64 encoded format.
Export and import are to both as displayed text and a downloaded file allowing content data to be migrated from one Drupal system to another.
For further information please read the information on the Project Page.
2. For themes it's helpful to include a screenshot.
Not Applicable.
3. A link to your project page.
http://drupal.org/sandbox/somersoft/1265456
4.A direct link to your git repository (git clone ...).
http://git.drupal.org/sandbox/somersoft/1265456.git
5.Please specify if it's for Drupal 6 and/or 7.
Currently the master is for Drupal 6, this is based upon uncommited and soon will be commited Drupal 5 version. When there is time, or the community produces one, a Drupal 7 version will be commited.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | coder-result.txt | 8.3 KB | klausi |
Comments
Comment #1
patrickd commentedPlease do not push into the master branch, follow the instructions on naming conventions here:
http://drupal.org/node/1015226, git branching: http://drupal.org/node/1066342
please remove the following lines from your .info
Remove all
; $Id:lines, this is deprecated since drupal.org uses git.Also
version = "6.x-0.1-dev"must be removed, because it will be added on release.You also have to remove the LICENSE.txt, it will be added on release automatically. Also the copyright file is not necessary.
regards
Comment #2
somersoft commentedSorry not to see you comments earlier. Thank you for your guidence. First time working with both git and Drupal.org
Today I have created a branch called 6.x-1.x and now working in branch. I do have the code for the 5.x-1.x branch, and will create that and push that through. I have also created a tag too as the code needs to go through a QA process very soon. I have update the files as requested.
Andrew Crook
Comment #3
sreynen commentedHi somersoft,
I looked at the code and created a few issues in the project issue queue. It's a complicated module, so I wasn't able to do a full review yet. Please set this back to "needs review" when those issues are fixed.
Comment #4
somersoft commentedThank you for the work in reviewing the module. I have addressed each of the three issues and set them to 'needs review'. Thank sreyen for your time spent reviewing the work.
The delay in fixing them was due to me not signing in to look at my dashboard. The first you do not do that, something happans. That life.
Somersoft
Comment #5
gargsuchi commentedSome comments on initial review:
Comment #6
gargsuchi commented@somersoft - I would suggest that you have a look at the migrate module (http://drupal.org/project/migrate). IMO - migrate targets almost all the use cases of this module.
Comment #7
somersoft commentedThank you for pointing out the Migrate Module.
The biggest difference is that the Migrate module, does not support export from Drupal. There are use cases where it is not possible or easy to make connections to the exporting database. With this module, you can write mirror functions to export and import the data, if it is Drupal to Drupal.
Comment #8
somersoft commentedThank you @gargsuchi for spending time in reviewing this module.
1. COPYRIGHT.txt was removed about 27th October 2011.
2. I have updated README.txt and plan to implement more documentation when I have the time.
3. I have created the hook_init() and moved the function into it.
IMO The extra spacing improves readability by giving a clear space between functions.
Comment #9
klausiReview of the 6.x-1.x branch:
Also in many other places.
And in many other palces.
This automated report was generated with PAReview.sh, your friendly project application review script. Please report any bugs to klausi.
Comment #10
somersoft commentedI have implemented most of the changes found by your script, but there is still the The description for the @param/@return documentation is either missing or not formatted correctly. See http://drupal.org/node/1354#functions to work on along with the rest of the documentation on the helper functions.
The files under docs/html are automatically generated by Doxygen and with your script there does not seem to be a way for excluding them.
The following gives false errors for Assignments should have a space before and after the operator, see http://drupal.org/node/318#operators
Comment #11
aymanbaba commentedWhen exporting nodes with rich content such as images the export works fine and the xml file is generate successfully. Upon importing the XML file i get the following error:
Comment #12
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
Comment #12.0
klausiCorrected the link to the git repository