Pushed Google Books to repo

This commit is contained in:
Dan Stillman 2007-12-16 09:11:59 +00:00
parent b147bd4a6e
commit f6e6b4cdc0

View File

@ -22,7 +22,7 @@
-- Set the following timestamp to the most recent scraper update date
REPLACE INTO version VALUES ('repository', STRFTIME('%s', '2007-12-16 07:00:00'));
REPLACE INTO version VALUES ('repository', STRFTIME('%s', '2007-12-16 08:00:00'));
REPLACE INTO translators VALUES ('96b9f483-c44d-5784-cdad-ce21b984fe01', '1.0.0b4.r1', '', '2007-06-21 20:00:00', '1', '100', '4', 'Amazon.com', 'Sean Takats', '^https?://(?:www\.)?amazon',
'function detectWeb(doc, url) {
@ -9013,7 +9013,7 @@ function doWeb(doc, url) {
}
}');
REPLACE INTO translators VALUES ('3e684d82-73a3-9a34-095f-19b112d88bbf', '1.0.0b3.r1', '', '2007-12-16 07:00:00', '1', '100', '4', 'Google Books', 'Simon Kornblith', '^http://books\.google\.[a-z]+/books\?(.*id=.*|.*q=.*)',
REPLACE INTO translators VALUES ('3e684d82-73a3-9a34-095f-19b112d88bbf', '1.0.0b3.r1', '', '2007-12-16 08:00:00', '1', '100', '4', 'Google Books', 'Simon Kornblith', '^http://books\.google\.[a-z]+/books\?(.*id=.*|.*q=.*)',
'function detectWeb(doc, url) {
var re = new RegExp(''^http://books\\.google\\.[a-z]+/books\\?id=([^&]+)'', ''i'');
if(re.test(doc.location.href)) {
@ -17549,9 +17549,9 @@ function doExport() {
if(Zotero.getOption("UTF8")) {
Zotero.setCharacterSet("UTF-8");
}
else {
Zotero.setCharacterSet("us-ascii");
}
else {
Zotero.setCharacterSet("us-ascii");
}
//Zotero.write("% BibTeX export generated by Zotero "+Zotero.Utilities.getVersion());