Project

General

Profile

« Previous | Next » 

Revision 11665

bugfix: lib/Firefox_bookmarks.reformat.csv: remove empty <DD> tags (which Firefox now adds for all bookmarks) so they don't create a blank space on the page

View differences:

lib/Firefox_bookmarks.reformat.csv
13 13
dd {white-space: pre-wrap;} /*format bookmark description as plaintext*/
14 14
</style>
15 15
",add <style>
16
"<DD>
17
(?= *<)",,remove empty <DD>
16 18
"^<DD>.*(?:
17 19
(?! *<).*)*(?=
18 20
 *<DL>)","\g<0>
......
24 26
" LAST_MODIFIED="".*?""",,"remove LAST_MODIFIED attributes, which seem to change whenever the favicon is updated and clutter up the svn diff"
25 27
,,#### bookmark text fixes
26 28
"(^(?!.*<H3\b).*
27
<DD>)(?!&quot;|-+$|
28
 *<)(?:[^:\n]*? description: )?",\1page's description: ,"label page's description as such to avoid confusing it with comments added by the bookmark author, who may not agree with it. the page's description is in the 1st paragraph(s), when provided. if the bookmark desc starts with "" or a blank line, this is an author-added quotation or comment and not the page's description."
29
<DD>)(?!&quot;|-+$)(?:[^:\n]*? description: )?",\1page's description: ,"label page's description as such to avoid confusing it with comments added by the bookmark author, who may not agree with it. the page's description is in the 1st paragraph(s), when provided. if the bookmark desc starts with "" or a blank line, this is an author-added quotation or comment and not the page's description."
29 30
,,#### bookmark reorganization
30 31
"(?s)(^<DL><p>
31 32
    <DT><H3 [^\n]*
web/links/index.htm
100 100
VegBank http://vegbank.org/vegbank/index.jsp&quot;
101 101
                </DL><p>
102 102
                <DT><A HREF="http://www.gbif.org/newsroom/uses" name="http://www.gbif.org/newsroom/uses" ADD_DATE="1384383363" ICON_URI="http://cdn.gbif.org/img/favicon/favicon_32x32.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://cdn.gbif.org/img/favicon/favicon_32x32.ico" style="margin-right: 0.5em;"/>GBIF Newsroom ‐ News and events from around the GBIF community: Uses of data</A><a name="GBIF Newsroom ‐ News and events from around the GBIF community: Uses of data" href="#GBIF Newsroom ‐ News and events from around the GBIF community: Uses of data" style="margin-left: 0.5em;">&para;</a>
103
<DD>
104 103
            </DL><p>
105 104
            <DT><A HREF="https://projects.nceas.ucsb.edu/nceas/projects/biengeo/repository/revisions/master/entry/load-geoscrub-input.sh" name="https://projects.nceas.ucsb.edu/nceas/projects/biengeo/repository/revisions/master/entry/load-geoscrub-input.sh" ADD_DATE="1367527203" ICON_URI="https://projects.nceas.ucsb.edu/nceas/favicon.ico?1347421715" LAST_CHARSET="UTF-8"><img width="16" height="16" src="https://projects.nceas.ucsb.edu/nceas/favicon.ico?1347421715" style="margin-right: 0.5em;"/>/load-geoscrub-input.sh - BIEN Geo - NCEAS Projects</A><a name="/load-geoscrub-input.sh - BIEN Geo - NCEAS Projects" href="#/load-geoscrub-input.sh - BIEN Geo - NCEAS Projects" style="margin-left: 0.5em;">&para;</a>
