Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Format of HTML bookmarks file

  • 2 trả lời
  • 2 gặp vấn đề này
  • 814 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Được chỉnh sửa bởi cor-el vào

Giải pháp được chọn

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

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (2)

more options

Giải pháp được chọn

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