feat(indieblog) delay publishing of per-day entries
In order to fight the flakiness of indieblog
This commit is contained in:
parent
b33b45de94
commit
40378114ec
@ -133,6 +133,9 @@ $channel->addChild('language', 'en');
|
||||
|
||||
$newEntries = [];
|
||||
foreach ($groupedByDay as $day => $items) {
|
||||
if (time() - strtotime($day) < 172800) {
|
||||
continue;
|
||||
}
|
||||
$rssItem = $channel->addChild('item');
|
||||
$rssItem->addChild('title', "Links for $day");
|
||||
$rssItem->addChild('link', "https://indieblog.page/$day#" . md5(json_encode($items)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user