I would like to create a block on the front page of my website that shows a different node of the same content type each day. This feels like something that is probably not too difficult, but off hand I'm not sure how to accomplish it cleanly.
The closest solution I can think of would be to create a view that shows a random node each time the page is visited. I'm not sure how to limit that to once per day.
I can image a solution using Rules, but I'd need to experiment to figure out how that would work.
It's ok if it's a new random node each day, but I would like for each node to remain a full day before changing.
Any ideas how to do this with features in core or with an existing contributed module?
Comments
I found a long expired sandbox module for Drupal that would do this.
https://www.drupal.org/sandbox/couloir007/2030621
I don't think I've ever used the Nodequeue module. It seems like it might be at least part of the solution.
https://backdropcms.org/project/nodequeue
Have you already played with Views random seed?
I belief, what you try to achieve would work with that module. Show only one node and set the sort order to "Global: Random seed" with "Reset seed interval" "Every day". Didn't try with page cache, though.
Try using caching in the View settings, set to 24 hours. This should work for anonymous site visitors. I haven't tested this in practice, so this is just a guess.