Age | Commit message (Collapse) | Author |
|
|
|
does not sort all entries by datetime descending anymore. Now only
new entries are appending in a datetime ascending order.
|
|
- clarify code and improve linewrapping.
- translate characters in filename (allow /)
- add feedname as separate feed name field.
- change in which order priority the field is checked.
|
|
when a feed file is created for the first time make sure to sort and
filter duplicate items using the same logic as merge().
|
|
|
|
When fetching a feed failed and its temporary file was stored (filesize=0)
it would still be merged with the (possible) old file. This updated the
modification time which would be used in the next poll (If-Modified-Since).
The solution is to check if the file is non-empty and only then merge, this
is still not 100% fool-proof, but much better.
|
|
|
|
|
|
|
|
|
|
It could mess up urls in items (redirect http to https). It is also safer.
|
|
the base temporary directory is random. The directory is cleaned afterwards
or on SIGTERM etc so remove this unneeded line.
|
|
A feeds file was created with touch when it didnt exist. This confuses
curl -z since it uses that file for If-Modified-Since. Now it just
copies the temporary file to the new file without merging if it doesn't
exist. The warning for curl for a non-existant file is already suppressed
with curl -s.
|
|
|
|
|
|
update sfeed_update, there is now a feeds file per feed.
|
|
feed urls sometimes change and is not important for the order.
|
|
this fixes an issue with differences in stat(1) versions (OpenBSD, GNU, sbase).
|
|
|
|
|
|
this makes it compatible with the current sbase mktemp
|
|
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
|
|
lots of things changed, but cleanup todo. changelog and consistent stream of small updates will come in the future.
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
|
|
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
|
|
This allows to have a feed on a different domain but specify the base
url of links if links in the feed are relative.
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
|
|
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
|