Browse Source

updated HTML test data due to the improvement of the Javascript based progessive enhancement

hg/35a367e65a464cf6cdf277c73f977a6828b723fe/bookmarks/master
Martin Monperrus 14 years ago
parent
commit
f4f4e12e1c
  1. 4
      test/output/033981dc0e063ed7f5003ba7ea05eedc.html
  2. 18
      test/output/03fb25137cdb797acfbe13e927ce41ce.html
  3. 18
      test/output/16162487c2271877973423daff5222d6.html
  4. 18
      test/output/31721507999c0fb567513d8d51d99c31.html
  5. 18
      test/output/357e491edfc8fde4daae7117d9164366.html
  6. 18
      test/output/36916793e4585f7a22196db21e2724fb.html
  7. 4
      test/output/3aa649bbc342c5918188229f2205dc1d.html
  8. 0
      test/output/4c4c65636d50fa083859c4101a3f88dc.html
  9. 18
      test/output/4cd4dec945a0966623128fe8dfe9b10e.html
  10. 18
      test/output/57379f4d9506be7cd75de2f83219e84f.html
  11. 18
      test/output/632abba2651d0c76144a55419914682d.html
  12. 4
      test/output/6aa2be53f96f320ff9d9d6a152eda0f8.html
  13. 18
      test/output/6d99d602a3271c529e8dd56e0e39fdfc.html
  14. 0
      test/output/7927fcd8654efc9521cae97590ac1e7b.html
  15. 0
      test/output/8fd675bda5bb61c211f3695a6ea6a38b.html
  16. 18
      test/output/982dbdb9aaff28b153228d3d6b01a406.html
  17. 18
      test/output/b4155fdd8a001ff84fed76fdff701bff.html
  18. 0
      test/output/d4428dcf3da7c71cd6477294a6c93a14.html
  19. 0
      test/output/dc18578d76696ba843ce8fdbc0a3e205.html
  20. 18
      test/output/edeaf42415d65bf6708bafa6396c7824.html

4
test/output/033981dc0e063ed7f5003ba7ea05eedc.html

@ -26,7 +26,7 @@ color: red;
--></style></head>
<body>
<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.atitle=A+Validation+of+Object-Oriented+Design+Metrics+as+Quality+Indicators&amp;rft.jtitle=IEEE+Trans.+Softw.+Eng.&amp;rft.volume=22&amp;rft.issue=&amp;rft.pub=&amp;rft_id=info%3Adoi%2F10.1109%2F32.544352&amp;rfr_id=info%3Asid%2Flocalhost%3A%2Fvar%2Fwww%2Fbibtexbrowser%2Ftest%2Finput%2Fmetrics.bib&amp;rft.date=1996&amp;rft.au=Victor+R.+Basili&amp;rft.au=Lionel+C.+Briand&amp;rft.au=Walc%C3%A9lio+L.+Melo"></span><div class="rheader">A Validation of Object-Oriented Design Metrics as Quality Indicators (bibtex)</div>
<div><span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.atitle=A+Validation+of+Object-Oriented+Design+Metrics+as+Quality+Indicators&amp;rft.jtitle=IEEE+Trans.+Softw.+Eng.&amp;rft.volume=22&amp;rft.issue=&amp;rft.pub=&amp;rft_id=info%3Adoi%2F10.1109%2F32.544352&amp;rfr_id=info%3Asid%2Flocalhost%3A%2Fvar%2Fwww%2Fbibtexbrowser%2Ftest%2Finput%2Fmetrics.bib&amp;rft.date=1996&amp;rft.au=Victor+R.+Basili&amp;rft.au=Lionel+C.+Briand&amp;rft.au=Walc%C3%A9lio+L.+Melo"></span><div class="rheader">A Validation of Object-Oriented Design Metrics as Quality Indicators (bibtex)</div>
<pre class="purebibtex">@ARTICLE{Basili1996,
author = {Victor R. Basili and Lionel C. Briand and Walcélio L. Melo},
title = {A Validation of Object-Oriented Design Metrics as Quality Indicators},
@ -39,5 +39,5 @@ color: red;
issn = {0098-5589}
}</pre>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
</body>
</div></body>
</html>

18
test/output/03fb25137cdb797acfbe13e927ce41ce.html

@ -85,23 +85,25 @@ color: red;
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

18
test/output/16162487c2271877973423daff5222d6.html

