pipes-digital / pipes

Repository for Pipes
https://pipes.digital
GNU Affero General Public License v3.0
264 stars 21 forks source link

Post publication dates assigned to feeds built without dates #73

Closed anewuser closed 2 years ago

anewuser commented 3 years ago

Where are the dates for these posts coming from? The pipe editor shows different dates from the feed output, but the latest entries are actually from this week: https://www.pipes.digital/pipe/3NpgYr9B

onli commented 3 years ago

When a feed builder block gets no date input, it will use now() as a date. But those dates get cached when an item is first created, for each individual block.

The cache key uses the guid. The guid of the content items is re-used, if it's not there or the block has the "recalculate guid" option it gets computed by the hash of content and title. Is it possible that guid is not a global unique id in that feed, but gets repeated instead?

anewuser commented 3 years ago

This pipe downloads web pages, and each item has a unique title and link, so I don't know why those recent posts had 2020 dates. Anyway, I've enabled "Recalculate GUID", and the dates changed. I'll monitor it to see if future entries are added properly.

anewuser commented 2 years ago

I'm facing this issue again with the same pipe: https://www.pipes.digital/feedpreview/3NpgYr9B

I've added the length ( .player_standard_tool__time ) of each audio file to their titles to try to generate new guids, but it made no difference.

anewuser commented 2 years ago

Duplicating the pipe made it add today's date to each item (1NklaJOR).

onli commented 2 years ago

Duplicating the pipe would reset the cache. Strange that it was necessary. Hope to find the issue sometime.