为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Exporting just one folder of bookmarks from the bookmarks toolbar

  • 6 个回答
  • 153 人有此问题
  • 1 次查看
  • 最后回复者为 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.

所有回复 (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

由son0fhobs于修改

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

由cor-el于修改

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

由cor-el于修改

more options

P.P.S. Again, NOT!

That 'Bookmarks Menu' is in H1 tags

Bob