[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


Re: [webkit-dev] Qt DOM tree

2008-06-06 Thread Julien Chaffraix
Hi Habiba,

 I posted in this mailling list because it seemed to me necessary seen that I
 work with WebKit, because the important for me it is to have ideas of the
 others.

Just to clear that a bit as it can be quite confusing. What you are
really using is WebKit embedded in the Qt framework (aka the QtWebKit
module). It means that what you are using is what is explicitly
exported in Qt.
What you manipulate is quite different from what we deal with when
manipulating directly WebKit. Think that Qt objects have methods that
do not exist in WebKit and WebKit has methods that are not exported to
the Qt framework.

My tone was maybe a bit harsh but asking your questions at the right
place is the best way to have them answered (and receive insightful
answers). On webkit-dev, not everyone uses Qt (I would say that they
are even a minority).

If you have questions regarding about WebKit in itself, then this
mailing is the right place.

Regards,

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