Project

General

Profile

« Previous | Next » 

Revision 8761

lib/Firefox_bookmarks.reformat.csv: use <H3 style="font-size: 200%;"> instead of <H1> to make the first folder's name the page title, so that Firefox can reimport the first folder as a bookmarks folder

View differences:

lib/Firefox_bookmarks.reformat.csv
41 41
)<DD>.*?</DD>
42 42
",,remove Bookmarks Toolbar desc
43 43
"(?<=PERSONAL_TOOLBAR_FOLDER=""true"">)Bookmarks Toolbar(?=</H3>$)",Quick links,rename Bookmarks Toolbar to Quick links
44
"(^<DL><p>
45
    <DT><)H3( .*?>.*?</)H3(>)",\1H1\2H1\3,make first folder name the page title
44
"^<DL><p>
45
    <DT><H3(?! style=)","\g<0> style=""font-size: 200%;""",make first folder name the page title
46 46
"^<H1>.*?</H1>
47 47
",,remove previous page title
48 48
"(?s)(?<=^<TITLE>)[^\n]*?(?=</TITLE>
49
.*?<H1[^\n]*?>([^\n]*?)</H1>$)",\1,use page title as window title
49
.*?
50
<DL><p>
51
    <DT><H3[^\n]*?>([^\n]*?)</H3>$)",\1,use page title as window title
web/links/index.htm
17 17
</style>
18 18

  
19 19
<DL><p>
20
    <DT><H1 ADD_DATE="1317674637">BIEN</H1>
20
    <DT><H3 style="font-size: 200%;" ADD_DATE="1317674637">BIEN</H3>
21 21
    <DL><p>
22 22
    <DT><H3 ADD_DATE="1317671429" PERSONAL_TOOLBAR_FOLDER="true">Quick links</H3>
23 23
    <DL><p>

Also available in: Unified diff