On Jul 15, 2009, at 11:14 PM, Maxwell, Adam R wrote:

> I grabbed BibDesk's Sparkle changes for TeX Live Utility, so thanks  
> for
> making the threading and other fixes available!
>
> I only have two changes of any consequence in my code, both of which I
> encountered with the TLU appcast.  The first is my fault, I think,  
> from the
> NSXMLDocument conversion we did for Skim.
>
> 1) In -[SUAppcast downloadDidFinish:], so <li> tags in the appcast  
> show up
> as bullets in the release notes webview:
>
>                else if ([name isEqualToString:@"description"])
>                {
>                    // may need XML representation for display in  
> release
> notes
>                    [dict setObject:[node XMLString] forKey:name];
>                }
>

No, the proper way is to include HTML in the description using CDATA.

Christiaan

> 2) In -[SUAppcastItem initWithDictionary:], to fix double-escaping  
> problems
> I had with URLs:
>
>            NSString *URLString = [enclosure objectForKey:@"url"];
>            // if the string already has percent escapes, convert  
> them to
> e.g. avoid changing %20 to %2520
>            URLString = [URLString
> stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
>            URLString = [URLString
> stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
>            [self setFileURL:[NSURL URLWithString:URLString]];
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited  
> time,
> vendors submitting new applications to BlackBerry App World(TM) will  
> have
> the opportunity to enter the BlackBerry Developer Challenge. See  
> full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Bibdesk-develop mailing list
> Bibdesk-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to