diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-04-18 18:51:50 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-04-18 18:51:50 +0200 |
commit | 7041e7ebffa8ae08aeaecf4351b8d378f3e14e28 (patch) | |
tree | df26b0a37f131032f662430210ff492693632b23 /sfeed.c | |
parent | 0733230d6c2e6404991736e99959f9c409c64ab3 (diff) |
simplify sfeed(5) format, remove feedtype also
Remove type of feed per item, it is not that interesting. sfeed(1) can parse
both RSS and Atom feeds.
Diffstat (limited to 'sfeed.c')
-rw-r--r-- | sfeed.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -21,7 +21,6 @@ enum FeedType { FeedTypeRSS = 1, FeedTypeAtom = 2 }; -static const char *feedtypes[] = { "", "rss", "atom" }; enum ContentType { ContentTypeNone = 0, @@ -546,8 +545,6 @@ printfields(void) string_print_trimmed(&ctx.fields[FeedFieldId].str); putchar(FieldSeparator); string_print_trimmed(&ctx.fields[FeedFieldAuthor].str); - putchar(FieldSeparator); - fputs(feedtypes[ctx.feedtype], stdout); putchar('\n'); } |