diff --git a/meta-and-documentation/README.txt b/meta-and-documentation/README.txt index a9b20a6..1cd2e0d 100644 --- a/meta-and-documentation/README.txt +++ b/meta-and-documentation/README.txt @@ -56,7 +56,7 @@ Structuring the schema Type "mysql -u root" to login to the mysql client Next type "USE yourschemaname" to switch to your newly made schema, you should see a message saying "Database changed" in your terminal window - Finally type "\.structure.sql" this will apply the needed structure to your schema + Finally type "\. structure.sql" this will apply the needed structure to your schema in order for it to hold the printwikipedia database Alternately, do it via a query in MySQLWorkbench diff --git a/meta-and-documentation/structure.sql b/meta-and-documentation/structure.sql index 4b469c0..49cadac 100644 --- a/meta-and-documentation/structure.sql +++ b/meta-and-documentation/structure.sql @@ -15,8 +15,8 @@ /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; ---MAKE SURE RIGHT HERE TO PUT YOUR DATABASE NAME LIKE SO: ---use MYDBNAME; +-- MAKE SURE RIGHT HERE TO PUT YOUR DATABASE NAME LIKE SO: +-- use MYDBNAME; -- -- Table structure for table `archive` diff --git a/src/info/bliki/wiki/filter/WikipediaParser.java b/src/info/bliki/wiki/filter/WikipediaParser.java index 2b64c4f..3866cd0 100755 --- a/src/info/bliki/wiki/filter/WikipediaParser.java +++ b/src/info/bliki/wiki/filter/WikipediaParser.java @@ -31,7 +31,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.commons.validator.EmailValidator; +import org.apache.commons.validator.routines.EmailValidator; /** * A Wikipedia syntax parser for the second pass in the parsing of a Wikipedia @@ -1582,4 +1582,4 @@ public boolean isTemplate() { return fRenderTemplate; } -} \ No newline at end of file +}