summaryrefslogtreecommitdiff
path: root/sfeed_opml_export
AgeCommit message (Collapse)Author
2021-08-06sfeed_opml_export: fix typo: opml -> OPMLHiltjo Posthuma
2021-05-29sfeed_opml_export: sync loadconfig() function fixes from sfeed_updateHiltjo Posthuma
- Do not show stderr of readlink. - Show the reference to the example sfeedrc (like sfeed_update). - Make the error message a bit shorter. - Fix showing the path if it does not exist, for example: $ sfeed_opml_export "a" readlink: a: No such file or directory Configuration file "" does not exist or is not readable. Now shows: $ sfeed_opml_export "a" Configuration file "a" cannot be read. See sfeedrc.example for an example.
2021-01-24sfeed_opml_export: fix typos in commentHiltjo Posthuma
2019-11-24OPML export improvementsHiltjo Posthuma
- set type="rss", this is mandatory for OPML2 (although we use OPML v1). This fixes importing OPML with Mozilla Thunderbird. other: - Do not set the optional htmlUrl. This was (ab)used for the baseurl. - awk: set FS using the awk -F option (no need for OFS here). - awk: remove forced C locale.
2019-05-15sfeed_opml_export: code-style for whitespace with variablesHiltjo Posthuma
2019-05-10sfeed_opml_export: optimizeHiltjo Posthuma
Tested using 1000 feeds, took about 20s, now 0.02s. The overhead of sed and printf was too high. Now pipe an intermediate TAB format to awk and print it in one stage.
2018-12-01sfeed_opml_export: escape `&'Leonardo Taccari
2018-04-07sfeed_opml_export: encode more entities for attribute valuesHiltjo Posthuma
Found by testing newsboat and compatibility with other clients.
2017-12-10sfeed_opml_import/sfeed_opml_export: allow " and \ in fieldsHiltjo Posthuma
make sure to escape them.
2017-12-09sfeed_opml_export: remove a level of indentationHiltjo Posthuma
2015-08-05sfeed_update, opml_export: slightly safer comparisonHiltjo Posthuma
2015-07-31improve documentationHiltjo Posthuma
2012-08-03sfeed_opml_export: output items on a single lineHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2012-08-03cleanup: remove trailing whitespaceHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2012-08-03sfeed_opml_export: wait for all items to be output...Hiltjo Posthuma
before writing footer of opml. Since feeds can be specified in the config to be processed in parralel. Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2012-08-03Add sfeed_opml_export scriptHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>