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

2008-06-11 Thread John Sullivan

Safari does not have a feature like this, sorry.

John

On Jun 7, 2008, at 12:45 AM, uru lama wrote:


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 [EMAIL PROTECTED] 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




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


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

2008-06-07 Thread uru lama
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 [EMAIL PROTECTED] 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


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


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

2008-06-06 Thread uru lama
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?

TNX, Uros.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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

2008-06-06 Thread John Sullivan
Those files are not Safari's history. They are an implementation  
detail of how Spotlight works with Safari's history. Safari's history  
is stored in ~/Library/Safari/History.plist.

John

On Jun 6, 2008, at 1:15 AM, 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?

 TNX, Uros.
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

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


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

2008-06-06 Thread Mark Rowe


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



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