rrss
5 months agoFix some of the duplication issues and the URLs, avoid recreating client. master
Pete [Mon, 4 Dec 2023 09:11:14 +0000 (01:11 -0800)]
Fix some of the duplication issues and the URLs, avoid recreating client.

Also initial import to git (via hggit) now that 9front has git but no hg.
I have been using rrss for a while (thanks, sl!) for personal RSS feeds,
but stream.debu.gs kind of relies on it and that machine is on a different
fileserver.

2 years agomerge
sl@stanleylieber.com [Wed, 4 May 2022 02:20:33 +0000 (22:20 -0400)]
merge

2 years agoindex.md: add FORKS section, and link to phil9's fork.
sl@stanleylieber.com [Wed, 4 May 2022 02:20:05 +0000 (22:20 -0400)]
index.md: add FORKS section, and link to phil9's fork.

2 years agomain.go: handle expired and self-signed certificates (thanks, phil9); run gofmt on...
sl@stanleylieber.com [Sun, 10 Oct 2021 02:43:07 +0000 (22:43 -0400)]
main.go: handle expired and self-signed certificates (thanks, phil9); run gofmt on entire file

3 years agoindex.md: rrss.tgz -> https://code.9front.org/hg/rrss
sl@stanleylieber.com [Mon, 18 Jan 2021 19:59:39 +0000 (14:59 -0500)]
index.md: rrss.tgz -> https://code.9front.org/hg/rrss

3 years agoREADME -> index.md
sl@stanleylieber.com [Mon, 18 Jan 2021 19:57:31 +0000 (14:57 -0500)]
README -> index.md

3 years agomain.go: remove warning about github.com/SlyMarbo/rss, we now work with the latest...
sl@stanleylieber.com [Mon, 18 Jan 2021 19:55:30 +0000 (14:55 -0500)]
main.go: remove warning about github.com/SlyMarbo/rss, we now work with the latest version

3 years agomain.go: handle urls that update after we've already logged them to the links file...
sl@stanleylieber.com [Mon, 18 Jan 2021 19:54:27 +0000 (14:54 -0500)]
main.go: handle urls that update after we've already logged them to the links file (thanks, phil9)

4 years agomain.go: add func fetchfeed(url string) (resp *http.Response, err error) to deal...
stanley.lieber@gmail.com [Thu, 12 Mar 2020 02:20:06 +0000 (22:20 -0400)]
main.go: add func fetchfeed(url string) (resp *http.Response, err error) to deal with sites that attempt to perform phrenology on the user-agent string. (thanks, Philippe)

4 years agomain.go: run html.UnescapeString on item <description> (looking at you, reddit)(thank...
stanley.lieber@gmail.com [Sun, 9 Feb 2020 02:35:20 +0000 (21:35 -0500)]
main.go: run html.UnescapeString on item <description> (looking at you, reddit)(thanks, Philippe)

4 years agomain.go: SlyMarbo/rss changed how it handles Content and Summary. add func conorsum...
stanley.lieber@gmail.com [Wed, 5 Feb 2020 03:06:20 +0000 (22:06 -0500)]
main.go: SlyMarbo/rss changed how it handles Content and Summary. add func conorsum(i *rss.Item) string, which returns i.Content or i.Summary, depending on which is populated. (thanks, Philippe).

8 years agobitbucket.org -> code.9front.org
stanley.lieber@gmail.com [Fri, 22 Jan 2016 20:17:29 +0000 (15:17 -0500)]
bitbucket.org -> code.9front.org

8 years agoisold(): return true if we cannot open the links file.
stanley.lieber@gmail.com [Sat, 5 Dec 2015 02:45:47 +0000 (21:45 -0500)]
isold(): return true if we cannot open the links file.

8 years agofor -f barf: handle multiple, space-separated -t tags
stanley.lieber@gmail.com [Tue, 27 Oct 2015 03:49:44 +0000 (23:49 -0400)]
for -f barf: handle multiple, space-separated -t tags

8 years agoclarify comments
stanley.lieber@gmail.com [Mon, 19 Oct 2015 02:22:14 +0000 (22:22 -0400)]
clarify comments

8 years agoimprove documentation
stanley.lieber@gmail.com [Tue, 4 Aug 2015 05:04:13 +0000 (01:04 -0400)]
improve documentation

9 years agoREADME: code.google.com -> bitbucket.org; main.go: formatting
stanley.lieber@gmail.com [Thu, 26 Feb 2015 02:43:51 +0000 (21:43 -0500)]
README: code.google.com -> bitbucket.org; main.go: formatting

9 years agoimport
stanley.lieber@gmail.com [Mon, 15 Dec 2014 03:15:17 +0000 (22:15 -0500)]
import