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 /util.h | |
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 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -26,9 +26,8 @@ struct uri { }; enum { - FieldUnixTimestamp = 0, FieldTitle, - FieldLink, FieldContent, FieldContentType, FieldId, FieldAuthor, - FieldFeedType, FieldLast + FieldUnixTimestamp = 0, FieldTitle, FieldLink, + FieldContent, FieldContentType, FieldId, FieldAuthor, FieldLast }; int absuri(char *, size_t, const char *, const char *); @@ -36,7 +35,6 @@ size_t parseline(char *, char *[FieldLast]); int parseuri(const char *, struct uri *, int); void printutf8pad(FILE *, const char *, size_t, int); int strtotime(const char *, time_t *); -char * xbasename(const char *); void xmlencode(const char *, FILE *); #ifdef USE_PLEDGE |