Hi,
I file this new issue to have no confusion. This is about getting Nodewords Meta tags like keywords, description through Migrate, and Migrate_d2d to Metatag.
I have some raw material to work from and there is an almost finished version metatag_migrate module.

The working Nodewords->Metatag Migrate for Weblinks nodes is here: https://www.drupal.org/files/issues/weblinks.migrate.inc__16.txt
An almost working Metatag_migrate module is here: http://cgit.drupalcode.org/metatag/tree/metatag_migrate?id=9f92a7438d50b...
with a Nodewords.inc: http://cgit.drupalcode.org/metatag/tree/metatag_migrate/nodewords.inc?id...
A piece of code in nodewords.inc is depreciated, see: http://data.agaric.com/passing-group-object-deprecated-pass-through-argu...
And using this Nodewords.inc I am not able to select Nodewords fields within the Migrate_d2d UI. With weblinks,migrate.inc I am, but only for weblinks.
In fact it is not showing anything within the UI, and also not migrating anything default.

I would very much like a Nodewords.inc which is usable for all sort of nodetypes and also UI enabled to select from. May be you are able to combine these two files to have a working default version?
Thanks for looking into this.

Greetings, Martijn

Comments

damienmckenna’s picture

Title: Support Migrate module for importing Nodewords(D6) data into Metatag » Integration with migrate_d2d for Nodewords configuration
Component: Code » Integration with other module
Issue tags: -metatag +migrate_d2d

Clarified the title.

damienmckenna’s picture

Issue tags: +Upgrade path
damienmckenna’s picture

Component: Integration with other module » Importing/migrating data
GStegemann’s picture

As now the Metatag Importer submodule is available and several more or less specific migration approaches have being implemented this issue has been created to define and implement a generic Nodewords to Metatag migration process.

The purpose of Metatag Importer submodule is to import Nodewords keywords during a site upgrade whereas migration classes are needed to migrate data from an old to a new site extending the basic migration classes from the Migrate and migrate_d2d module. In addition the migrate_d2d UI allows to control and assist the migration process.

What is available right now?

  • metatag.migrate.inc - Metatag Destination Handler
  • Web Links migration_d2d classes including a quite overall Nodewords migration
  • a custom Nodewords migration class as described in https://www.drupal.org/node/2201929
  • and others I don't know of

What is still needed?

  • a Nodewords query function (D6)
  • a prepareRow function (D7)
  • an UI to supply some migration parameters, like source database, type of Page Title migration, etc.
  • an UI to select the entities/content types to be migrated
  • an UI a select keywords to be migrated
  • a resulting set of field mappings, eventually modifyable by the migrate_d2d UI

Considering that an UI is needed it would be appropriate to implement this as another submodule, something like Metatag Migration submodule.

In a first step D6 to D7 migration should be started with. Second it should be checked if a Metatag D7 to D7 migration is needed as well.

Could that be an applicable approach to start with?

And who does what?