Hi all, I just started using BibDesk (as I have just become a humanities student and have to figure out all this Harvard referencing mumbo jumbo!).
It was frustrating me that the google scholar web importing didn't add the url since I can often use one of the nifty applescripts to automatically fetch the pdf from jstor etc. I'm not sure if goog have cleaned up their syntax since the parser was first written, but it was fairly straightforward. Each result is in a <p class="g"> and each such result has (potentially) one BibTex link and also (potentially) a target url. The target url isn't always there for eg. [Book] or [Citation] search results. So my change is that first the results are extracted, then each result is parsed for the two components. This adds some overhead, but on my G4 12" powerbook it doesn't seem too much different so I'm sure most people will notice it even less. I have attached a preliminary patch to this email that works for me. I need to tweak the error handling and would appreciate any feedback. Also - should I be asking for svn commit rights or does someone want to commit it for me (once the error handling is done properly of course). Mark. PS: thanks for the excellent program - it's going to save me a lot of time! PPS: Sorry if the list eventually gets this twice - I used the wrong email first time. -- Mark Aufflick contact info at http://mark.aufflick.com/about/contact
BDSKGoogleScholarParser.diff
Description: Binary data
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Bibdesk-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-develop