106 105
<DD>page's description: Redmine
......
183 182
&quot;The Data Publisher warrants that it has made the necessary agreements with the original owners of the data that it can make the data available through the GBIF network.&quot;
184 183
                <DT><A HREF="http://www.gbif.org/disclaimer/datause" name="http://www.gbif.org/disclaimer/datause" ADD_DATE="1384332153" ICON_URI="http://cdn.gbif.org/img/favicon/favicon_32x32.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://cdn.gbif.org/img/favicon/favicon_32x32.ico" style="margin-right: 0.5em;"/>Disclaimers and agreements ‐ Terms relating to information and data accessed, used and shared through GBIF: Data use agreement</A><a name="Disclaimers and agreements ‐ Terms relating to information and data accessed, used and shared through GBIF: Data use agreement" href="#Disclaimers and agreements ‐ Terms relating to information and data accessed, used and shared through GBIF: Data use agreement" style="margin-left: 0.5em;">&para;</a>
185 184
                <DT><A HREF="http://www.gbif.org/page/2990" name="http://www.gbif.org/page/2990" ADD_DATE="1384383128" ICON_URI="http://cdn.gbif.org/img/favicon/favicon_32x32.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://cdn.gbif.org/img/favicon/favicon_32x32.ico" style="margin-right: 0.5em;"/>GBIF Newsroom ‐ News and events from around the GBIF community</A><a name="GBIF Newsroom ‐ News and events from around the GBIF community" href="#GBIF Newsroom ‐ News and events from around the GBIF community" style="margin-left: 0.5em;">&para;</a>
186
<DD>
187 185
                <DT><A HREF="http://www.gbif.org/newsroom/uses" name="http://www.gbif.org/newsroom/uses" ADD_DATE="1384383363" ICON_URI="http://cdn.gbif.org/img/favicon/favicon_32x32.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://cdn.gbif.org/img/favicon/favicon_32x32.ico" style="margin-right: 0.5em;"/>GBIF Newsroom ‐ News and events from around the GBIF community: Uses of data</A><a name="GBIF Newsroom ‐ News and events from around the GBIF community: Uses of data" href="#GBIF Newsroom ‐ News and events from around the GBIF community: Uses of data" style="margin-left: 0.5em;">&para;</a>
188
<DD>
189 186
                <DT><A HREF="ftp://ftp.gbif.org/" name="ftp://ftp.gbif.org/" ADD_DATE="1360879586" ICON_URI="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAeBJREFUeNqcU81O20AQ%2FtZ2AgQSYQRqL1UPVG2hAUQkxLEStz4DrXpLpD5Drz31Cajax%2Bghhx6qHIJURBTxIwQRwopCBbZjHMcOTrzermPipsSt1Iw03p3ZmW%2B%2B2R0TxhgOD34wjCHZlQ0iDYz9yvEfhxMTCYhEQDIZhkxKd2sqzX2TOD2vBQCQhpPefng1ZP2dVPlLLdpL8SEMcxng%2Fbs0RIHhtgs4twxOh%2BHjZxvzDx%2F3GQQiDFISiRBLFMPKTRMollzcWECrDVhtxtdRVsL9youPxGj%2FbdfFlUZhtDyYbYqWRUdai1oQRZ5oHeHl2gNM%2B01Uqio8RlH%2BnsazJzNwXcq1B%2BiXPHprlEEymeBfXs1w8XxxihfyuXqoHqpoGjZM04bddgG%2F9%2B8WGj87qDdsrK9m%2BoA%2BpbhQTDh2l1%2Bi2weNbSHMZyjvNXmVbqh9Fj5Oz27uEoP%2BSTxANruJs9L%2FT6P0ewqPx5nmiAG5f6AoCtN1PbJzuRyJAyDBzzSQYvErf06yYxhGXlEa8H2KVGoasjwLx3Ewk858opQWXm%2B%2Fib9EQrBzclLLLy89xYvlpchvtixcX6uo1y%2FzsiwHrkIsgKbp%2BYWFOWicuqppoNTnStHzPFCPQhBEBOyGAX4JMADFetubi4BSYAAAAABJRU5ErkJggg%3D%3D" LAST_CHARSET="ISO-8859-1"><img width="16" height="16" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAeBJREFUeNqcU81O20AQ%2FtZ2AgQSYQRqL1UPVG2hAUQkxLEStz4DrXpLpD5Drz31Cajax%2Bghhx6qHIJURBTxIwQRwopCBbZjHMcOTrzermPipsSt1Iw03p3ZmW%2B%2B2R0TxhgOD34wjCHZlQ0iDYz9yvEfhxMTCYhEQDIZhkxKd2sqzX2TOD2vBQCQhpPefng1ZP2dVPlLLdpL8SEMcxng%2Fbs0RIHhtgs4twxOh%2BHjZxvzDx%2F3GQQiDFISiRBLFMPKTRMollzcWECrDVhtxtdRVsL9youPxGj%2FbdfFlUZhtDyYbYqWRUdai1oQRZ5oHeHl2gNM%2B01Uqio8RlH%2BnsazJzNwXcq1B%2BiXPHprlEEymeBfXs1w8XxxihfyuXqoHqpoGjZM04bddgG%2F9%2B8WGj87qDdsrK9m%2BoA%2BpbhQTDh2l1%2Bi2weNbSHMZyjvNXmVbqh9Fj5Oz27uEoP%2BSTxANruJs9L%2FT6P0ewqPx5nmiAG5f6AoCtN1PbJzuRyJAyDBzzSQYvErf06yYxhGXlEa8H2KVGoasjwLx3Ewk858opQWXm%2B%2Fib9EQrBzclLLLy89xYvlpchvtixcX6uo1y%2FzsiwHrkIsgKbp%2BYWFOWicuqppoNTnStHzPFCPQhBEBOyGAX4JMADFetubi4BSYAAAAABJRU5ErkJggg%3D%3D" style="margin-right: 0.5em;"/>Index of ftp://ftp.gbif.org/</A><a name="Index of ftp://ftp.gbif.org/" href="#Index of ftp://ftp.gbif.org/" style="margin-left: 0.5em;">&para;</a>
