[webkit-dev] WebHistory problems (how to load Safari history objects)

uru lama urulama at gmail.com
Sat Jun 7 00:45:30 PDT 2008


Thank you, for the info :D
So, I guess my next question is: is it possible to tell Safari to store
every page, not just URL but also the content, the user visits to a file (I
hoped that this would be an WebHistoryItem object)?

UruLama

On Fri, Jun 6, 2008 at 11:25 PM, Mark Rowe <mrowe at apple.com> wrote:

>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080607/b7951fb8/attachment.htm 


More information about the webkit-dev mailing list