Accessing Bookmarks...

"Larry" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.rdf
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
I'm trying to access a list of Firefox bookmarks via XPCOM from a Win32 
program . . .

I've written a Win32 program to try and get the Firefox bookmarks via the 
"rdf-service".  (I had to move over some .IDL's from the mozilla source tree 
and turn them into .H's).  I can get the rdf-service instantiated, but I 
can't create a data source for "rdf:bookmarks" (fails with an error 
0x80040154).  I can create a data source for "rdf:files", so I think I'm 
instantiating the rdf-service correctly.  And I can access the Firefox 
cookies from my program, so I'm pretty far along the XPCOM learning curve . 
. .

Questions:

1)  I assume that the reason I can't instantiate a data source for 
"rdf:bookmarks", is because there isn't code to support this functionality 
in the GRE.  Is there another "runtime" I should be using instead of the 
GRE?  Is possible to "install" the proper components into the GRE?

2)  Is this the best way to get at the bookmarks -- Any other ideas on how I 
can get at the bookmarks from outside of Firefox?

Larry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.