![]() |
#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 ! |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,339
Karma: 27182818
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 | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove the end of feed items title | Tigerix | Recipes | 2 | 05-19-2012 08:41 AM |
Empty news feed | bubak | Recipes | 4 | 06-14-2011 07:38 PM |
Tegan: re already downloaded feed items | Starson17 | Recipes | 4 | 01-20-2011 03:07 PM |
Ignore empty RSS feed urls | miwie | Recipes | 2 | 11-18-2010 01:58 PM |
how to remove already pulled feed items? | MarcDK | Calibre | 2 | 11-12-2010 09:30 AM |