summaryrefslogtreecommitdiff
path: root/sfeed_frames.1
AgeCommit message (Collapse)Author
2023-05-07iterate on previous commit which adds $SFEED_NEW_MAX_SECSHiltjo Posthuma
Separate the common pattern to get the time to compare new items in format tools to the new util function: getcomparetime(). Some changes and notes: - Change it so it is OK to set this value to 0 or negative (in the future). - sfeed_curses: truncating newmaxsecs to an int would limit the value too much. - Just use strtotime() and parse the value to time_t. This is a signed long (32-bit, until 2038) or signed long long (64-bit) on most platforms. - sfeed_curses gets the comparison time on reload aswell and it needs errno = 0, because it uses die(). time() is not guaranteed to set an errno if it fails. - Rename environment variable to $SFEED_NEW_AGE.
2023-05-07sfeed_{curses,frames,gopher,html,plain}: SFEED_NEW_MAX_SECSAlvar Penning
By introducing the new environment variable $SFEED_NEW_MAX_SECS in all sfeed_* utilities marking feeds as new based on comparing their age, it is now possible to override this age limit. This allows, for example, to be notified about new feeds within the last hour with SFEED_NEW_MAX_SECS=3600 sfeed_plain ~/.sfeed/feeds/* while creating a beautiful web report for last week's news by SFEED_NEW_MAX_SECS=604800 sfeed_html ~/.sfeed/feeds/*
2021-08-03man page improvementsHiltjo Posthuma
2021-07-25man page improvementsHiltjo Posthuma
- Some rewording and typo fixes. - Specify in more detail how sfeed_web detects links from HTML code.
2021-05-30sfeed_frames.1/sfeed_html.1: reference the style.css example fileHiltjo Posthuma
2020-03-15man pages (section 1): document exit statusHiltjo Posthuma
Document it so it can be relied upon in scripts.
2019-07-20documentation: document "new" items in format programsHiltjo Posthuma
2019-07-20man pages: reference sfeed(5) in format programs, reword sfeed(5) descriptionHiltjo Posthuma
2018-08-16sfeed_frames: overhaulHiltjo Posthuma
sfeed_frames used to write HTML pages for each entry for each feed. This can be useful but had security issues, because the context of the content changes. sfeed_frames is now a HTML version which works better with browsers that don't support CSS or tables well like w3m and lynx. It is now an alternative for sfeed_html. - Don't reference and embed HTML content for security reasons. This was documented under "SECURITY CONSIDERATIONS" in the man page. - Tighten pledge(2). - Simplify
2017-04-27man pages: fix a few warnings and improve a few wordsHiltjo Posthuma
- fix new warning check (start sentence at each line). - improve a few words.
2016-05-21improve wording in documentationHiltjo Posthuma
link to sfeed(5) in README to avoid having to duplicate documentation text.
2016-04-18sfeed_frames.1: reword SECURITY CONSIDERATIONSHiltjo Posthuma
2016-04-10reword some sentences in the documentation/man pagesHiltjo Posthuma
2016-01-31sfeed_frames.1: add a note about security considerationsHiltjo Posthuma
2015-09-23update documentation, dont use semantic Ar for non-argumentsHiltjo Posthuma
2015-08-05improve man-pages and documentationHiltjo Posthuma
2015-07-31update and improve documentation (WIP)Hiltjo Posthuma
2015-06-21improvementsHiltjo Posthuma
2015-05-24doc: fix warnings (mandoc -Tlint)Hiltjo Posthuma
and regenerate old man-style (make doc-oldman).
2015-01-04doc: improveHiltjo Posthuma
- mandoc: fix mandoc errors and warnings. - remove pre-generated HTML documentation.
2015-01-02convert man pages to mandocHiltjo Posthuma
2014-05-08man pages: improve wordingHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-05-08man pages: just hardcode versionHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-05-08sfeed_frames.1: trailing whitespaceHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2013-05-20update sfeed_frames and documentationHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>