Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

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

Tìm hiểu thêm

Exporting just one folder of bookmarks from the bookmarks toolbar

  • 6 trả lời
  • 153 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi MusicartaBob

more options

I would like to export a folder (one folder only) of web page bookmarks so that friends can import it and have instant access to my recommended web pages.

I know I can export the whole bookmarks file as an HTML file, and I can edit that in notepad but I don't know how to save it back to a Mozilla bookmarks HTML file so that a friend can import it and find one new folder on his/her regular bookmarks folder - with all my helpful wep page bookmarks lined up neatly inside. 

I also know I can edit down my bookmarks to just that one folder then export that - but I'm afraid of losing all my other precious bookmarks in the process.

I would like to export a folder (one folder only) of web page bookmarks so that friends can import it and have instant access to my recommended web pages. I know I can export the whole bookmarks file as an HTML file, and I can edit that in notepad but I don't know how to save it back to a Mozilla bookmarks HTML file so that a friend can import it and find one new folder on his/her regular bookmarks folder - with all my helpful wep page bookmarks lined up neatly inside. I also know I can edit down my bookmarks to just that one folder then export that - but I'm afraid of losing all my other precious bookmarks in the process.

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

more options

(Oh, haha, just found a much better way. See my other reply.)

So this does require editing the HTML File, but this tool makes it a breeze. It ensures all the syntax nesting, etc is properly setup, which is the hard part. If you have any trouble, give me a shout out and I'll make a screencast.

1. Export the bookmarks as an HTML File. (google importing exporting bookmarks as html for instructions. This method will work for chrome and Firefox, haven't tested on Safari)

2. Open in Notepad and Save as new file Ex. MyBookmarkFolder.html (we'll need the original in a minute)

3. Go back to your bookmarks in the browser. Copy the name of the folder you want to start at. Make sure it's exactly the same.

4. Find that text in the file you have open in your text editor (Ctrl + F = Find)

5. Delete Everything before that.

6. Copy the file/folder you want to stop at (It doesn't have to be nested equally deep)

7. Find and Delete Everything after.

8. The Beautiful part. Go to this page, and paste everything in the top box and hit "run"
http://ejohn.org/apps/htmlparser/
That will make sure all the syntax is properly setup so your browser can import it properly.

9. One last step before import. The original file you exported at the very top it'll have stuff life
<doctype /> < meta >< /meta > < title >< / title > Etc
Copy everything down to the very first < DL >(about 5-10 lines?) and paste that into your newly formatted file (make sure you don't have to < DL >'s in a row)
At the very end of the file, make sure it ends with a </DL>

Then you can import the file!
Of just the bookmarks you selected

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

more options

If you just want to share bookmarks, [http://xmarks.com/|Xmarks] Xmarks is the way to go. It syncs your bookmarks online, and they have a nifty little share feature. But I don't think they can pull those bookmarks straight into their bookmarks bar.

If you want to get creative, use the syncing feature to sync only the bookmarks you want to share. Keep only those on the Xmarks server. Then export all those as an HTML File. Voila!

Haha, in figuring this out, I'm sure I'll start using it!

Xmarks isn't a bad service to have anyway, and it only takes a couple minutes to get rolling.

more options

son0fhobs, you're the main man. Going to try this soonest. Might get back to you - bit of an analogue relic here - but you write good instructions.

Thanks

MusicartaBob

P.S. You a keyboard man? Check out my website www.musicarta.com. I want to send people a folder of bookmarks of all the site pages as a navigation aid - just so you know!

more options

Hi Son0fhobs, getting back to you on this method

Nearly there! The only thing I don't get is my overall enclosing 'MUSICARTA pages' folder. Everything from 'Musicarta home page' down (see image) is there.

Significantly perhaps, there is an empty folder just above the imported bookmarks called (no title) and one the same just below.

The header section of the bookmarks.html file looks like this:

<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
     It will be read and overwritten.
     DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks Menu</H1>MUSICARTA pages

How do I tweak that to get the enclosing MUSICARTA bookmarks folder?

Thanks in advance!

MusicartaBob

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

more options

Son0fhabs, a P.S.

that's not what the header code is, it's 'displaying' or whatever you call it.

It actually reads

<TITLE>Bookmarks</TITLE>
<H1>Bookmarks Menu</H1>MUSICARTA pages

Bob

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

more options

P.P.S. Again, NOT!

That 'Bookmarks Menu' is in H1 tags

Bob