Closed
Bug 66116
Opened 24 years ago
Closed 17 years ago
bookmarks.html should be correct HTML
Categories
(SeaMonkey :: Bookmarks & History, defect, P5)
SeaMonkey
Bookmarks & History
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: bugzilla, Unassigned)
References
Details
(Keywords: compat, Whiteboard: [DONTFIX])
Attachments
(4 files)
6.94 KB,
patch
|
Details | Diff | Splinter Review | |
20.08 KB,
patch
|
Details | Diff | Splinter Review | |
24.61 KB,
patch
|
Details | Diff | Splinter Review | |
24.61 KB,
patch
|
Details | Diff | Splinter Review |
according to the xhtml reference, all tags should be lowercase.
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
In order for it to validate as xhtml you also need to append a trailing slash
("/") on tags without endtag. Like, for example, the <hr> tag.
Comment 3•24 years ago
|
||
Many 3rd party programs parse bookmarks.html, and expect it to be a certain way. Changing
its format after all this time is a bad idea.
Comment 4•24 years ago
|
||
Good point. Anyone else nominating this for a WONTFIX?
If Mozilla is all about standards compliance we should follow through even with
the bookmarks file. Besides, the changes aren't major. We aren't exactly
declaring a new format.
I'll attach a patch that fixes both the lowercase issue and made sure all tags
are properly terminated.
I'm an idiot. Forgot to fix the k* variables. The next patch incorporates
everything from Henrik's original patch.
Ok, the next patch is the last one. I promise. Fixed malformed kSeparator.
Comment 10•24 years ago
|
||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 11•23 years ago
|
||
Paul Chen is now taking Bookmarks bugs. For your convenience, you can filter
email notifications caused by this by searching for 'ilikegoats'.
Assignee: ben → pchen
Status: ASSIGNED → NEW
Comment 12•23 years ago
|
||
Mass move Ben's bugs dumped on me marked future with p5 to get off my untriaged
radar. You can filter out this email by looking for "ironstomachaussie"
Priority: -- → P5
Comment 13•23 years ago
|
||
Is there something special about the <!DOCTYPE NETSCAPE-Bookmark-file-1>
doctype? Shouldn't we be using a XHTML doctype? like XHTML 1.0 transitional.
Comment 14•23 years ago
|
||
Yes. The bookmarks type is not specific to mozilla.org's mozilla product and has
been used by netscape navigator for ages see
------- Additional Comments From Wade Majors 2001-01-21 13:23 -------
Many 3rd party programs parse bookmarks.html, and expect it to be a certain way.
Changing its format after all this time is a bad idea.
-------
IMO the bug as filed is WONTFIX, here's why: the bookmarks file is not XHTML,
it's the netscape bookmarks file format, which many applications recognize.
Changing it to conform to some random standard which is not the bookmarks file
standard is crazy. If I had a program that generated files that looked like
pcx's and someone standards SVG or PNG would you guys randomly insist on
changing the output of my program so that it match the format and header of SVG
or PNG?
Comment 15•23 years ago
|
||
I agree with WONTFIX. It would be better to spend energy migrating to one of the
proposed cross-application bookmarks standards. (Preferably something that
allows for aliases for both bookmarks and folders.)
Comment 16•23 years ago
|
||
Among such alternatives is the frequently filed XBEL.
Keywords: compat
Whiteboard: [DONTFIX]
Comment 17•23 years ago
|
||
Sorry, but I'm not convinced, can you come up with some sample applications
which parse the Netscape bookmarks file?
Comment 18•23 years ago
|
||
I see over 50 windows apps here:
http://tucows.tampabay.rr.com/bookmark95.html
And 2 bookmarks.html converter apps are in the FreeBSD ports collection:
http://www.freebsd.org/cgi/ports.cgi?query=bookmarks
I don't have time to apply the patch and try any of these apps, but I'm
willing to bet more than half of them would act erroneously.
Please; Mozilla/Netscape6 is already getting a bad enough reputation from
stuck up website developers who want to block us, and tell their vistors how
horrible we are, and to use MSIE or NS4. Adding the developers of these apps
(which are fairly popular) and their userbase to the mixisn't going to make
the Mozilla evangelism project go over any easier.
Comment 19•23 years ago
|
||
19 @ freshmeat (freshmeat is usually linux apps, but text apps can usually be
coerced to run or try to run nearly anywhere)
http://freshmeat.net/search/?site=Freshmeat&q=netscape+bookmarks§ion=projects
I'd say Wade's estimate is probably conservative.
Comment 21•23 years ago
|
||
I agree 100% ths should be WONTFIX. Yes, many apps rely on the current format,
including competing browsers, such as IE, to import and share bookmarks (not
that I advocate changing to IE). 3rd party management apps depend on it. Just
because this isn't valid HTML doesn't mean it SHOULD be.
When advocating stardards compliance, we strive for web standards, not any
standard for anythign that comes along. Additionally, since this is a file
internal to Mozilla, and not a general web document, there is no standard to
which we should adhere. There is no standard for bookmarks. There is no real
reason to change this after all these years, other than "just because". And that
reason isn't good enough.
Comment 22•23 years ago
|
||
*** Bug 132249 has been marked as a duplicate of this bug. ***
Comment 23•22 years ago
|
||
Does claiming that bookmarks.html is purely internal (and therefore need not
adhere to any standard), and at the same time claiming "many apps rely on the
current format" strike anyone else as odd?
What about future apps that want to leverage existing standards-based libraries,
rather than trying to parse/write the current garbage format?
Comment 24•22 years ago
|
||
Where did we claim it was an internal format?
the claim is that mozilla can't change the format of
<!DOCTYPE NETSCAPE-Bookmark-file-1>
because it isn't mozilla's to change and there is a large base of programs built
based on its format.
There might not be anything wrong with changing the default format from the
frozen but popular NETSCAPE-Bookmark-file-1 to something else, e.g. XBEL.
But we can't go around changing the NETSCAPE-Bookmark-file-1 format.
Please spend some time reading about the history of the mbox file format.
actually, i don't trust you to spend the time searching for it. here's a link:
http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/content-length.html
Comment 25•22 years ago
|
||
Comment #21: "Additionally, since this is a file internal to Mozilla, and not a
general web document, there is no standard to which we should adhere."
I agree: using XBEL, RDF, or XHTML are all a much better solution, from the
perspecitive of reading/exporting/changing bookmarks from outside Mozilla.
I don't think I suggested altering the format, I just feel it should be dropped.
I'm not sure what the mbox reference was meant to convey...?
Comment 26•21 years ago
|
||
Mass reassign of my non-Firefox bugs to ben_seamonkey@hotmail.com
Assignee: bugs → ben_seamonkey
Comment 27•21 years ago
|
||
Mass reassign of my non-Firefox bugs to ben_seamonkey@hotmail.com
Comment 28•21 years ago
|
||
Mass reassign of my non-Firefox bugs to ben_seamonkey@hotmail.com
Comment 29•21 years ago
|
||
*** Bug 237550 has been marked as a duplicate of this bug. ***
Comment 30•20 years ago
|
||
In terms of breaking compatability with bookmark apps. Converting it to XML
shouldn't be a big deal, as it's only a matter of changing the tag case, and
adding "/" to single elements (and getting rid of those <p> tags would also be
nice).
Infact converting to XML means that some people won't need to use a special
bookmark app in the first place, as they could simply apply an XSLT file and run
it through an XSLT processor (not talking about the average user here of course,
unless an app does it for them).
I think it should atleast be an option as it shouldn't be that hard to impliment.
Updated•20 years ago
|
Assignee: ben_seamonkey → p_ch
QA Contact: claudius → seamonkey.bookmarks
Updated•20 years ago
|
Product: Browser → Seamonkey
![]() |
||
Comment 32•17 years ago
|
||
Firefox Trunk is using places (sqlite) these days and the plan is for the Suite to migrate to the places backend real soon now.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•