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

Unified Diff: src/com/dom_distiller/client/MarkupParser.java

Issue 240073007: recognize and parse Schema.org Markup (Closed) Base URL: https://code.google.com/p/dom-distiller/@master
Patch Set: addressed all comments Created 6 years, 8 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
Index: src/com/dom_distiller/client/MarkupParser.java
diff --git a/src/com/dom_distiller/client/MarkupParser.java b/src/com/dom_distiller/client/MarkupParser.java
index c591936eb790deaaf0a425118ab3056e6d73dd69..af574a189029c7ce2c7ec5138ef7a7e793037350 100644
--- a/src/com/dom_distiller/client/MarkupParser.java
+++ b/src/com/dom_distiller/client/MarkupParser.java
@@ -142,8 +142,8 @@ public class MarkupParser implements Exportable {
Parser ogp = OpenGraphProtocolParser.parse(root);
if (ogp != null) mParsers.add(ogp);
- Parser ie = new IEReadingViewParser(root);
- if (ie != null) mParsers.add(ie);
+ mParsers.add(new IEReadingViewParser(root));
+ mParsers.add(new SchemaOrgParser(root));
}
public String getTitle() {
« no previous file with comments | « no previous file | src/com/dom_distiller/client/SchemaOrgParser.java » ('j') | src/com/dom_distiller/client/SchemaOrgParser.java » ('J')

Powered by Google App Engine
This is Rietveld 408576698