Commit Graph

30 Commits

Author SHA1 Message Date
Nicolas Perriault
ad52d8ee30 Fixes #53 - Fixed dot-slash relative URI resolution. 2015-03-23 12:54:46 +01:00
Nicolas Perriault
cf3dce6cf2 Refs #58 - Stripped embed tags. 2015-03-22 17:52:23 +01:00
Nicolas Perriault
eee224560b Addressed review comments from @Gijsk. 2015-03-21 18:05:58 +01:00
Nicolas Perriault
4f9615cb9a Use forEach when it makes sense. 2015-03-21 15:10:00 +01:00
Gijs Kruitbosch
955951659d Bug 1143725 - fix the Herald Sun website 2015-03-20 17:49:42 -07:00
Gijs Kruitbosch
eb81444946 Improve logic to rely on children instead of childNodes 2015-03-20 17:10:45 -07:00
Margaret Leibovic
3c2d93cd09 Improve byline algorithm 2015-03-20 09:16:28 -07:00
Gijs Kruitbosch
d94f3158d3 Fix readability.js to do a DOM traversal rather than relying on a wonky DOMCollection, fix trims, fix a potential null access, etc. 2015-03-19 18:28:48 -07:00
Margaret Leibovic
fc53e1a315 Set 'name' variable to null in _getExcerpt to avoid old values in future for loop iterations 2015-03-19 14:37:47 -07:00
Margaret Leibovic
2c7c504a36 Merge pull request #32 from gijsk/regex-issues-with-class-and-id-stuff
Fix regex issues. r=margaret
2015-03-19 10:15:35 -07:00
Gijs
aec1ce774d Merge pull request #31 from gijsk/testing-generates
Allow generating tests from the web, make testing more closely match Firefox
2015-03-19 10:13:36 -07:00
Gijs Kruitbosch
1c42f29aa5 Create a script to generate testcases, actually use our version of JSDOMParser 2015-03-19 10:10:42 -07:00
Gijs
17062c1ccf Fix video regular expression to support https 2015-03-19 06:43:28 -07:00
Gijs
d9f1e884dd Fix regex issues 2015-03-18 22:23:47 -07:00
Margaret Leibovic
98ee8f7463 Merge pull request #27 from gijsk/fix-missing-paragraphs
Bug 1144441 - avoid leaving out paragraphs. r=margaret
2015-03-17 18:47:07 -07:00
Gijs Kruitbosch
1d2df4a70e Bug 1144441 - avoid leaving out paragraphs 2015-03-17 18:18:44 -07:00
Margaret Leibovic
a9bd60154d Bug 1144355 - Bail if we don't have a body to parse. r?Gijs 2015-03-17 17:38:35 -07:00
Gijs Kruitbosch
d3f84a1e58 Fix class-related logging exception 2015-03-17 17:13:51 -07:00
Gijs Kruitbosch
ce0ebe24e0 Improve logging of elements 2015-03-17 16:22:26 -07:00
Margaret Leibovic
03d9e36161 Merge pull request #22 from gijsk/fix-empty-classes
Don't create/leave empty class attributes around all the nodes we're using. r=margaret
2015-03-17 15:01:44 -07:00
Nicolas Perriault
99f338a03a Added logging to test output. 2015-03-17 22:42:59 +01:00
Gijs Kruitbosch
b62fd27ba6 Don't create/leave empty class attributes around all the nodes we're using. 2015-03-17 13:17:49 -07:00
Gijs Kruitbosch
a563714567 Bug 1127778 - while we're at it, add more logs. 2015-03-17 12:02:03 -07:00
Gijs Kruitbosch
3c277a1701 Bug 1127778 - fix paragraph reordering and add a test for it. 2015-03-17 12:01:45 -07:00
Peter deHaan
78b61ccbcd Convert const to var
Per https://github.com/mozilla/readability/issues/18#issuecomment-77229549
2015-03-04 13:54:34 -08:00
srlakhe
a93aa7d0ad Updated Readability.js 2015-02-15 10:37:42 +05:30
shreyas
8061bf0254 Bug 958735 Function purgeNode moved 2015-02-14 10:38:58 +05:30
Stefan Arentz (Mozilla)
7057e46c4f Fixes #3 Let Readability.parse() also return the uri 2015-02-09 13:39:10 -05:00
Stefan Arentz (Mozilla)
255595cc70 Fixes #1 Replace occurrences of let with var 2015-02-09 13:30:17 -05:00
Tarek Ziade
55587d91ac initial file 2015-02-04 08:09:41 +01:00