I am having extreme difficulty configuring rules to publish content. Ideally, we would publish content on the date entered in the "post date" field.

The idea would be to have a triggered rule that fired on every cron to check for any content where content is NOT published and [date]<[site-date] and publishes it. There might be a simpler way, but it eludes me at the present time.

The documentation for this module seems very hastily created for non-developers...

Comments

fago’s picture

Component: Rules Core » Rules Engine
Status: Active » Fixed

when the content is created, schedule the execution of a rule set, which sets it to published on the given date...

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

fred0’s picture

Status: Closed (fixed) » Active

Sorry, re-opening. That reply doesn't make any sense. I've been trying to do this, but Rule Sets do not have any actions that would publish content. I see how to create a Triggered Rule to schedule a Rule Set, but the only node action in Rule Sets is Load Content By ID. Nothing about publishing.
Please write some documentation! This appears to be a powerful module and I'd really like to harness that power, but we REALLY need documentation.

amitaibu’s picture

Status: Active » Fixed

1) Only after you load the content, you will see the action to publish it. when #260617: Expose hidden actions/ conditions is committed it will make it easier to understand.
2) How about you document your findings according to the answer Fago & I gave?

fred0’s picture

I'd be happy to... but could you explain the use of load content by id? I get the basic idea, but the required fields are confusing. Especially Content ID. Is that supposed to be a node id (ie the last part of http://domain.com/node/123) or is it a new identifier specific to this function and provided to subsequent actions?

That's really what I'm asking for: not a tutorial, but a breakdown of the actions and conditions so that one can understand what each is meant to do more clearly and specifically.

fred0’s picture

And does the Content ID field take tokens? If so, shouldn't the replacement patterns be listed?

Status: Fixed » Closed (fixed)

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