Skip to content

Commit

Permalink
Documented python script usage without target html file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aitor Gómez Goiri committed Dec 4, 2012
1 parent 2d05e3b commit 6315a25
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,13 @@ For example, to insert an icon for each citation insert the following HTML snipp


## Generate cites
To populate *#citations* tag, execute the following command:
To populate *#citations* tag of an HTML file, execute the following command:

python bibtex2html.py [path/to/bibtex-file] [path/to/html-with-citations]
python bibtex2html.py -f [path/to/target-html-with-citations] [path/to/bibtex-file]

If you prefer to just generate the HTML snippet and manually insert it later on, simply run:

python bibtex2html.py [path/to/bibtex-file]


## Dependencies
Expand Down
95 changes: 95 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,101 @@
Maecenas euismod, est nec aliquet molestie, lorem felis dignissim magna, iaculis vestibulum sem massa id purus.
</p>
<div id="citations">
<div id="francisco_towards_2008">
David Francisco, Lyndon&nbsp;JB Nixon, and Germán Toro&nbsp;del Valle.
Towards a multimedia content marketplace implementation based on
triplespaces.
In Amit Sheth, Steffen Staab, Mike Dean, Massimo Paolucci, Diana
Maynard, Timothy Finin, and Krishnaprasad Thirunarayan, editors,
<em>
The
Semantic Web - ISWC 2008
</em>
, volume 5318, pages 875-888. Springer Berlin
Heidelberg, Berlin, Heidelberg, 2008.
[&nbsp;
<a href="citations_bib.html#francisco_towards_2008">
bib
</a>
&nbsp;|
<a href="http://www.springerlink.com/content/r33h107821q44x5k/">
http
</a>
&nbsp;]
</div> <div id="fensel_triple-space_2004">
Dieter Fensel.
Triple-Space computing: Semantic web services based on persistent
publication of information.
In Finn&nbsp;Arve Aagesen, Chutiporn Anutariya, and Vilas Wuwongse,
editors,
<em>
Intelligence in Communication Systems
</em>
, volume 3283 of
<em>
Lecture Notes in Computer Science
</em>
, pages 43-53. Springer Berlin /
Heidelberg, 2004.
10.1007/978-3-540-30179-0_4.
[&nbsp;
<a href="citations_bib.html#fensel_triple-space_2004">
bib
</a>
&nbsp;|
<a href="http://dx.doi.org/10.1007/978-3-540-30179-0_4">
http
</a>
&nbsp;]
</div> <div id="walewski_project_2011">
Joachim&nbsp;W. Walewski, Martin Bauer, Nicola Bui, Pierpaolo Giacomin, Nils
Gruschka, Stephan Haller, Edward Ho, Ralf Kernchen, Mario Lischka, Jourik
De&nbsp;Loof, Carsten Magerkurth, Stefan Meissner, Sonja Meyer, Andreas
Nettstrater, Francisco Oteiza&nbsp;Lacalle, Alexander Salinas&nbsp;Segura, Alexandru
Serbanati, Martin Strohbach, and Vicent Toubiana.
Project deliverable d1.2 – initial architectural reference model
for IoT, June 2011.
[&nbsp;
<a href="citations_bib.html#walewski_project_2011">
bib
</a>
&nbsp;|
<a href="http://www.iot-a.eu/public/public-documents/documents-1/1/1/d1.2/at_download/file">
http
</a>
&nbsp;]
</div> <div id="semanticWeb-FAQ">
World Wide&nbsp;Web Consortium.
W3c semantic web faq, August 2011.
[&nbsp;
<a href="citations_bib.html#semanticWeb-FAQ">
bib
</a>
&nbsp;|
<a href="http://www.w3.org/2001/sw/SW-FAQ">
http
</a>
&nbsp;]
</div> <div id="guinard_search_2011">
Dominique Guinard, Iulia Ion, and Simon Mayer.
In search of an internet of things service architecture: REST or
WS-*? a developers’ perspective.
In
<em>
Proceedings of Mobiquitous 2011 (8th International ICST
Conference on Mobile and Ubiquitous Systems)
</em>
, Copenhagen, Denmark, December
2011.
[&nbsp;
<a href="citations_bib.html#guinard_search_2011">
bib
</a>
&nbsp;]
</div>
</div>
<script type="text/javascript">
htmlizeBibtex.config.inline_citation = '&lt;img src="css/images/papers.png" alt="$citeid" /&gt;'
</script>
</body>
</html>

0 comments on commit 6315a25

Please sign in to comment.