Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added stub for PHPBB3 extraction code using direct access to mySQL
orbiterc72a5cf32644
diff --git a/.classpath b/.classpathindex 0ac94d62e..3c777feb9 100644--- a/.classpath+++ b/.classpath@@ -45,5 +45,6 @@<classpathentry exported="true" kind="lib" path="lib/sbbi-upnplib-1.0.4.jar"/><classpathentry kind="lib" path="lib/xerces.jar"/><classpathentry kind="lib" path="lib/bzip2.jar"/>+ <classpathentry kind="lib" path="libx/mysql-connector-java-5.1.7-bin.jar"/><classpathentry kind="output" path="gen"/></classpath>diff --git a/libx/mysql-connector-java-5.1.7-bin.jar b/libx/mysql-connector-java-5.1.7-bin.jarnew file mode 100644index 000000000..ebfe06861Binary files /dev/null and b/libx/mysql-connector-java-5.1.7-bin.jar differdiff --git a/source/de/anomic/content/DCEntry.java b/source/de/anomic/content/DCEntry.javaindex 09df00279..fed53f933 100644--- a/source/de/anomic/content/DCEntry.java+++ b/source/de/anomic/content/DCEntry.java@@ -43,6 +43,19 @@ public class DCEntry extends HashMap<String, String> {super();}+ public DCEntry(+ yacyURL url,+ String title,+ String author,+ String body+ ) {+ super();+ this.put("url", url.toNormalform(true, false));+ this.put("title", title);+ this.put("author", author);+ this.put("body", body);+ }+/*DC according to rfc 5013@@ -101,6 +114,14 @@ public class DCEntry extends HashMap<String, String> {return t;}+ public String author() {+ String t = this.get("author");+ if (t == null) t = this.get("dc:Creator");+ t = stripCDATA(t);+ if (t == null) return "";+ return t;+ }+public String body() {String t = this.get("body");if (t == null) t = this.get("dc:Description");