Export the original "Authored on" Date field as optional
himerus - May 28, 2009 - 18:54
| Project: | Node Export |
| Version: | 6.x-2.9 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Maybe I'm missing something here. This is my first time using the node_export module. It seems to really work great, allowing me to not have to manually import from my old version of a site I'm completely re-working.
However, I've tried importing a group of blog posts, and the "Authored On" date is not being imported properly, even though the export array has the appropriate created/update date on the node.
I do not have the reset data for node types checked on either installation (source > destination)

#1
No the authored on date is not exported in the array
'created' => NULL,This design decision was based on the 'Node Clone' module which does the same thing. I notice even if you leave the date in, the 'node/add' form will wipe it out.
Feel free to experiment with this and let me know if you find a way to keep the 'created' time.
We also have to ask whether most people would want the created time of the original (export) node, or the node in the current (import) site. It seems the latter might be more correct.
#2
Well, with that in mind, I'll just deal with it, and manually import some of the nodes a few at a time in reverse order to keep the order of the blog from the original site.
I'm very happy with the module because it simply imported the content, paths, and taxonomy perfectly... with those 3 things... i'm HAPPY.
But for the uses I would normally have for the module, it would be beneficial to have it keep the node created/modified dates. I find that for my uses, I would be wanting to export data from quite a long time ago from an old version of a site to a new version of a site, but wouldn't want all those "old" nodes to have a created date of "now".
In my current need, I am completely reworking my old site, and didn't want to just build a new theme on top of poorly organized content/taxonomy, etc. and my need was to copy all the content over (which this module does great), but in doing a bulk export, now my oldest content on my old site is now my newest content on this site, because I did one page at a time in the content section, and went page to page until I reached what was the oldest content.
Either way, if it's ever possible, great, if not... it's only a minor inconvenience for myself, and any other users in my situation.
Thanks for a decent import/export module. I've looked over a bunch of the options today, and really none of them seem to be perfect for every need.
#3
I'll try it out with the save-then-edit method and mass node imports see how I go
#4
Hi,
To have the "Authored on" date exported will be a nice and useful feature.
I'm opening a "Feature request" for this.
#5
In the new release this will be a configuration option.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.