diff --git a/recipes/nytfeeds.recipe b/recipes/nytfeeds.recipe index 3c86f705bb..c93203ad17 100644 --- a/recipes/nytfeeds.recipe +++ b/recipes/nytfeeds.recipe @@ -56,6 +56,10 @@ def iso_date(x): return dt.strftime('%b %d, %Y at %I:%M %p') def header_parse(h): + if h.get('label'): + if h['label'].get('content'): + for cl in h['label']['content']: + yield '
' for i in x['content']: yield '\t'.join(parse_cnt(i)) @@ -168,6 +172,8 @@ class nytFeeds(BasicNewsRecipe): .cap { font-size:small; text-align:center; } .cred { font-style:italic; font-size:small; } .sub { font-style:italic; } + .lbl { font-size:small; color:#404040; } + img { display:block; margin:0 auto; } ''' feeds = [