I'm in the process of upgrading a handful of old Drupal 6 site that were using nodewords, and I'm having trouble converting records. The drush command for converting from nodewords is commented out and code comments indicate that it doesn't work.
I've started to work on the drush command by copying how the page title drush command command works, and I've incorporated some of the working code from the nodewords UI tools. This first patch seems to do the trick for entities (node, user, term) and for the front page -- but hasn't been tested for anything else. Posting here incase it is valuable to others (and most likely my future self!)
TODO:
* Test / Add support for other nodewords types.
* Restore batching.
* Refactor so code is reused between UI and drush command
Comment | File | Size | Author |
---|---|---|---|
#5 | metatag-n2872446-5.interdiff.txt | 3.16 KB | DamienMcKenna |
#5 | metatag-n2872446-5.patch | 7.85 KB | DamienMcKenna |
|
Comments
Comment #2
jenlamptonComment #3
jenlamptonHere we go, the drush support for nodewords conversion is at least working for me with this patch.
Comment #4
DamienMcKennaPatch #3 applied to the correct path.
Comment #5
DamienMcKennaSome minor tweaks.
Comment #6
DamienMcKennaThanks Jen. Committed.