190 187
                <DT><A HREF="http://imsgbif.gbif.org/CMS_ORC/?doc_id=2955&download=1" name="http://imsgbif.gbif.org/CMS_ORC/?doc_id=2955&download=1" ADD_DATE="1384334586"><img width="16" height="16" src="blank.gif" style="margin-right: 0.5em;"/>Memorandum of Understanding for the Global Biodiversity Information Facility</A><a name="Memorandum of Understanding for the Global Biodiversity Information Facility" href="#Memorandum of Understanding for the Global Biodiversity Information Facility" style="margin-left: 0.5em;">&para;</a>
191 188
<DD>&quot;This document is not legally binding and has no effect as a legal or political precedent.&quot;
......
544 541
                          text_var3 = PG_EXCEPTION_HINT;
545 542
&quot;
546 543
                                <DT><A HREF="http://www.postgresql.org/docs/9.3/static/pgupgrade.html" name="http://www.postgresql.org/docs/9.3/static/pgupgrade.html" ADD_DATE="1384429194" ICON_URI="http://www.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://www.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>PostgreSQL: Documentation: 9.3: pg_upgrade</A><a name="PostgreSQL: Documentation: 9.3: pg_upgrade" href="#PostgreSQL: Documentation: 9.3: pg_upgrade" style="margin-left: 0.5em;">&para;</a>
547
<DD>
548 544
                                <DT><A HREF="http://www.postgresql.org/docs/8.4/static/logfile-maintenance.html" name="http://www.postgresql.org/docs/8.4/static/logfile-maintenance.html" ADD_DATE="1333386461" ICON_URI="http://www.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://www.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>PostgreSQL: Documentation: Manuals: Log File Maintenance</A><a name="PostgreSQL: Documentation: Manuals: Log File Maintenance" href="#PostgreSQL: Documentation: Manuals: Log File Maintenance" style="margin-left: 0.5em;">&para;</a>
