or a negate option would work.

Thanks

Comments

fago’s picture

Status: Active » Fixed

what are you talking about? Nevertheless, there is a negate option for conditions.

eyecon-1’s picture

Status: Fixed » Active

Please bear with me. I am a tad new to Drupal.

It's not a condition, it's an event. Under Workflow-Wordfilter, the only option is node/comment contains words in filter list.

What I am trying to do is to publish only feed items to nodes that contain certain words. I tried to do this with a textual comparison which is superior because of RegEx but I cannot get it to work, presumably because I cannot determine the correct [node:type] token for the teaser.

Any help would be appreciated.

fago’s picture

ah, are you talking about the workflow-wordfilter module? I wasn't even aware of that module - I 've just found it because of your issue :)

-> I posted an enhancement proposal for the module there: http://drupal.org/node/190573

However filtering for words with a proper regex in workflow-ng's string comparision condition should work fine.

eyecon-1’s picture

Thanks. I went through the docs on the home page and there is no example.

A textual comparison requires two strings. String two is "/regular expression pattern/[i]"

What I cannot figure out is what to do for string one. How do I determine what [token] to use representing the feed item teaser?

I have gone through countless docs and my copy of "Pro Drupal Development." It must be a brain freeze in that I simply cannot find what I am looking for.

Thanks for your patience.

fago’s picture

Category: feature » support

for string two, just use "regular expression pattern". However yes, there is no token for the node teaser :/ So perhaps you would need a node teaser wordfilter/regex condition