Terminator wrote:
Can anybody point me to some documentation of the bookmarks.html file? I
Don't know of such documentation, but...
realize it's just plaintext HTML, but there are a few fields in the fileI believe these two represent the time from epoch (off the top of my head, I think that's the time in seconds starting from Jan 1, 1970) - it's a base time measurement system used by POSIX.
which I don't understand how to generate:
1) the ADD_DATE and LAST_VISIT field in the <A> and <H3> tags
Your system should have functions like time2posix(3) and posix2time(3) for proper conversions. The man page on my system says "[a time value] of 536457599 shall correspond to Wed Dec 31 23:59:59 GMT 1986"
2) the ID field in the H3 tags
I don't know about these. It seems to be unique serial
number applied to bookmark folders. Not sure how they're
generated though.
I just want to be able to write an Opera -> Mozilla
bookmark converter for
Unix/Linux (probably a Perl script, once I learn bit
of Perl), since I
Perl is fairly easy to learn, especially if you have some
programming background.
I'm thinking/hoping this shouldn't be too hard to
do... :)
Nah, I don't think so either :-) -- perlhack
