Browse Source

example_custom_rss_include.py tweaks

merge-requests/1/head
Kirk Strauser 4 years ago
parent
commit
0322042a34
  1. 10
      custom_logic/example_custom_rss_include.py

10
custom_logic/example_custom_rss_include.py

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
# Custom include logic for dPS photog challenges posted on main RSS feed
def include_article(article):
if 'Weekly' in article.title and 'Challenge' in article.title:
return True
return False
"""Custom include logic for dPS photog challenges posted on main RSS feed."""
if 'Weekly' in article.title and 'Challenge' in article.title:
return True
return False
Loading…
Cancel
Save