summaryrefslogtreecommitdiff
path: root/sfeed_html.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.
2020-01-23improve man pages, some rewordings and add a referenceHiltjo Posthuma
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
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.
2015-08-06general cleanupsHiltjo Posthuma
2015-08-05improve man-pages and documentationHiltjo Posthuma
2015-07-31update and improve documentation (WIP)Hiltjo 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 improvements, add dpb to creditsHiltjo 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>
2012-08-03New initial repoHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>