@ -34,23 +34,25 @@ color: red;
<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.btitle=La+mesure+des+mod%C3%A8les+par+les+mod%C3%A8les+%3A+une+approche+g%C3%A9n%C3%A9rative&amp;rft.genre=report&amp;rft.pub=Universit%C3%A9+de+Rennes&amp;rft_id=http%3A%2F%2Fwww.monperrus.net%2Fmartin%2Fla-mesure-des-modeles-par-les-modeles-une-approche-generative.pdf&amp;rfr_id=info%3Asid%2Flocalhost%3A%2Fvar%2Fwww%2Fbibtexbrowser%2Ftest%2Finput%2Fmetrics.bib&amp;rft.date=2008&amp;rft.au=Martin+Monperrus"></span> <a class="biburl" title="monperrus08phd" href="bibtexbrowser.php?key=monperrus08phd&amp;bib=%252Fvar%252Fwww%252Fbibtexbrowser%252Ftest%252Finput%252Fmetrics.bib">[bib]</a> <a href="http://www.monperrus.net/martin/la-mesure-des-modeles-par-les-modeles-une-approche-generative.pdf">[pdf]</a></td></tr>
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

18
test/output/31721507999c0fb567513d8d51d99c31.html

@ -34,23 +34,25 @@ color: red;
<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.btitle=La+mesure+des+mod%C3%A8les+par+les+mod%C3%A8les+%3A+une+approche+g%C3%A9n%C3%A9rative&amp;rft.genre=report&amp;rft.pub=Universit%C3%A9+de+Rennes&amp;rft_id=http%3A%2F%2Fwww.monperrus.net%2Fmartin%2Fla-mesure-des-modeles-par-les-modeles-une-approche-generative.pdf&amp;rfr_id=info%3Asid%2Flocalhost%3A%2Fvar%2Fwww%2Fbibtexbrowser%2Ftest%2Finput%2Fmetrics.bib&amp;rft.date=2008&amp;rft.au=Martin+Monperrus"></span> <a class="biburl" title="monperrus08phd" href="bibtexbrowser.php?key=monperrus08phd&amp;bib=%252Fvar%252Fwww%252Fbibtexbrowser%252Ftest%252Finput%252Fmetrics.bib">[bib]</a> <a href="http://www.monperrus.net/martin/la-mesure-des-modeles-par-les-modeles-une-approche-generative.pdf">[pdf]</a></td></tr>
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

18
test/output/357e491edfc8fde4daae7117d9164366.html

@ -20,23 +20,25 @@ color: red;
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

18
test/output/36916793e4585f7a22196db21e2724fb.html

@ -35,23 +35,25 @@ color: red;
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

4
test/output/3aa649bbc342c5918188229f2205dc1d.html

@ -19,7 +19,7 @@ color: red;
--></style></head>
<body>
<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.btitle=Metrics+and+Models+in+Software+Quality+Engineering&amp;rft.genre=book&amp;rft.pub=Addison+Wesley&amp;rfr_id=info%3Asid%2Flocalhost%3A%2Fvar%2Fwww%2Fbibtexbrowser%2Ftest%2Finput%2Fmetrics.bib&amp;rft.date=1995&amp;rft.au=Stephen+H.+Kan"></span><div class="rheader">Metrics and Models in Software Quality Engineering (bibtex)</div>
<div><span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.btitle=Metrics+and+Models+in+Software+Quality+Engineering&amp;rft.genre=book&amp;rft.pub=Addison+Wesley&amp;rfr_id=info%3Asid%2Flocalhost%3A%2Fvar%2Fwww%2Fbibtexbrowser%2Ftest%2Finput%2Fmetrics.bib&amp;rft.date=1995&amp;rft.au=Stephen+H.+Kan"></span><div class="rheader">Metrics and Models in Software Quality Engineering (bibtex)</div>
<pre class="purebibtex">@BOOK{Kan95a,
title = {Metrics and Models in Software Quality Engineering},
publisher = {Addison Wesley},
@ -28,5 +28,5 @@ color: red;
address = {Reading, MA}
}</pre>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
</body>
</div></body>
</html>

0
test/output/4c4c65636d50fa083859c4101a3f88dc.html

18
test/output/4cd4dec945a0966623128fe8dfe9b10e.html

@ -77,23 +77,25 @@ color: red;
</table>
<div class="menu"><center><b>[1]</b><a href="?all=1&amp;result=2&amp;bib=%252Fvar%252Fwww%252Fbibtexbrowser%252Ftest%252Finput%252Fmetrics.bib">[2]</a><a href="?all=1&amp;result=3&amp;bib=%252Fvar%252Fwww%252Fbibtexbrowser%252Ftest%252Finput%252Fmetrics.bib">[3]</a><a href="?all=1&amp;result=4&amp;bib=%252Fvar%252Fwww%252Fbibtexbrowser%252Ftest%252Finput%252Fmetrics.bib">[4]</a><a href="?all=1&amp;result=5&amp;bib=%252Fvar%252Fwww%252Fbibtexbrowser%252Ftest%252Finput%252Fmetrics.bib">[5]</a><a href="?all=1&amp;result=6&amp;bib=%252Fvar%252Fwww%252Fbibtexbrowser%252Ftest%252Finput%252Fmetrics.bib">[6]</a><a href="?all=1&amp;result=7&amp;bib=%252Fvar%252Fwww%252Fbibtexbrowser%252Ftest%252Finput%252Fmetrics.bib">[7]</a></center></div>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

