how to unpublish content if not updated for two weeks ?

Events happening in the community are now at Drupal community events on www.drupal.org.
itserich's picture

I want to unpublish content if it has not been updated during the prior two weeks.

Would a good approach be:

1- Create a rule that populates a cck field with the current date when the content is created, and then changes it to the current date whenever the node is updated.

2- Schedule a rule for + 2 weeks from that cck field date?

Curious if this is the right approach. Rules Schedule has me confused.

Thank you.

Comments

Came across this discussion

itserich's picture

Came across this discussion "Using rules to send an email x days after a user registers" which is part of what I want, to remind people to update content.

http://groups.drupal.org/node/62048

Seems like:

1- Create a Rule Set to email content authors to remind them to updat the content
2- Create a Triggered Rule to run the Rule Set 14 days after the content is created / updated.

However, within the Rule Set, it states "Send a mail to a user" is not configurable because: "Unavailable argument: Recipient"

See also Workflow Extensions

rdeboer's picture

The example on this module's project page illustrates the process as well. You don't need this module or the Workflow module to apply the concept. See Workflow Extensions

I

itserich's picture

I think

http://drupal.org/node/517674

+

the last action mentioned in this http://groups.drupal.org/node/62048#comment-183838

should do it.

^^ That's Rules scheduler! :

1kenthomas's picture

^^

That's Rules scheduler! : http://groups.drupal.org/node/62048#comment-183838

Tutorial 2: Publish content exactly 24 hours after it was created : http://drupal.org/node/517674

(Please don't just post undescriptive links without any indication of what they point to!)

~kwt

Well, my original question

itserich's picture

Well, my original question was: I want to unpublish content if it has not been updated during the prior two weeks.

So I am guessing my response was related to that issue.

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: