Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Format of HTML bookmarks file

  • 2 ответа
  • 2 имеют эту проблему
  • 28 просмотров
  • Последний ответ от 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?

Изменено cor-el

Выбранное решение

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.)

Прочитайте этот ответ в контексте 👍 1

Все ответы (2)

more options

Выбранное решение

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 :)]

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.