18
test/output/57379f4d9506be7cd75de2f83219e84f.html

@ -32,23 +32,25 @@ color: red;
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

18
test/output/632abba2651d0c76144a55419914682d.html

@ -35,23 +35,25 @@ color: red;
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

4
test/output/6aa2be53f96f320ff9d9d6a152eda0f8.html

@ -19,7 +19,7 @@ color: red;
--></style></head>
<body>
<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.btitle=Code+Query+Language+1.5+Specification&amp;rft.genre=report&amp;rft.pub=Smacchia+S.A.&amp;rfr_id=info%3Asid%2Flocalhost%3A%2Fvar%2Fwww%2Fbibtexbrowser%2Ftest%2Finput%2Fmetrics.bib&amp;rft.date=2006&amp;rft.au=Smacchia+S.A."></span><div class="rheader">Code Query Language 1.5 Specification (bibtex)</div>
<div><span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.btitle=Code+Query+Language+1.5+Specification&amp;rft.genre=report&amp;rft.pub=Smacchia+S.A.&amp;rfr_id=info%3Asid%2Flocalhost%3A%2Fvar%2Fwww%2Fbibtexbrowser%2Ftest%2Finput%2Fmetrics.bib&amp;rft.date=2006&amp;rft.au=Smacchia+S.A."></span><div class="rheader">Code Query Language 1.5 Specification (bibtex)</div>
<pre class="purebibtex">@TECHREPORT{SMACCHIA.COM2006,
author = {{Smacchia S.A.}},
title = {Code Query Language 1.5 Specification},
@ -27,5 +27,5 @@ color: red;
year = {2006}
}</pre>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
</body>
</div></body>
</html>

18
test/output/6d99d602a3271c529e8dd56e0e39fdfc.html

@ -333,23 +333,25 @@ color: red;
<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.btitle=Software+Measures+and+the+Capability+Maturity+Model&amp;rft.genre=report&amp;rft.pub=Software+Engineering+Institute%2C+Carnegie+Mellon+University&amp;rfr_id=info%3Asid%2Flocalhost%3A%2Fvar%2Fwww%2Fbibtexbrowser%2Ftest%2Finput%2Fmetrics.bib&amp;rft.date=1992&amp;rft.au=John+Baumert&amp;rft.au=Mark+McWhinney"></span> <a class="biburl" title="Baumert1992" href="bibtexbrowser.php?key=Baumert1992&amp;bib=%252Fvar%252Fwww%252Fbibtexbrowser%252Ftest%252Finput%252Fmetrics.bib">[bib]</a></td></tr>
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

0
test/output/7927fcd8654efc9521cae97590ac1e7b.html

0
test/output/8fd675bda5bb61c211f3695a6ea6a38b.html

18
test/output/982dbdb9aaff28b153228d3d6b01a406.html

@ -20,23 +20,25 @@ color: red;
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

18
test/output/b4155fdd8a001ff84fed76fdff701bff.html

@ -26,23 +26,25 @@ color: red;
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

0
test/output/d4428dcf3da7c71cd6477294a6c93a14.html

0
test/output/dc18578d76696ba843ce8fdbc0a3e205.html

18
test/output/edeaf42415d65bf6708bafa6396c7824.html

@ -34,23 +34,25 @@ color: red;
</table>
<div style="text-align:right;font-size: xx-small;opacity: 0.6;" class="poweredby"><!-- If you like bibtexbrowser, thanks to keep the link :-) -->Powered by <a href="http://www.monperrus.net/martin/bibtexbrowser/">bibtexbrowser</a><!--v__MTIME__--></div>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this);
biburl.click(function(ev) { // we change the click semantics
ev.preventDefault(); // no open url
if (biburl.nextAll('.purebibtex').length == 0) { // we don't have yet the bibtex data
if (biburl.nextAll('pre').length == 0) { // we don't have yet the bibtex data
var bibtexEntryUrl = $(this).attr('href');
$.ajax({url: bibtexEntryUrl, dataType: 'xml', success: function (data) { // we download it
var elem = $('.purebibtex', data).clone(); // the bibtex entry (clone is required for Chrome)
var elem = $('<pre class="purebibtex"/>'); // the element containing bibtex entry, creating a new element is required for Chrome and IE
elem.text($('.purebibtex', data).text()); // both text() are required for IE
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper (which is important for crawlers and metadata)
elem.append($('<span>\n\n%% Bibtex Entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></span>'));
elem.appendTo(biburl.parent()); // we add it to this line
}});
} else {biburl.nextAll('.purebibtex').toggle();} // we toggle the view
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});
});
--></script></body>

Loading…
Cancel
Save