Closed (won't fix)
Project:
Views Bulk Operations (VBO)
Version:
6.x-1.7
Component:
Actions
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2009 at 11:04 UTC
Updated:
27 Jun 2011 at 14:19 UTC
I'm trying look in node titles, and if it matches a term in a particular vocab, tag that node with that term (or its synonyms). I'm trying to do this retrospectively (to the thousands of nodes already on the system) and also going forwards- so each time a new node is created, it passes through this process.
What is the general strategy I would have to follow for doing this, and is Views Bulk Operations appropriate?
Any help would be much appreciated!
Infinite thanks,
Chris.
Comments
Comment #1
infojunkieVBO can help for the existing nodes. You need to write an action that receives a node object and implements the logic you outlined above. Then, edit the stock VBO at admin/content/node2 to add your new action. You can then apply the action on a node selection.
To execute that action for each new node, you can use Trigger (in Drupal core) or Rules (http://drupal.org/project/rules) to select that same action you wrote above and let it be executed upon node creation.
Check out the VBO development guide (http://drupal.org/node/459070) for more information on writing actions.
Comment #2
infojunkieThis is a request for a new action. I don't usually have time to work on new actions because there's an infinite number of possible actions to request (see other requests for actions). I'll mark this as postponed until someone else picks it up or I need to implement it myself.
Comment #3
bojanz commentedAn autotagging action would be great, but in one of the many taxonomy modules. No need to have it in VBO.