> I've found that NSAttributedString's initWithData:... method does a good job > of the conversion ... > One drawback to my approach is that I can't get the web page title using > NSAttributesString.
When you init the NSAttributedString, you can pass in a pointer to a document attributes dictionary. Upon return, inspect the dictionary for the NSTitleDocumentAttribute key. See: http://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSAttributedString_AppKitAdditions/Reference/Reference.html#//apple_ref/doc/constant_group/Document_Attributes ~Martin _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com