On 06/05/09 15:30, "Michael McCracken" <[email protected]> wrote:

> Hi, so I eventually added an IEEE Xplore parser and it seems to be
> working pretty well.
> 
> There are two problems that I wasn't sure how to deal with though -
> 
> 1. IEEEXplore can return bibtex with &amp;-encoded XML entities, like
>  (tm). I didn't find a convenient way to map those back into
> characters. Apparently there's a CFString method that gets you
> partway, but you have to give it a mapping dict.
> Any suggestions?

CFXMLCreateStringByUnescapingEntities says "The standard five predefined
entities are automatically supported." and notes that the mapping dict does
nothing currently, so that won't help you much.  Doesn't NSXMLDocument clean
that stuff up?  Or maybe NSAttributedString initWithHTML?  OmniFoundation
has a bunch of XML/HTML stuff also...

> 2. For table of contents pages, it will do two synchronous HTTP GETs
> per item - and they can have up to 25 items per page.
> This is super slow and beachballs.
> If there's a nice way to make it async I'd be happy doing that but I
> haven't looked into it yet.

The shared groups have code for appending additional pubs in batches, so you
might be able to do something similar.  I suspect you'd have to keep track
of current async loads and kill them when changing pages.



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to