summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2019-02-24 15:25:31 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2019-02-24 15:31:26 +0100
commitb3c9ad3cc6a8ad77b9c643aafe3a290b9f67e39d (patch)
tree2fcbeaa836bbb7247033d890a9be1a18ece3aa12 /util.c
parent19cd36545777e20ca03c066d4a29d9c626b86b57 (diff)
stricter Atom link parsing
the Atom link parsing is more strict now and checks the rel attribute. When the rel attribute is empty it is handled as a normal link ("alternate"). This makes sure when an link with an other type is specified (such as "enclosure", "related", "self" or "via") before a link it is not used. sfeed does not handle enclosures, but the code is reworked so it is very simple to add this. Enclosures are often used for example to attach some image to a newspost or an audio file to a podcast.
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions