using templates for presenting publication references in cris bojana dimiĆ surla, faculty of...
TRANSCRIPT
![Page 1: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/1.jpg)
CRIS 2012 June 6-9, 2012 Prague
USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS
BOJANA DIMIĆ SURLA, FACULTY OF SCIENCESDRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCESUNIVERSITY OF NOVI SAD, SERBIA
![Page 2: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/2.jpg)
CRIS 2012 June 6-9, 2012 Prague
Background
BISIS http://www.bisis.uns.ac.rs/
CRIS UNS http://www.cris.uns.ac.rs/
CERIF and MARC 21 Scientific-research results evaluation
Ministry of Education and Science of the Republic of Serbia
![Page 3: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/3.jpg)
CRIS 2012 June 6-9, 2012 Prague
Motivation
CRIS UNS reports Internet and intranet personal bibliographies, CVs, personal URL
pages grouping results by some criteria
Presenting publication references Harvard, Chicago, MLA, Nature,...
Software component based on tamplates
![Page 4: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/4.jpg)
CRIS 2012 June 6-9, 2012 Prague
Software environment
Java Java Server Faces
FreeMarker http://freemarker.sourceforge.net/ template engine output as HTML, XML, RTF, Java source
![Page 5: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/5.jpg)
CRIS 2012 June 6-9, 2012 Prague
Data model
1..1 1..*
0..*
1..1
0..*1..1
1..*1..1
0..*
1..1mainAuthor
0..*
0..*otherAuthors
0..*
1..1
0..*1..*
menthors
0..11..*
defendBoardMembers
Record
Publ ication
PaperJournal
Journal
Monograph
Conference
Product
PaperMonograph PaperProceedings
Proceedings
Patent
AuthorT hesis
Insti tution
![Page 6: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/6.jpg)
CRIS 2012 June 6-9, 2012 Prague
Component architecture
1..1
1..*
T emplateRunner
+---
getRepresentation (Record rec[], int referenceStyle)getRecT ype (Record rec)makeOneReference (Record rec, T emplate template)organizeRecords (Cri teria cri teria)
: String: int: String: void
T emplatesHolder
++
getT emplate (int recordT ype, int referenceStyle)addT emplate (T emplate t)
: int: void
T emplate
--
pubT ypereferenceStyle
: int: int
++
getData ()formatData ()
: void: void
![Page 7: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/7.jpg)
CRIS 2012 June 6-9, 2012 Prague
Template example - HARVARD
{mainAuthor.name.lastname}, ${mainAuthor.name.firstname?substring(0,1)}
<#list otherAuthors as author>
<#if author_has_next>,<#else> and </#if>
${author.name.lastname}, ${author.name.firstname?substring(0,1)}
</#list>
(${publicationYear?string("0")}), "${title.content}",<i>${journal.name.content}</i>, Vol.${volume} No.${number}, pp.${startPage}-${endPage}
![Page 8: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/8.jpg)
CRIS 2012 June 6-9, 2012 Prague
Template example - CHICAGO
${mainAuthor.name.firstname} ${mainAuthor.name.lastname}
<#list otherAuthors as author>
<#if author_has_next>, <#else> and </#if>
${author.name.firstname} ${author.name.lastname}
</#list>
, "${title.content}",<i>${journal.name.content}</i> ${volume} (${publicationYear?string("0")}):${startPage}-${endPage}
![Page 9: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/9.jpg)
CRIS 2012 June 6-9, 2012 Prague
Real implementation - HARVARD templates
harvard_concepts.ftl harvard_monograph.ftl harvard_paperJournal.ftl harvard_paperMonograph.ftl harvard_paperProceedings.ftl harvard_thesis.ftl
![Page 10: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/10.jpg)
CRIS 2012 June 6-9, 2012 Prague
Harvard concepts
macros harvard_authors harvard_editors harvard_edition harvard_publisher harvard_pages
![Page 11: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/11.jpg)
CRIS 2012 June 6-9, 2012 Prague
Harvard concepts
![Page 12: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/12.jpg)
CRIS 2012 June 6-9, 2012 Prague
Template for paper in conference proceedings
![Page 13: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/13.jpg)
CRIS 2012 June 6-9, 2012 Prague
Template for journal paper
![Page 14: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/14.jpg)
CRIS 2012 June 6-9, 2012 Prague
Usage of the component - user search
![Page 15: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/15.jpg)
CRIS 2012 June 6-9, 2012 Prague
Usage of the component - personal bibliography
![Page 16: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/16.jpg)
CRIS 2012 June 6-9, 2012 Prague
Usage of the component - reports
![Page 17: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/17.jpg)
CRIS 2012 June 6-9, 2012 Prague
Conclusion
software component for creating references input: list of references and template output: html
adding reference style creating new template
FreeMarker experience Future work: end-user may create their
own templates
![Page 18: USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF SCIENCES DRAGAN IVANOVIĆ, FACULTY OF TECHNICAL SCIENCES UNIVERSITY](https://reader037.vdocuments.site/reader037/viewer/2022110116/5516314d550346c6758b4d8a/html5/thumbnails/18.jpg)
CRIS 2012 June 6-9, 2012 Prague
Thank you for your attention!
Bojana Dimić [email protected] of Sciences
University of Novi SadTrg Dositeja Obradovića 4Novi SadSerbia
Dragan Ivanović[email protected] of Technical Sciences
University of Novi SadTrg Dositeja Obradovića 6Novi SadSerbia