MozillaZine

Bookmarks from 0.4 to 0.5

Discussion of general topics about Mozilla Firefox
aebrahim
 
Posts: 1234
Joined: November 10th, 2002, 2:47 am
Location: Hong Kong

Post Posted November 24th, 2002, 11:48 pm

This might sound like a stupid question, but will I be able to use the same bookmarks file in 0.5 as 0.4? I know that I'll have to dump my current profile as part of the upgrade, but does this include the bookmark file as well?

Thanks.

flii

User avatar
 
Posts: 2208
Joined: November 6th, 2002, 11:29 pm
Location: hickville, south dakota

Post Posted November 24th, 2002, 11:57 pm

- go to <i>C:\WINDOWS\Application Data\Phoenix\Profiles\default\blah.slt</i> (blah = some random numbers) or your equivalent thereof (if you're using nt/200/xp)
- copy the bookmarks.html file to a safe place
- delete the phoenix folders from both your <i>application data</i> folder and your <i>program files</i> folder
- install phoenix
- open it once
- close it once it's opened
- then place the bookmarks.html file back in it's spot in the app data folder (overwriting the newly-installed version of the bookmarks).

presto!

aebrahim
 
Posts: 1234
Joined: November 10th, 2002, 2:47 am
Location: Hong Kong

Post Posted November 25th, 2002, 1:19 am

Flii wrote:- go to <i>C:\WINDOWS\Application Data\Phoenix\Profiles\default\blah.slt</i> (blah = some random numbers) or your equivalent thereof (if you're using nt/200/xp)
- copy the bookmarks.html file to a safe place
- delete the phoenix folders from both your <i>application data</i> folder and your <i>program files</i> folder
- install phoenix
- open it once
- close it once it's opened
- then place the bookmarks.html file back in it's spot in the app data folder (overwriting the newly-installed version of the bookmarks).

presto!


Thanks, I realise what the procedure is. My question is really if its safe to do this between major revisions of the software (say 0.4 to 0.5). Has the bookmark.html format changed since 0.4?

laszlo

User avatar
 
Posts: 5198
Joined: November 4th, 2002, 6:13 pm
Location: .de

Post Posted November 25th, 2002, 4:31 am

It's not very likely that the bookmarks format will change any time soon to one that is totally incompatible (it's just HTML after all). If you want to be on the safe side, additionally use the export function of the Bookmarks Manager in 0.4 to make a backup and re-import this into 0.5 if the aforementioned method causes any problems. You will probably have to rearrange them after this procedure, but it should be safe in any case.

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted November 25th, 2002, 12:03 pm

aebrahim wrote:
Flii wrote:- go to <i>C:\WINDOWS\Application Data\Phoenix\Profiles\default\blah.slt</i> (blah = some random numbers) or your equivalent thereof (if you're using nt/200/xp)
- copy the bookmarks.html file to a safe place
- delete the phoenix folders from both your <i>application data</i> folder and your <i>program files</i> folder
- install phoenix
- open it once
- close it once it's opened
- then place the bookmarks.html file back in it's spot in the app data folder (overwriting the newly-installed version of the bookmarks).

presto!


Thanks, I realise what the procedure is. My question is really if its safe to do this between major revisions of the software (say 0.4 to 0.5). Has the bookmark.html format changed since 0.4?


The format for booksmarks.html has been stable for a long time. The main problem is when a bug is introduced, like there was with favicons. In which case carrying your bookmarks forward will carry the bug forward. That was the only problem with bookmarks that I've come across, and someone gave instructions on how to manually scrub it with notepad.

I carry my userChrome, userContents, user.js and bookmarks forward. Actually, my user.js points to my bookmarks file in a different location so that I don't have to back it up.

brab
 
Posts: 41
Joined: November 9th, 2002, 5:57 am

Post Posted November 26th, 2002, 7:39 am

alanjstr wrote:The format for booksmarks.html has been stable for a long time. The main problem is when a bug is introduced, like there was with favicons. In which case carrying your bookmarks forward will carry the bug forward. That was the only problem with bookmarks that I've come across, and someone gave instructions on how to manually scrub it with notepad.

I carry my userChrome, userContents, user.js and bookmarks forward. Actually, my user.js points to my bookmarks file in a different location so that I don't have to back it up.


Could you point to the message explaining how to clean this bug ? I've been carrying bookmarks around for a long time, and even though I don't remember anything weird with favicons, I'd like to check this.

Thanks

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted November 26th, 2002, 8:35 am

brab wrote:
alanjstr wrote:The format for booksmarks.html has been stable for a long time. The main problem is when a bug is introduced, like there was with favicons. In which case carrying your bookmarks forward will carry the bug forward. That was the only problem with bookmarks that I've come across, and someone gave instructions on how to manually scrub it with notepad.

I carry my userChrome, userContents, user.js and bookmarks forward. Actually, my user.js points to my bookmarks file in a different location so that I don't have to back it up.


Could you point to the message explaining how to clean this bug ? I've been carrying bookmarks around for a long time, and even though I don't remember anything weird with favicons, I'd like to check this.

Thanks


I couldn't find the thread, but I know it was a response from Asa to a question I had asked. Maybe the Search doesn't go back far enough. If I remember correctly, the gist was:

Close your browser. Manually edit your bookmarks file to remove the favion= pieces. Save and close.

brab
 
Posts: 41
Joined: November 9th, 2002, 5:57 am

Post Posted November 26th, 2002, 5:23 pm

alanjstr wrote:I couldn't find the thread, but I know it was a response from Asa to a question I had asked. Maybe the Search doesn't go back far enough. If I remember correctly, the gist was:

Close your browser. Manually edit your bookmarks file to remove the favion= pieces. Save and close.


Well, since I just got a bunch of ICON=..., I guess it must have been cleaned up at some point.

Thanks for the tip.

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted November 26th, 2002, 5:41 pm

brab wrote:
alanjstr wrote:I couldn't find the thread, but I know it was a response from Asa to a question I had asked. Maybe the Search doesn't go back far enough. If I remember correctly, the gist was:

Close your browser. Manually edit your bookmarks file to remove the favion= pieces. Save and close.


Well, since I just got a bunch of ICON=..., I guess it must have been cleaned up at some point.

Thanks for the tip.


Maybe it was icon=. I dunno. I cleaned it up and blocked favicons via user.js.

Asa?

djk

User avatar
 
Posts: 219
Joined: November 5th, 2002, 6:06 am
Location: SC, USA

Post Posted November 27th, 2002, 6:11 am

I whipped up a perl script to purge the ICON links from the bookmarks.html file:

<code>#!/usr/bin/perl -w

local $^I = ".orig";
local @ARGV = ("bookmarks.html");
while (<>)
{
s/ ICON="http:\/\/\S*"//g;
print;
}</code>

Just run it in the directory you have the bookmarks.html file in. It worked for me (w32 cygwin)

brab
 
Posts: 41
Joined: November 9th, 2002, 5:57 am

Post Posted November 27th, 2002, 8:06 am

djk wrote:I whipped up a perl script to purge the ICON links from the bookmarks.html file:
...


It worked, but the favicons are coming back later. Why do I want to block them anyway ? (in other words, what is the bug with favicons ?)

Thanks for the help.

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted November 27th, 2002, 8:26 am

brab wrote:
djk wrote:I whipped up a perl script to purge the ICON links from the bookmarks.html file:
...


It worked, but the favicons are coming back later. Why do I want to block them anyway ? (in other words, what is the bug with favicons ?)

Thanks for the help.


I think the bug was with how it was storing them in the bookmarks file. Favicons themselves are not a problem, I just don't find them useful.

djk

User avatar
 
Posts: 219
Joined: November 5th, 2002, 6:06 am
Location: SC, USA

Post Posted November 27th, 2002, 10:50 am

brab wrote:
djk wrote:I whipped up a perl script to purge the ICON links from the bookmarks.html file:
...


It worked, but the favicons are coming back later. Why do I want to block them anyway ? (in other words, what is the bug with favicons ?)

Thanks for the help.


I was just referring to a fix to the existing bad favicons, which were placed there by a bug which has now been fixed.

Turning off favicons is in one or more prefs, but I can't remember what they are.

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted November 27th, 2002, 10:56 am

djk wrote:Turning off favicons is in one or more prefs, but I can't remember what they are.


user_pref("browser.chrome.favicons", false);
user_pref("browser.chrome.site_icons", false);

Return to Firefox General


Who is online

Users browsing this forum: No registered users and 3 guests