I'm working on importing a site built in another CMS to Drupal and I need to be able to import meta tags. Migrate can handle this if Nodewords exposes support for it.

Tim Knittel

Comments

BrandTim’s picture

Status: Active » Needs review
StatusFileSize
new3.18 KB

Patch attached. Note that this is against 6.x.-1.x-dev.

This should be considered an alpha patch. It works for me using only Nodewords_basic. I have not done extensive testing.

Tim Knittel

Anonymous’s picture

Status: Needs review » Needs work

The patch needs to be updated as per last developed code. I cannot do it myself, as I am not using Migrate.

Anonymous’s picture

Status: Needs work » Closed (won't fix)

There have not been replies in the past 3 weeks; I am marking this feature request as won't fix.

cedarm’s picture

Status: Closed (won't fix) » Needs review
StatusFileSize
new2.52 KB

Reopening. Code works, but needed a little cleanup. No longer using hook_migrate_init(). Moved nodewords_migrate_api() into nodewords.module.

Patch is against 6.x-1.x-dev, but applies to 6.x-1.11 too.

damienmckenna’s picture

Status: Needs review » Needs work

This is going to need to be re-rolled against the current codebase.

cedarm’s picture

Which code base is the current one? Patch still applies to current 6.x-1.x-dev.

damienmckenna’s picture

The bigger issue is whether it has been tested to work with the latest codebase, given it was originally written for v6.x-1.12 which was quite different to the version today.

damienmckenna’s picture

Title: Add support for Migrate module » Add support importing nodes via Migrate module
Status: Needs work » Needs review
StatusFileSize
new2.24 KB

Slight improvement to the patch due to all tags automatically being displayed, so its no longer necessary to deal with the nodewords_head variable.

damienmckenna’s picture

Status: Needs review » Fixed

Am committing this, will probably need further work later on to extend the Migrate support to other objects, e.g. users, terms, etc.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.