[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] arch and bookmark maintenance
From: |
Andrew Suffield |
Subject: |
Re: [Gnu-arch-users] arch and bookmark maintenance |
Date: |
Thu, 18 Dec 2003 20:58:36 +0000 |
User-agent: |
Mutt/1.5.4i |
On Thu, Dec 18, 2003 at 08:49:49PM +0000, Angles Puglisi wrote:
> Andrew Suffield (address@hidden) wrote:
> [snip]
> > They're SGML files. And think about what the typical modifications are
> > to a bookmark file.
>
> a. (insert) adding a bookmark, usually somewhere in the file
> b. (delete) removing a bookmark from an arbitrary place in the file
> c. (move) rearranging bookmarks, which could be seen as both of the above
>
> I now think this could work. For Mozilla Firebird, the bookmark file as it
> appears in the users folder (as bookmarks.html) and the one generated when you
> "export" the bookmarks to an html file, are the same - some sort of html file
> that describes itself as:
> | <!DOCTYPE NETSCAPE-Bookmark-file-1>
>
> The basic format seems to deviate somewhat from XML as the <DT> element has
> no ending element that I can see, although the <DL> tags, which seem to define
> blocks of associated bookmarks, do have an associated </DL> tag.
That's because it's not XML. It's SGML, just like HTML is. I said that
once already. You even quoted a DOCTYPE directive, which means SGML.
> The basic form is as follows, (I added "| " to the beginning of each line so
> some html email readers would not get confused, I also changed some
> whitspacing but it is uniform in the source file).
> |
> | <DT>
> | <H3 ADD_DATE="1067563097" LAST_MODIFIED="1068966401" ID="rdf:#$vmH541">
> | FOLDER NAME
> | </H3>
> | <DL>
> | <p>
> | <DT>
> | <A HREF="http://some.url" ADD_DATE="1067563119"
> LAST_CHARSET="ISO-8859-1" ID="rdf:#$wmH541">
> | Bookmark name
> | </A>
> | <DT>
> | <A HREF="http://some.url" ADD_DATE="1067563356"
> LAST_CHARSET="ISO-8859-1" ID="rdf:#$xmH541">
> | Bookmark name
> | </A>
> | </DL>
It should be fairly obvious from this that diff/patch are not what you
want, by a long shot.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : http://www.debian.org/ |
`. `' |
`- -><- |
signature.asc
Description: Digital signature
Re: [Gnu-arch-users] arch and bookmark maintenance, , 2003/12/19