Commit Graph

136 Commits

Author SHA1 Message Date
5d9b705be3 Fix issue where stripping classNames could cause a crash 2022-11-17 15:50:32 +08:00
1b62ada73e Make overlay element an unlikelyCandidates and give player element positive score 2022-11-17 11:27:51 +08:00
13e925c503 Allow kaltura videos through in readablity 2022-11-17 11:27:51 +08:00
4ee5675e23 Add gdcvault parsing test-case 2022-11-17 11:27:51 +08:00
81c125ed50 Handle cases where className is a dictionary instead of string 2022-11-01 12:16:29 +08:00
9b53b09d51 Fix check for isOmnivoreNode 2022-11-01 10:52:29 +08:00
4afd598ada Check the correct node when looking for detecting omnivore nodes 2022-11-01 10:31:50 +08:00
cc91e43572 Handle embedded tweets in substack emails
This does a few things:
- tags static tweets found in substack emails with a special class
- upgrades readability to ignore special class names
- reduces some readability debug output
2022-10-31 21:28:36 +08:00
e01ff35a01 Add test case from brookings.edu
This article has a bunch of embedded icons in the content, things
like an indicator for an external link.
2022-10-27 12:06:40 +08:00
303165d47c Add icon to the ignored matchlist 2022-10-27 12:06:38 +08:00
990759da73 Save base64 encoded image site icon in page 2022-10-18 15:32:30 +08:00
3f82c0af01 Handle cases where tweet items dont have parents 2022-10-18 13:46:37 +08:00
57676d381c Better handle <a elements with no parent when looking for tweet placeholders 2022-10-18 12:13:54 +08:00
08a1d4af91 Update the Getting started guide for new users 2022-10-17 17:11:25 +08:00
7af068e8dc Header fix adds the headers back in for this test case 2022-10-12 14:51:59 +08:00
989f0e2e31 Add test from the new Omnivore Getting Started article 2022-10-12 14:34:36 +08:00
57575c75aa Remove the subscriber dialog that was part of the header before 2022-10-12 14:31:34 +08:00
0116304284 Dont exclude substacks in article headers
Substack uses this class on header elements like <h1> to give
them anchors in the documents, but we mark content with `header`
in its class name as unlikely.
2022-10-12 14:27:31 +08:00
7187326d90 Use li-date and post-tag selectors instead of post-meta as that usually has useful data 2022-10-04 15:06:54 +08:00
8a4777011f Improve readability of dev.to pages 2022-10-04 13:40:26 +08:00
57ca5ed6f8 Merge pull request #1246 from omnivore-app/feature/subscription-icon
feature/subscription icon
2022-09-28 22:10:23 +08:00
4aceac5f04 Revert "Get favicon from URL if not found from doc"
This reverts commit 7306d65642.
2022-09-28 18:25:11 +08:00
3adf0fe428 Update dock removal for NYT 2022-09-28 18:21:49 +08:00
08329ba5cf Update NYT test page 2022-09-28 18:20:12 +08:00
7306d65642 Get favicon from URL if not found from doc 2022-09-28 17:18:00 +08:00
e8213eff97 Revert typo 2022-09-28 16:51:00 +08:00
ae5b9a3fd3 Add tests for NYT podcasts page 2022-09-28 16:32:12 +08:00
9d223bb4e2 Better handling of NYT podcast transcripts 2022-09-28 16:31:35 +08:00
3710a13890 Add more test pages 2022-09-27 22:26:27 +08:00
3524f77339 Add more test pages 2022-09-27 22:23:31 +08:00
2a97284f5b Add more test pages 2022-09-27 22:11:43 +08:00
ecec40834d Add test case for Bloomberg newsletter 2022-09-27 15:54:03 +08:00
99dad48dd1 Add Axios Chicago test case 2022-09-22 22:13:49 +08:00
56e3ccadf0 Add test case for Axios AM newsletter 2022-09-21 12:16:13 +08:00
316ebe03ae Update test page generated 2022-09-15 16:36:04 +08:00
8ff356d3bc keep the market-info class in morning brew newsletters 2022-09-15 16:22:12 +08:00
fa731acd74 Create new newsletter if old one is deleted 2022-09-14 19:14:58 +08:00
6435a20246 Remove social links 2022-09-14 16:59:21 +08:00
1563ef9131 replace tables whose role is not presentation with divs for newsletters 2022-09-14 16:59:21 +08:00
9b92a64232 Regenerate test page 2022-09-14 16:59:21 +08:00
5e959b6a0a Generate morning brew newsletter test page from email content 2022-09-14 16:59:21 +08:00
3df6dbc3d5 Generate newsletter test pages in a subdirectory 2022-09-14 16:59:21 +08:00
924d981deb Add test page 2022-09-14 16:59:21 +08:00
1be0dd50ef Remove anchors class names that contain "tw-text-substack-secondary" as they are used for Substack subscription 2022-09-08 22:19:27 +08:00
db2dceec4b Merge pull request #933 from omnivore-app/fix/footnote-not-saved
fix/footnote not saved
2022-07-18 11:33:56 -07:00
a39a82bd42 fix tests 2022-07-14 11:08:32 +08:00
f0f7aa5a6d rename jsdom to linkedom 2022-07-14 10:59:44 +08:00
2e645b29b2 regenerate test pages with footnote added 2022-07-13 16:24:33 +08:00
cf5f577c14 regenerate test page for danwang with footnote added 2022-07-13 16:23:36 +08:00
c4e8a44376 Update generated html 2022-07-07 10:48:16 +08:00