fbennett
About
- Username
- fbennett
- Joined
- Roles
- Member
Comments
-
It's being denied permission to access the DOM in a scraper function invoked by processDocuments. This may be something controlled at the site end. If I understand correctly, the way around it is to use doGet instead of processDocuments; it grabs …
-
@clanger9: This sounded interesting, so I stepped over to the BL Direct site. I was greeted by a login screen with an opportunity to register. I clicked on the registration button, and was confronted by a very clear licensing agreement that I was…
-
A truly smooth implementation is a ways off in the future, but a lot of users need to have their cites format correctly in both bibliography and footnote styles. It should be possible to produce something like ... Climate change is irreversible.1 …
-
I'm going to start taking a look at the Lexis service, starting with US and Canadian Law Reviews Combined. I have some old parsing code in Python lying around that was able to reliably extract the essential metadata from those records. It shouldn'…
-
The style used in my community puts everything in footnotes, so I haven't used this type of style in Zotero yet, but in my word processor there is a button next to the zotero citation icon that says "insert bibliography" when I roll the mouse cursor…
-
Many thanks -- it must be getting on toward 1 AM where you are. I feel a tad guilty (but also very grateful). PS: Tried it out, and the patch does its job. Great stuff.
-
One additional thing on this. The JS error console shows this: Error: uncaught exception: cannot translate: no translator specified I guess something gets set when FF navigates down to the page that is being lost when the top frame remains unaltere…
-
I've prepared a translator for our library catalogue, and I think it's being bitten by this issue. The scraper works fine for a single entry, but when I back up to the list of search hits and enter a new item, javascript is still running (rotating …
-
I'm with adam.smith, it's actually a good thing that the citation formatting and document structure are closely linked. That said, it would be handy in the plugin clients to be able to highlight areas before and after a citation reference in the ma…
-
D'oh. I see the selection list above the test area has items for each frame, "menu", and "main". So ... if this is what detectWeb sees when it's running, how do I tell an installed scraper which of these two frames to use? Ah, I think I get it. …
-
The target site (http://opac.nul.nagoya-u.ac.jp/) uses frames. In single-reference pages, the source of the page reported in the browser address bar looks like this:
-
Aha. This was the magic: everything = Zotero.Utilities.cleanString(doc.evaluate('//div/b', doc, null, XPathResult.ANY_TYPE, null).iterateNext().textContent); Helps to read the documentation sometimes. Next problem: frames.
-
Offhand, it seems like a soft link leading from a standard path name on each machine to wherever the date is located would be an interim workaround. On Linux it's easy: ln -s /the/real/path/to/my/usb/stick /my/zotero/path/stub I don't know Windo…
-
Here is a patch against a recent snapshot of the 1.0 branch that does that. It's not a totally simple change; in single-entry mode the prefix and other user-supplied details are stored in the form, but have to be copied to an array for multiple-ent…
-
Thanks for this, Dan. I patched the changes into the trunk and did a little clicking around to see that things work there as well. Patch is now loaded to the ticket. Thanks for the reminder about the schema; it was on my mind, but the list was in…
-
Bumping this item again. I've put up another version of the Bluebook kit, with a modified 1.0 branch Zotero, database, and style file. The feature extensions to Zotero (12 in all) are interrelated, and I haven't tried to separate them out into ind…
-
Oops ... and yikes, that's a very nice utility.
-
Download the file vancouver.csl from the Zotero website. Change the name of the file to something else. Open the renamed file with a text editor. Line 5 reads like this: Vancouver Change the title to maybe something like this: Vancouver with…
-
I have made the necessary adjustments in addCitationDialog.js to support multiple references to the same source, maintaining separate locator information for each. The patch extends the keys in _itemData with the list position in the right-hand box…
-
Hi, alex. Have you tried the DB recovery web service? Haven't used it myself (yet), but it seems to be the first port of call in the event of problems with the Zotero database.
-
Okay, so I'm stubborn. I've hacked in a slight extension that recognizes a slash-and-comma list of volume/year/edition sets in the numberOfVolumes field. Too rough for production, but it might stimulate some ideas for smoothing out the UI. This c…
-
While the patches now do exactly what I intended, with a bit more reflection I now fear that I may have gotten ahead of myself with this. Here is another example: (1) 3 William Holdsworth, A History of English Law 255 (3d ed. 1927). (2) 1 id. at 5…
-
It was more work than I initially anticipated, but this one is ready to go, in both 1.0 and 1.5 versions. The patch is too big to put up as a forum posting, but I can send it along when there's a ticket. Meanwhile, here's the description blurb fro…
-
On 1.0 at the moment. I have both snapshots in my sandbox, and can check to see if it works against trunk as well. The last item I need to sort out this morning is multiple entries; that part turned out to be a wee bit broken. More news shortly (…
-
Just a short note to bump this item. I have put up a fresh tarball containing hacked database images and Firefox installers, one each based on the Zotero 1.0 branch and on the development trunk. This is only for testing, certainly not production, …
-
I've been looking at this problem for a style I'm designing (Bluebook), and I've concluded that adding a separate item type is probably not needed to cope with this category of material. A style can adapt the form of a citation depending on the fie…
-
Great stuff. Thanks!
-
The icon appears when the browser is pointed at a page containing one or more references that Zotero recognizes and is able to download automatically. The icon should appear when you click on this link (for example). [Update: Sorry for being of no…
-
Magic. That did the trick, thanks Dan.
-
I have encountered this same problem. It does not seem to affect all entries, but here is the report on a similarly failed attempt to change an item from type "Book" to type "Dictionary entry": 331913171 The behaviour is the same as described by d…
Upgrade Storage