1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41:00 +00:00
miniflux-v2/internal/reader
jvoisin c064891314 perf(readability): Simplify removeUnlikelyCandidates
- Use an array of strings instead of a regex, like done in ef13756b1a7a7ba30fd34174a5367381fd8b4849
- Extract the `shouldRemove` function from `removeUnlikelyCandidates`, as there
  is no reason to have it there instead of being a proper standalone function.
- Improve a condition, where the goquery selection would have its `id`
  attribute left unchecked if a `class` one was present, regardless of if
  `class` was a candidate to removal or not.
- Add some comments
2025-06-29 15:31:01 -07:00
..
atom perf(reader): use a non-cryptographic hash when possible 2025-06-18 20:28:23 -07:00
date refactor(date): use an else-if instead of two if statements 2025-02-06 19:44:12 -08:00
dublincore Refactor RDF parser to use an adapter 2024-03-12 20:54:05 -07:00
encoding fix(scraper): avoid encoding issue if charset meta tag is after 1024 bytes 2025-02-15 17:05:14 -08:00
fetcher perf(fetcher): pre-allocate the cipherSuites 2025-06-17 16:53:00 -07:00
filter refactor(misc): Use proper slog.XXX instead of slog.Any 2025-06-29 12:30:17 -07:00
googleplay Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
handler feat: add entry filters at the feed level 2025-06-19 15:15:16 -07:00
icon feat: implement proxy URL per feed 2025-04-06 21:05:19 -07:00
itunes Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
json perf(reader): use a non-cryptographic hash when possible 2025-06-18 20:28:23 -07:00
media perf(media): minor regex simplification 2025-06-17 16:49:07 -07:00
opml fix(api): hide_globally categories field should be a boolean 2025-04-21 19:43:25 -07:00
parser refactor(tests): use b.Loop() instead of for range b.N 2025-06-18 20:12:55 -07:00
processor perf(processor): minify content even further 2025-06-29 12:55:34 -07:00
rdf perf(reader): use a non-cryptographic hash when possible 2025-06-18 20:28:23 -07:00
readability perf(readability): Simplify removeUnlikelyCandidates 2025-06-29 15:31:01 -07:00
readingtime refactor(tests): use b.Loop() instead of for range b.N 2025-06-18 20:12:55 -07:00
rewrite refactor(processor): move RewriteEntryURL function to rewrite package 2025-06-19 13:22:29 -07:00
rss perf(reader): use a non-cryptographic hash when possible 2025-06-18 20:28:23 -07:00
sanitizer refactor(tests): use b.Loop() instead of for range b.N 2025-06-18 20:12:55 -07:00
scraper refactor(internal): add an urllib.DomainWithoutWWW function 2025-06-17 17:27:36 -07:00
subscription feat(rssbridge): support auth token for RSS-Bridge 2025-05-19 20:47:12 -07:00
urlcleaner perf(reader): optimize RemoveTrackingParameters 2025-06-10 19:29:25 -07:00
xml fix(reader): fix a crash introduced by d59990f1 2025-06-11 19:04:46 -07:00