09-25-2024, 05:28 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Aug 2024
Device: Kindle Paperwhite & reMarkable 2
|
Ignoring feed items with empty pubDate
Hello,
I am trying to build a new source for Télérama french magazine for subscribers. I find that there is useless items they put it all their feeds. The common point is that all those items have an empty pubDate tag. Is there a way to filter out those items based on that criteria ? From the parse_feeds() method, it seems that the date is already inherited at that point by the global feed level pubDate. Any idea ? Thanks ! |
09-26-2024, 04:09 AM | #2 |
creator of calibre
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can always re-implement parse_feeds() from the base class in your sub-class and do whatever you like with the feeds. Looka t the base class impementation and you should have a good idea of what to do.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove the end of feed items title | Tigerix | Recipes | 2 | 05-19-2012 09:41 AM |
Empty news feed | bubak | Recipes | 4 | 06-14-2011 08:38 PM |
Tegan: re already downloaded feed items | Starson17 | Recipes | 4 | 01-20-2011 04:07 PM |
Ignore empty RSS feed urls | miwie | Recipes | 2 | 11-18-2010 02:58 PM |
how to remove already pulled feed items? | MarcDK | Calibre | 2 | 11-12-2010 10:30 AM |