diff --git a/README.md b/README.md index 2de2b62..422f9de 100644 --- a/README.md +++ b/README.md @@ -98,9 +98,6 @@ The arguments are: - `item_title`: entry's title - `item_content`: entry's description - `item_time`: entry's date & time (accepts a wide range of time formats) -- Completely useless - - `strip`: remove all description and content from feed items - - `empty`: remove all feed items ## Use cases diff --git a/morss/morss.py b/morss/morss.py index e45d12a..517594f 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -255,10 +255,6 @@ def ItemFill(item, options, feedurl='/', fast=False): def ItemBefore(item, options): # return None if item deleted - if options.empty: - item.remove() - return None - if options.search: if options.search not in item.title: item.remove() @@ -268,10 +264,6 @@ def ItemBefore(item, options): def ItemAfter(item, options): - if options.strip: - del item.desc - del item.content - if options.clip and item.desc and item.content: item.content = item.desc + "

* * *


" + item.content del item.desc