549 545
                                <DT><A HREF="http://www.postgresql.org/docs/9.1/interactive/index.html" name="http://www.postgresql.org/docs/9.1/interactive/index.html" ADD_DATE="1317673868" ICON_URI="http://www.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://www.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>PostgreSQL: Documentation: Manuals: PostgreSQL 9.1: PostgreSQL 9.1.1 Documentation</A><a name="PostgreSQL: Documentation: Manuals: PostgreSQL 9.1: PostgreSQL 9.1.1 Documentation" href="#PostgreSQL: Documentation: Manuals: PostgreSQL 9.1: PostgreSQL 9.1.1 Documentation" style="margin-left: 0.5em;">&para;</a>
550 546
                                <DT><A HREF="http://www.postgresql.org/docs/8.3/static/app-psql.html" name="http://www.postgresql.org/docs/8.3/static/app-psql.html" ADD_DATE="1325722373" ICON_URI="http://www.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://www.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>PostgreSQL: Documentation: Manuals: psql</A><a name="PostgreSQL: Documentation: Manuals: psql" href="#PostgreSQL: Documentation: Manuals: psql" style="margin-left: 0.5em;">&para;</a>
......
582 578
                            <DT><a name="installing 9.3" href="#installing 9.3"><H3 ADD_DATE="1384429280">installing 9.3</H3></a>
583 579
                            <DL><p>
584 580
                                <DT><A HREF="http://www.postgresql.org/message-id/20130508192711.GA9243@msgid.df7cb.de" name="http://www.postgresql.org/message-id/20130508192711.GA9243@msgid.df7cb.de" ADD_DATE="1384429717" ICON_URI="http://www.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://www.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>Re: Problems with apt.postgresql.org and precise</A><a name="Re: Problems with apt.postgresql.org and precise" href="#Re: Problems with apt.postgresql.org and precise" style="margin-left: 0.5em;">&para;</a>
585
<DD>
586 581
                                <DT><A HREF="https://wiki.postgresql.org/wiki/Apt" name="https://wiki.postgresql.org/wiki/Apt" ADD_DATE="1384429170" ICON_URI="https://wiki.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="https://wiki.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>Apt - PostgreSQL wiki</A><a name="Apt - PostgreSQL wiki" href="#Apt - PostgreSQL wiki" style="margin-left: 0.5em;">&para;</a>
587
<DD>
588 582
                                <DT><a name="upgrading DB to 9.3" href="#upgrading DB to 9.3"><H3 ADD_DATE="1384438805">upgrading DB to 9.3</H3></a>
589 583
                                <DL><p>
590 584
                                    <DT><A HREF="http://www.postgresql.org/message-id/514F545C.7020302@gmail.com" name="http://www.postgresql.org/message-id/514F545C.7020302@gmail.com" ADD_DATE="1384438709" ICON_URI="http://www.postgresql.org/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://www.postgresql.org/favicon.ico" style="margin-right: 0.5em;"/>Re: Problem with data migration from 9.1 to 9.2</A><a name="Re: Problem with data migration from 9.1 to 9.2" href="#Re: Problem with data migration from 9.1 to 9.2" style="margin-left: 0.5em;">&para;</a>
......
688 682
                            <DT><A HREF="http://cs186.declarativity.net/browser/hw/hw1/student/Hw1/postgresql-8.0.3/src/backend/access/transam/xact.c" name="http://cs186.declarativity.net/browser/hw/hw1/student/Hw1/postgresql-8.0.3/src/backend/access/transam/xact.c" ADD_DATE="1340224855" ICON_URI="http://cs186.declarativity.net/chrome/common/trac.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://cs186.declarativity.net/chrome/common/trac.ico" style="margin-right: 0.5em;"/>/hw/hw1/student/Hw1/postgresql-8.0.3/src/backend/access/transam/xact.c – cs186 – Trac</A><a name="/hw/hw1/student/Hw1/postgresql-8.0.3/src/backend/access/transam/xact.c – cs186 – Trac" href="#/hw/hw1/student/Hw1/postgresql-8.0.3/src/backend/access/transam/xact.c – cs186 – Trac" style="margin-left: 0.5em;">&para;</a>
