Re: Finding and reading firefox bookmarks with PHP
| From: | David McGlone | Date: | Mon, 28 Nov 2011 00:28:06 +0000 |
| Subject: | Re: Finding and reading firefox bookmarks with PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315846@lists.php.net to get a copy of this message | ||
On Mon, 2011-11-28 at 01:15 +0100, Camilo Sperberg wrote:
> You can export the bookmarks as a json or html and then read it easily with php but i suspect
> you want to read the firefox files directly, in which case you can read the sqlite file called
> places.sqlite
>
> More info here:
> http://support.mozilla.com/en-US/kb/Profiles
>
> Sent from my iPhone 5 Beta [Confidential use only]
>
> On 28 nov. 2011, at 00:47, David McGlone <david@dmcentral.net> wrote:
>
> > Hi all, I am wondering if it's possible to find the bookmarks file in
> > firefox and output the contents on a page with PHP.. I'm wanting to do
> > this so I can use it as my home page.
I realized I wasn't very clear with the post after I sent it. I
apologize. But you are correct, I was wondering if there was an easy way
to just use readfile to read the bookmarks file, but I looks like I'll
be having to get the info from the sqllite db instead. (At least that's
what I'm thinking at the moment now that I know what file the bookmarks
are stored in)
--
Thanks,
David M.