USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF...
-
Upload
landon-blaisdell -
Category
Documents
-
view
214 -
download
0
Transcript of USING TEMPLATES FOR PRESENTING PUBLICATION REFERENCES IN CRIS BOJANA DIMIĆ SURLA, FACULTY OF...
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
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
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
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
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
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
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}
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}
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
CRIS 2012 June 6-9, 2012 Prague
Harvard concepts
macros harvard_authors harvard_editors harvard_edition harvard_publisher harvard_pages
CRIS 2012 June 6-9, 2012 Prague
Harvard concepts
CRIS 2012 June 6-9, 2012 Prague
Template for paper in conference proceedings
CRIS 2012 June 6-9, 2012 Prague
Template for journal paper
CRIS 2012 June 6-9, 2012 Prague
Usage of the component - user search
CRIS 2012 June 6-9, 2012 Prague
Usage of the component - personal bibliography
CRIS 2012 June 6-9, 2012 Prague
Usage of the component - reports
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
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