689 683
                            <DT><A HREF="http://drupal.org/node/1018728" name="http://drupal.org/node/1018728" ADD_DATE="1362823422" ICON_URI="http://drupal.org/misc/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://drupal.org/misc/favicon.ico" style="margin-right: 0.5em;"/>#1018728: postgres NAMEDATALEN limitation create problems | drupal.org</A><a name="#1018728: postgres NAMEDATALEN limitation create problems | drupal.org" href="##1018728: postgres NAMEDATALEN limitation create problems | drupal.org" style="margin-left: 0.5em;">&para;</a>
690 684
                            <DT><A HREF="http://people.planetpostgresql.org/andrew/index.php?/archives/36-A-ragged-bee-in-the-bonnet.html" name="http://people.planetpostgresql.org/andrew/index.php?/archives/36-A-ragged-bee-in-the-bonnet.html" ADD_DATE="1383866460" LAST_CHARSET="UTF-8"><img width="16" height="16" src="blank.gif" style="margin-right: 0.5em;"/>A ragged bee in the bonnet - Andrew&#39;s PostgreSQL blog</A><a name="A ragged bee in the bonnet - Andrew&#39;s PostgreSQL blog" href="#A ragged bee in the bonnet - Andrew&#39;s PostgreSQL blog" style="margin-left: 0.5em;">&para;</a>
691
<DD>
692 685
                            <DT><A HREF="http://stackoverflow.com/questions/971786/constraint-name-update-in-postgresql" name="http://stackoverflow.com/questions/971786/constraint-name-update-in-postgresql" ADD_DATE="1363765746" ICON_URI="http://cdn.sstatic.net/stackoverflow/img/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://cdn.sstatic.net/stackoverflow/img/favicon.ico" style="margin-right: 0.5em;"/>Constraint name update in PostgreSQL - Stack Overflow</A><a name="Constraint name update in PostgreSQL - Stack Overflow" href="#Constraint name update in PostgreSQL - Stack Overflow" style="margin-left: 0.5em;">&para;</a>
693 686
                            <DT><A HREF="http://stackoverflow.com/questions/1009584/how-to-emulate-insert-ignore-and-on-duplicate-key-update-sql-merge-with-po" name="http://stackoverflow.com/questions/1009584/how-to-emulate-insert-ignore-and-on-duplicate-key-update-sql-merge-with-po" ADD_DATE="1363797869" ICON_URI="http://cdn.sstatic.net/stackoverflow/img/favicon.ico" LAST_CHARSET="UTF-8"><img width="16" height="16" src="http://cdn.sstatic.net/stackoverflow/img/favicon.ico" style="margin-right: 0.5em;"/>database - how to emulate &quot;insert ignore&quot; and &quot;on duplicate key update&quot; (sql merge) with postgresql? - Stack Overflow</A><a name="database - how to emulate &quot;insert ignore&quot; and &quot;on duplicate key update&quot; (sql merge) with postgresql? - Stack Overflow" href="#database - how to emulate &quot;insert ignore&quot; and &quot;on duplicate key update&quot; (sql merge) with postgresql? - Stack Overflow" style="margin-left: 0.5em;">&para;</a>
694 687
                            <DT><A HREF="http://www.linuxforums.org/forum/red-hat-fedora-linux/17025-how-can-i-change-shmmax.html" name="http://www.linuxforums.org/forum/red-hat-fedora-linux/17025-how-can-i-change-shmmax.html" ADD_DATE="1332624618" ICON_URI="http://www.linuxforums.org/favicon.ico" LAST_CHARSET="ISO-8859-1"><img width="16" height="16" src="http://www.linuxforums.org/favicon.ico" style="margin-right: 0.5em;"/>How can I change &#39;shmmax&#39;</A><a name="How can I change &#39;shmmax&#39;" href="#How can I change &#39;shmmax&#39;" style="margin-left: 0.5em;">&para;</a>

Also available in: Unified diff