Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Format of HTML bookmarks file

  • 2 odpovede
  • 2 majú tento problém
  • 746 zobrazení
  • Posledná odpoveď od BernieC

more options

I want to set up a bunch of bookmarks in FF [84.0.1] and I cannot find out what the acceptable bookmark format is. [the bookmarks will come from someone else so I'd like to write a program to generate the appropriate import file]. I've tried edit an exported HTML file and then importing that [modified] file and it doesn't seem to work at all, so I'm clearly not understanding what has to be in the file so it'll work.

My plan/hope was to be able create a file with

<DL><P>
   <DT> FOLDERNAME 
   <DL> <P>
        <DT> <A HREF=URL> name for the bookmark</a>
       <DT> <A HREF=URL> name for trhe bookmakr</a>
               ...
    </DL>
</DL>

Is that even vaguely close to something that'll work?

I want to set up a bunch of bookmarks in FF [84.0.1] and I cannot find out what the acceptable bookmark format is. [the bookmarks will come from someone else so I'd like to write a program to generate the appropriate import file]. I've tried edit an exported HTML file and then importing that [modified] file and it doesn't seem to work at all, so I'm clearly not understanding what has to be in the file so it'll work. My plan/hope was to be able create a file with <pre><nowiki><DL><P> <DT> FOLDERNAME <DL> <P> <DT> <A HREF=URL> name for the bookmark</a> <DT> <A HREF=URL> name for trhe bookmakr</a> ... </DL> </DL></nowiki></pre><br> Is that even vaguely close to something that'll work?

Upravil(a) cor-el dňa

Vybrané riešenie

Hi, I'm not aware of an official document, although there might be one out there.

When you strip it down, Firefox will import this structure successfully:

<DL>
    <DT><H3>Folder Name 1</H3></DT>
    <DL>
        <DT><A HREF="https://support.mozilla.org/en-US/products/firefox">Help and Tutorials</A></DT>
        <DT><A HREF="https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars">Customize Firefox</A></DT>
    </DL>

    <DT><H3>Folder Name B</H3></DT>
    <DL>
        <DT><A HREF="https://www.mozilla.org/en-US/contribute/">Get Involved</A></DT>
        <DT><A HREF="https://www.mozilla.org/en-US/about/">About Us</A></DT>
    </DL>
</DL>

(You don't need to close the <DT> tags, but I recommend it so that if you view the HTML in a syntax highlighting editor, it will be well understood.)

Čítať túto odpoveď v kontexte 👍 1

Všetky odpovede (2)

more options

Vybrané riešenie

Hi, I'm not aware of an official document, although there might be one out there.

When you strip it down, Firefox will import this structure successfully:

<DL>
    <DT><H3>Folder Name 1</H3></DT>
    <DL>
        <DT><A HREF="https://support.mozilla.org/en-US/products/firefox">Help and Tutorials</A></DT>
        <DT><A HREF="https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars">Customize Firefox</A></DT>
    </DL>

    <DT><H3>Folder Name B</H3></DT>
    <DL>
        <DT><A HREF="https://www.mozilla.org/en-US/contribute/">Get Involved</A></DT>
        <DT><A HREF="https://www.mozilla.org/en-US/about/">About Us</A></DT>
    </DL>
</DL>

(You don't need to close the <DT> tags, but I recommend it so that if you view the HTML in a syntax highlighting editor, it will be well understood.)

more options

thanks -- that's the information I was looking for. I'll be trying it Xmas day [since we're sheltering in place and it'll be a quiet day :)]