summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2019-04-14 15:04:47 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2019-04-14 15:26:55 +0200
commit6893cd3119ad2e73a79c3b0a0f1c279d05896223 (patch)
tree132ece7b833b650f2631f133987748b668de8f45 /util.h
parent22af8f5c3a9f79f28cf2c56d9b244804a70ddcc7 (diff)
sfeed: add support for the first enclosure of an item
This is useful for example for podcasts (audio attachment), newsposts (usually some image) or comic strips (link to page, image as enclosure). thanks leot for the feedback!
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 5c5a786..5a2f382 100644
--- a/util.h
+++ b/util.h
@@ -31,7 +31,7 @@ struct uri {
enum {
FieldUnixTimestamp = 0, FieldTitle, FieldLink, FieldContent,
- FieldContentType, FieldId, FieldAuthor, FieldLast
+ FieldContentType, FieldId, FieldAuthor, FieldEnclosure, FieldLast
};
int absuri(char *, size_t, const char *, const char *);