On 06/06/2008, at 01:15, uru lama wrote:

Hi, all.

I would like to load webhistory objects stored in the Safari history directory (~/Library/Caches/Metadata/Safari/History). However, loading from file using the NSURL and WebHistory loadFromURL method does not work since WebHistory object is always empty and the method returns a NO value.

BOOL res = [whist loadFromURL:nsurl error:&histerror];

Can anyone help me how to load these webhistory objects?

The files in ~/Library/Caches/Metadata/Safari/History are not WebHistory objects, though I can see why the file extension may have led you to believe they were. These files are extra metadata that Safari keeps around for sake of Spotlight, and are not something that you should work with directly.

- Mark

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to