Quote:
Originally Posted by Starson17
Yes, but to do that you need to know the date of the last run, and that requires storing that date somewhere during the previous run and fetching it during the current run to do the comparison. That's exactly what my comment was about - passing data from one recipe run to the next one.
|
My idea was to look for the latest file that was generated for the feed from calibre. Then you could look up the date at which this file was generated which you can retrieve from the filesystem. I have not really looked at it, but this way you could avoid storing data in a separate history file for the feed. I am sure there is some python command to retrieve the date of a file.
Of course, the duplicate article problem cannot be solved that way.