Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to schedule an article post.

Avatar

Level 1

I upload all my content files at the same time, but I want publish at different times throughout the week, but in doing so, they will be timestamped when I first uploaded the article. So if I publish the article on Friday, it says uploaded 37 hours ago, so to a reader it makes it look like an old article. I don't want to have to reload the .article content file every time to get a new time stamp.

 

Is there a way to schedule all these posts and have them post at that time, with that time stamp. It seems like something that would be standard? Am I missing something?

Thanks in Advance.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Do not rely on system times for your live site especially when scheduling a job the creation time will obviously be different than the publish time. It looks like you are displaying creation time value to your end user. Instead, create a new property called "articlePubDate" and add the value of the scheduled time you want to be displayed. Then use that property's value to display on the page. 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

Do not rely on system times for your live site especially when scheduling a job the creation time will obviously be different than the publish time. It looks like you are displaying creation time value to your end user. Instead, create a new property called "articlePubDate" and add the value of the scheduled time you want to be displayed. Then use that property's value to display on the page.