Frédéric Guillot
4834e934f2
Remove some duplicated code in RSS parser
2024-03-15 18:40:06 -07:00
Frédéric Guillot
dd4fb660c1
Refactor Atom parser to use an adapter
2024-03-15 17:27:16 -07:00
Frédéric Guillot
5948786b15
Add support for RSS <media:category> element
2024-03-13 21:35:39 -07:00
Frédéric Guillot
648b9a8f6f
Refactor RSS Parser to use an adapter
2024-03-13 21:25:09 -07:00
Frédéric Guillot
6d97f8b458
Parse podcast categories
2024-03-11 22:30:27 -07:00
Frédéric Guillot
f8e50947f2
Move iTunes and GooglePlay XML definitions to their own packages
2024-03-11 22:09:31 -07:00
Frédéric Guillot
9a637ce95e
Refactor RSS parser to use default namespace
...
This change avoid some limitations of the Go XML parser regarding XML namespaces
2024-03-11 21:07:13 -07:00
jvoisin
a074773e6c
Use an io.ReadSeeker instead of an io.Reader to parse feeds
...
This will allow to make use of func (*Reader) Seek, instead of re-recreating a
new reader. It's a large commit for a small change, but anything to simply the
reader/buffer/ReadAll/… mess is a step in the right direction I think, and it
should enable more follow-up simplifications.
2024-03-06 20:13:39 -08:00
Frédéric Guillot
d0f99cee1a
Regression: ensure all HTML documents are encoded in UTF-8
...
Fixes #2196
2023-12-01 16:52:03 -08:00
Frédéric Guillot
e3eaaea15a
Update date parser to parse more invalid date formats
2023-11-01 20:55:35 +01:00
Frédéric Guillot
14e25ab9fe
Refactor HTTP Client and LocalizedError packages
2023-10-22 13:09:30 -07:00
Frédéric Guillot
5e6c054345
Take RSS TTL field into consideration to schedule next check date
2023-10-20 20:11:05 -07:00
Frédéric Guillot
c0e954f19d
Implement structured logging using log/slog package
2023-09-24 22:37:33 -07:00
Frédéric Guillot
48f6885f44
Add generic webhook integration
2023-09-09 13:11:42 -07:00
Frédéric Guillot
36f013670e
Strip HTML tags from DublinCore Creator tags
2023-09-08 17:39:49 -07:00
Frédéric Guillot
e5d9f2f5a0
Rename internal url package to avoid overlap with net/url
2023-08-13 19:57:04 -07:00
Romain de Laage
fb8737e330
feat: use podcast duration tag as reading time
2023-08-12 18:14:29 -07:00
Frédéric Guillot
168a870c02
Move internal packages to an internal folder
...
For reference: https://go.dev/doc/go1.4#internalpackages
2023-08-10 20:29:34 -07:00