Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: third_party/readability/js/readability.js

Issue 167963003: Support for distilling prior pages in an article. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/dom_distiller/core/page_distiller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/readability/js/readability.js
diff --git a/third_party/readability/js/readability.js b/third_party/readability/js/readability.js
index 9cdbb301392de0644724e0de7ba46d4d2cfd21d8..130ea29b04c2a95fdf2a9fe4781cbe4e3b2333a6 100644
--- a/third_party/readability/js/readability.js
+++ b/third_party/readability/js/readability.js
@@ -1744,10 +1744,12 @@ var readability = {
// corresponds to a URL listed at index k in the array returned.
(function () {
readability.init();
- var result = new Array(3);
+ var result = new Array(4);
result[0] = readability.getArticleTitle();
result[1] = readability.getDistilledArticleHTML();
result[2] = readability.getNextPageLink();
+ // TODO(shashishekhar): Add actual previous page link here.
+ result[3] = '';
return result.concat(readability.getImages());
}())
« no previous file with comments | « components/dom_distiller/core/page_distiller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698