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

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: 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..92c81734694317691060cc2306dd9477a0c667bf 100644
--- a/src/com/dom_distiller/client/MarkupParser.java
+++ b/src/com/dom_distiller/client/MarkupParser.java
@@ -144,6 +144,8 @@ public class MarkupParser implements Exportable {
if (ogp != null) mParsers.add(ogp);
Parser ie = new IEReadingViewParser(root);
if (ie != null) mParsers.add(ie);
+ Parser schema = new SchemaOrgParser(root);
+ if (schema != null) mParsers.add(schema);
cjhopman 2014/04/17 17:35:26 new Foo() never returns null.
kuan 2014/04/18 00:19:03 Done. repeated for ie.
}
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