diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-02-24 15:25:31 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-02-24 15:31:26 +0100 |
commit | b3c9ad3cc6a8ad77b9c643aafe3a290b9f67e39d (patch) | |
tree | 2fcbeaa836bbb7247033d890a9be1a18ece3aa12 /sfeed_update | |
parent | 19cd36545777e20ca03c066d4a29d9c626b86b57 (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 'sfeed_update')
0 files changed, 0 insertions, 0 deletions