Project

General

Profile

« Previous | Next » 

Revision 8849

lib/Firefox_bookmarks.reformat.csv: favicon image: use ICON_URI instead of ICON to fetch the favicon directly from the original site. this allows the favicons to be cached separately from the bookmarks page, so that the inline favicon contents don't need to be re-retrieved every time the bookmarks page is updated. this also avoids cluttering up the svn diff.

View differences:

Firefox_bookmarks.reformat.csv
18 18
 *<DL>)","\g<0>
19 19
</DD>",close <DD> when followed by tags which don't autoclose it properly
20 20
(?s)(<A .*?>)(?:<img\b.*?/>)?,"\1<img width=""16"" height=""16"" src=""blank.gif"" style=""margin-right: 0.5em;""/>",display placeholder favicon image for every link to ensure uniform alignment
21
"(?s)(\bICON=("".*?"").*?>.*?) src=""blank\.gif"" ","\1
21
"(?s)(\bICON_URI=("".*?"").*?>.*?) src=""blank\.gif"" ","\1
22 22
src=\2
23
",display ICON attribute as favicon when available
23
",display ICON_URI attribute as favicon when available
24 24
,,#### svn diff cleanup
25 25
" (ICON=""data:.*?"") ?(?!
26 26
)","

Also available in: Unified diff