1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00
miniflux-v2/internal/reader
Julien Voisin 6ad5ad0bb2
refactor(readability): various improvements and optimizations
- Replace a completely overkill regex
- Use `.Remove()` instead of a hand-rolled loop
- Use a strings.Builder instead of a bytes.NewBufferString
- Replace a call to Fprintf with string concatenation, as the latter are much
  faster
- Remove a superfluous cast
- Delay some computations
- Add some tests
2024-12-12 20:41:56 -08:00
..
atom Ensure enclosure URLs are always absolute 2024-03-19 21:57:46 -07:00
date Small refactoring of internal/reader/date/parser.go 2024-02-26 18:08:04 -08:00
dublincore Refactor RDF parser to use an adapter 2024-03-12 20:54:05 -07:00
encoding Inline a one-liner function 2024-03-20 17:21:30 -07:00
fetcher fix: avoid panic in IsRateLimited() function 2024-10-06 21:34:23 -07:00
googleplay Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
handler refactor(handler): delay store.UserByID as much as possible 2024-12-09 19:32:59 -08:00
icon fix: load icon from site URL instead of feed URL 2024-12-07 16:06:26 -08:00
itunes Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
json Ensure enclosure URLs are always absolute 2024-03-19 21:57:46 -07:00
media Minor simplification of internal/reader/media/media.go 2024-03-18 16:09:32 -07:00
opml Add description field to feed settings 2024-05-06 15:40:36 -07:00
parser Refactor Atom parser to use an adapter 2024-03-15 17:27:16 -07:00
processor refactor: use a better construct than doc.Find(…).First() 2024-12-11 19:40:55 -08:00
rdf Remove trailing space in SiteURL and FeedURL 2024-03-18 17:51:06 -07:00
readability refactor(readability): various improvements and optimizations 2024-12-12 20:41:56 -08:00
readingtime refactor: use min/max instead of math.Min/math.Max 2024-12-11 19:43:14 -08:00
rewrite test(rewrite): add unit test for referer rewrite function 2024-12-12 20:11:47 -08:00
rss feat(rss): calculate hash based on item title/content for feeds without GUID and link 2024-10-18 18:37:38 -07:00
sanitizer refactor(sanitizer): improve rewriteIframeURL() 2024-12-09 17:14:54 -08:00
scraper refactor: use a better construct than doc.Find(…).First() 2024-12-11 19:40:55 -08:00
subscription refactor: use a better construct than doc.Find(…).First() 2024-12-11 19:40:55 -08:00
urlcleaner fix: do not alter the original URL if there is no tracker parameter 2024-07-25 22:10:28 -07:00
xml Enable go-critic linter and fix various issues detected 2024-03-17 13:52:34 -07:00