Add author and nid field to import from Drupal 7.#237
Merged
parkr merged 1 commit intojekyll:masterfrom Jan 6, 2016
geerlingguy:drupal7
Merged
Add author and nid field to import from Drupal 7.#237parkr merged 1 commit intojekyll:masterfrom geerlingguy:drupal7
parkr merged 1 commit intojekyll:masterfrom
geerlingguy:drupal7
Conversation
Member
There was a problem hiding this comment.
please add a space between u and \
Member
|
Wonderful! One nit above, then I'll merge 👍 |
Contributor
Author
|
@parkr - Sorry about that, it's fixed now! |
Member
|
Can this be backported to Drupal 6? Thanks for your contributions!! 🎉 |
Contributor
Author
|
@parkr - The structure of the users table and uid/name fields is exactly the same between D6/D7... however, the field_data_body table and it's relationship to the node table isn't the same, so these particular changes could be backported, but the exact commit couldn't be cherry-picked into the drupal6 file/backported without rejiggering a little. Unfortunately, I don't have any Drupal 6 sites I can use to test it, otherwise I'd do that really quick and backport it myself :/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With the current Drupal 7 import script, there is no author data (very helpful when there are multi-author blogs, which is often the case with Drupal sites) nor nid attached to the imported posts. The nid can be extremely helpful in cases where you use a customized template to show Disqus comments or need to print other legacy-powered data on particular posts.