Add taxonomy ("tags") to Drupal migration #740
Add taxonomy ("tags") to Drupal migration #740clayt0nk wants to merge 1 commit intojekyll:masterfrom
Conversation
|
What is the general use-case for Drupal users: a complicated taxonomy or one like yours? |
|
I would think that the most normal case would be the transfer of a Drupal blog, and for this case one single flat taxonomy/tag list like mine would be very common indeed. Though untested, my feeling after looking at the Drupal tables in question is that this simple bit of code will probably also handle more complicated taxonomies (multiple lists, or hierarchies) reasonably gracefully by just mushing them all into one flat list of tags. |
|
@parkr: Shouldn't this be moved to the new jekyll/jekyll-import repo? |
|
Agreed! Would you mind? |
|
@clayt0nk Does this apply only for Drupal 6 or also for Drupal 7? I'll submit a PR at jekyll/jekyll-import with these commits against the Drupal 6 migrator. |
|
Resubmitted over there: jekyll/jekyll-import#15 |
|
I did not test it on Drupal7, so don't know if the same will work on Drupal7 |
I added support for migrating a simple situation of a flat hierarchy of tags. This might not handle complicated taxonomies well, but it just worked for my site with one list of tags.