On Jul 16, 2009, at 5:33 AM, Adam R. Maxwell wrote:

>
> On Jul 15, 2009, at 5:25 PM, Christiaan Hofman wrote:
>
>>> 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.
>
> Interesting; thanks for pointing that out.  I was reading the code  
> instead of the documentation page, and noticed that loadHTMLString:  
> for the webview would be much more effective if tags were left in  
> place (and I thought the old code did this, but can't find it  
> anymore).  What's the motivation for using CDATA instead?
>

I thought it's the standard way to do this in RSS xml. I think the  
point is that the HTML DTD is not included in the RSS DTD, so  
including HTML directly could lead to invalid XML. And CDATA can  
contain anything.

Christiaan


------------------------------------------------------------------------------
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