rch
2015-07-25 08:23:21 UTC
I am using t2t to pretty-print the entries in my
Firefox list of bookmarks.
Perl reads the *.jsonlz4 file and writes a t2t file
with a long list of all the entries;
A typical entry would be e.g.
+ [description http://foo.bar/foobar.html].
It mostly works very well, but text2tags completely
fails to encode a few entries.
Question
How do I get text2tags to recognise the following
problems as [description uri] ?
I have tried encoding the uris with Perl URI::Escape;
and with URI::Encode; but these did not help.
Richard H
PROBLEMS -
t2t FAILS ON THE FOLLOWING:-
+ [(11) NVRS-HRI-gg - Google Groups
https://groups.google.com/forum/#!forum/nvrs-hri-gg]
+ [INRA 383 pp Vie microbienne du sol et production végétale
http://prodinra.inra.fr/?locale=fr#!ConsultNotice:122538]
+ [Invasive alien species European Parliament
http://www.europarl.europa.eu/RegData/etudes/workshop/join/2014/518746/IPOL-ENVI_AT(2014)518746_EN.pdf]
+ [Statistique sur la migration des amphibiens
http://karch.ch/karch/page-35576.html;jsessionid=508B95B836F099F2DA38FC7ACEFA00A1.corvus2]
+ [Let's Liberate Diversity! Annual Forum / News / Agrobiodiversity
@knowledged / Themes / Hivos Knowledge Programme / Home -
Ontwikkelingsorganisatie Hivos
http://www.hivos.net/Hivos-Knowledge-Programme/Themes/Agrobiodiversity-knowledged/News2/Let-s-Liberate-Diversity!-Annual-Forum]
+ [For pressure cookers - excellent - Physical Chemistry: Understanding
our Chemical World - Paul M. S. Monk - Google Books
http://books.google.be/books?id=9qVpoDH00pEC&pg=PA199&lpg=PA199&dq=Clausius+Clapeyron+pressure+cooker&source=bl&ots=1wJ9fTtxHC&sig=L4rJ1GTBgC-IuDRlO75SZHF_HWY&hl=en&sa=X&ei=elkHVObrKdK4ogTdqIDwDw&ved=0CGQQ6AEwBw#v=onepage&q=Clausius%20Clapeyron%20pressure%20cooker&f=false]
+ [Nice pdf on bees by Inst roy Sci Nat BE
http://www.vivelesabeilles.be/uploads/Mediatheek/IRSCNB%20abeilles%20FR%20(page%20a%20page)%20LR.pdf]
+ [Atlas Mammiferes donnees sur docs google com
https://docs.google.com/spreadsheets/d/17_ufDWx7sb6_iivlmbv6g-UER1arFLsWpkH5B0j8PnA/edit#gid=0]
WHAT I WAS HOPING FOR:-
<LI> <a href="https://groups.google.com/forum/#!foru-m/nvrs-hri-gg">(11)
NVRS-HRI-gg- Google Groups</a></li>
<LI> <a
href="http://prodinra.inra.fr/?locale=fr#!ConsultNotice:122538">INRA 383
pp Vie microbienne du sol et production végétale</a></li>
<LI> <a
href="http://www.europarl.europa.eu/RegData/etudes/workshop/join/2014/518746/IPOL-ENVI_AT(2014)518746_EN.pdf">Invasive
alien species European Parliament</a></li>
<LI> <a
href="http://karch.ch/karch/page-35576.html;jsessionid=508B95B836F099F2DA38FC7ACEFA00A1.corvus2">Statistique
sur la migration des amphibiens</a></li>
<LI> <a
href="http://www.hivos.net/Hivos-Knowledge-Programme/Themes/Agrobiodiversity-knowledged/News2/Let-s-Liberate-Diversity!-Annual-Forum">Let's
Liberate Diversity! Annual Forum / News / Agrobiodiversity @knowledged /
Themes / Hivos Knowledge Programme / Home - Ontwikkelingsorganisatie
Hivos</a></li>
<LI> <a
href="http://books.google.be/books?id=9qVpoDH00pEC&pg=PA199&lpg=PA199&dq=Clausius+Clapeyron+pressure+cooker&source=bl&ots=1wJ9fTtxHC&sig=L4rJ1GTBgC-IuDRlO75SZHF_HWY&hl=en&sa=X&ei=elkHVObrKdK4ogTdqIDwDw&ved=0CGQQ6AEwBw#v=onepage&q=Clausius%20Clapeyron%20pressure%20cooker&f=false">For
pressure cookers - excellent - Physical Chemistry: Understanding our
Chemical World - Paul M. S. Monk - Google Books</a></li>
<LI> <a
href="http://www.vivelesabeilles.be/uploads/Mediatheek/IRSCNB%20abeilles%20FR%20(page%20a%20page)%20LR.pdf">Nice
pdf on bees by Inst roy Sci Nat BE</a></li>
<LI> <a
href="https://docs.google.com/spreadsheets/d-/17_ufDWx7sb6_iivlmbv6g-UER1arFLsWpkH5B0j8PnA/edit#gid=0>Atlas
Mammiferes donnees sur docs google com</a></li>
/ends
------------------------------------------------------------------------------
Firefox list of bookmarks.
Perl reads the *.jsonlz4 file and writes a t2t file
with a long list of all the entries;
A typical entry would be e.g.
+ [description http://foo.bar/foobar.html].
It mostly works very well, but text2tags completely
fails to encode a few entries.
Question
How do I get text2tags to recognise the following
problems as [description uri] ?
I have tried encoding the uris with Perl URI::Escape;
and with URI::Encode; but these did not help.
Richard H
PROBLEMS -
t2t FAILS ON THE FOLLOWING:-
+ [(11) NVRS-HRI-gg - Google Groups
https://groups.google.com/forum/#!forum/nvrs-hri-gg]
+ [INRA 383 pp Vie microbienne du sol et production végétale
http://prodinra.inra.fr/?locale=fr#!ConsultNotice:122538]
+ [Invasive alien species European Parliament
http://www.europarl.europa.eu/RegData/etudes/workshop/join/2014/518746/IPOL-ENVI_AT(2014)518746_EN.pdf]
+ [Statistique sur la migration des amphibiens
http://karch.ch/karch/page-35576.html;jsessionid=508B95B836F099F2DA38FC7ACEFA00A1.corvus2]
+ [Let's Liberate Diversity! Annual Forum / News / Agrobiodiversity
@knowledged / Themes / Hivos Knowledge Programme / Home -
Ontwikkelingsorganisatie Hivos
http://www.hivos.net/Hivos-Knowledge-Programme/Themes/Agrobiodiversity-knowledged/News2/Let-s-Liberate-Diversity!-Annual-Forum]
+ [For pressure cookers - excellent - Physical Chemistry: Understanding
our Chemical World - Paul M. S. Monk - Google Books
http://books.google.be/books?id=9qVpoDH00pEC&pg=PA199&lpg=PA199&dq=Clausius+Clapeyron+pressure+cooker&source=bl&ots=1wJ9fTtxHC&sig=L4rJ1GTBgC-IuDRlO75SZHF_HWY&hl=en&sa=X&ei=elkHVObrKdK4ogTdqIDwDw&ved=0CGQQ6AEwBw#v=onepage&q=Clausius%20Clapeyron%20pressure%20cooker&f=false]
+ [Nice pdf on bees by Inst roy Sci Nat BE
http://www.vivelesabeilles.be/uploads/Mediatheek/IRSCNB%20abeilles%20FR%20(page%20a%20page)%20LR.pdf]
+ [Atlas Mammiferes donnees sur docs google com
https://docs.google.com/spreadsheets/d/17_ufDWx7sb6_iivlmbv6g-UER1arFLsWpkH5B0j8PnA/edit#gid=0]
WHAT I WAS HOPING FOR:-
<LI> <a href="https://groups.google.com/forum/#!foru-m/nvrs-hri-gg">(11)
NVRS-HRI-gg- Google Groups</a></li>
<LI> <a
href="http://prodinra.inra.fr/?locale=fr#!ConsultNotice:122538">INRA 383
pp Vie microbienne du sol et production végétale</a></li>
<LI> <a
href="http://www.europarl.europa.eu/RegData/etudes/workshop/join/2014/518746/IPOL-ENVI_AT(2014)518746_EN.pdf">Invasive
alien species European Parliament</a></li>
<LI> <a
href="http://karch.ch/karch/page-35576.html;jsessionid=508B95B836F099F2DA38FC7ACEFA00A1.corvus2">Statistique
sur la migration des amphibiens</a></li>
<LI> <a
href="http://www.hivos.net/Hivos-Knowledge-Programme/Themes/Agrobiodiversity-knowledged/News2/Let-s-Liberate-Diversity!-Annual-Forum">Let's
Liberate Diversity! Annual Forum / News / Agrobiodiversity @knowledged /
Themes / Hivos Knowledge Programme / Home - Ontwikkelingsorganisatie
Hivos</a></li>
<LI> <a
href="http://books.google.be/books?id=9qVpoDH00pEC&pg=PA199&lpg=PA199&dq=Clausius+Clapeyron+pressure+cooker&source=bl&ots=1wJ9fTtxHC&sig=L4rJ1GTBgC-IuDRlO75SZHF_HWY&hl=en&sa=X&ei=elkHVObrKdK4ogTdqIDwDw&ved=0CGQQ6AEwBw#v=onepage&q=Clausius%20Clapeyron%20pressure%20cooker&f=false">For
pressure cookers - excellent - Physical Chemistry: Understanding our
Chemical World - Paul M. S. Monk - Google Books</a></li>
<LI> <a
href="http://www.vivelesabeilles.be/uploads/Mediatheek/IRSCNB%20abeilles%20FR%20(page%20a%20page)%20LR.pdf">Nice
pdf on bees by Inst roy Sci Nat BE</a></li>
<LI> <a
href="https://docs.google.com/spreadsheets/d-/17_ufDWx7sb6_iivlmbv6g-UER1arFLsWpkH5B0j8PnA/edit#gid=0>Atlas
Mammiferes donnees sur docs google com</a></li>
/ends
------------------------------------------------------------------------------