Download & Extend

Add support importing nodes via Migrate module

Project:Nodewords: D6 Meta Tags
Version:6.x-1.x-dev
Component:Third-party modules integration
Category:feature request
Priority:normal
Assigned:Unassigned
Status:fixed

Issue Summary

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

#1

Status:active» needs review

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

AttachmentSizeStatusTest resultOperations
nodewords-migrate-725794-1.patch3.18 KBIdleFAILED: [[SimpleTest]]: [MySQL] Unable to apply patch nodewords-migrate-725794-1.patch.View details | Re-test

#2

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.

#3

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.

#4

Status:closed (won't fix)» needs review

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.

AttachmentSizeStatusTest resultOperations
nodewords-725794-4-dev.patch2.52 KBIdlePASSED: [[SimpleTest]]: [MySQL] 0 pass(es).View details | Re-test

#5

Status:needs review» needs work

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

#6

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

#7

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.

#8

Title:Add support for Migrate module» Add support importing nodes via Migrate module
Status:needs work» needs review

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

AttachmentSizeStatusTest resultOperations
nodewords-n979618-8.patch2.24 KBIdlePASSED: [[SimpleTest]]: [MySQL] 127 pass(es).View details | Re-test

#9

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.