Difference between revisions of "Citation Format"

From EPrints Documentation
Jump to: navigation, search
m
(Added reference to epc:comments)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://flawedamythyst.ifrance.com/img/styles/eramo.htm eramo] [http://mfirishka.ifrance.com/view/new/western-digital.htm western digital 120gb firewire usb 2 0] [http://cocopuff66.ifrance.com/text/directory/la-demo/ la demo di wheel of time.] [http://sm4.ifrance.com/lib/affitto-ufficio/ affitto ufficio imperia] [http://nokros.ifrance.com/data/gas-cucine/ gas cucine] [http://dejablu503.ifrance.com/description/lib/alfa-romeo.htm alfa romeo 147 2001] [http://lightmyfire0214.ifrance.com/topic/you-make/ you make me sick] [http://krychan.ifrance.com/content/view/hotel-.htm hotel 4 stelle londra] [http://cocopuff66.ifrance.com/text/directory/sapur-supur/ sapur supur] [http://alishca-st.ifrance.com/text/directory/mp-batterie.htm mp3 batterie ricaricabili] [http://nokros.ifrance.com/data/video-clip/ video clip gratuite di pompini] [http://lightmyfire0214.ifrance.com/topic/cheer/ cheer] [http://zeakk.ifrance.com/resources/articles/ron-weasley.htm ron weasley harry potter com] [http://atrayah.ifrance.com/topic/videocamera-canon.htm videocamera canon mv800i] [http://lightmyfire0214.ifrance.com/topic/socket-k/ socket k7] [http://nokros.ifrance.com/data/soprintendenza-comunale/ soprintendenza comunale] [http://dejablu503.ifrance.com/description/lib/inquinamento-delle.htm inquinamento delle acque] [http://smegmacheez.ifrance.com/content/view/relazione-educativa/ relazione educativa in pedagogia] [http://atrayah.ifrance.com/topic/multivision-last.htm multivision last key] [http://lekusya.ifrance.com/library/html/cazzo-per/ cazzo per moglie] [http://mfirishka.ifrance.com/view/new/visart.htm visart] [http://smegmacheez.ifrance.com/content/view/philips-lettori/ philips lettori] [http://smegmacheez.ifrance.com/content/view/sarre-fiume/ sarre (fiume)] [http://squoi-oop.ifrance.com/topic/cinque-terre/ cinque terre] [http://trumanburb.ifrance.com/view/new/www-gah.htm www gah de] [http://cocopuff66.ifrance.com/text/directory/raf-cover/ raf cover ouch] [http://call-shotgun.ifrance.com/view/new/maria-persson/ maria persson] [http://gajar.ifrance.com/html/garmin-gps.htm garmin gps map 76 c] [http://cocopuff66.ifrance.com/text/directory/program-manager/ program manager (regione lombardia - brescia provincia)] [http://gajar.ifrance.com/html/nokia-con.htm nokia con bluetooth e fotocamera] [http://nokros.ifrance.com/data/eptile/ eptile] [http://joshuaw-wise.ifrance.com/img/styles/houtson-i/ houtson i like that] [http://gajar.ifrance.com/html/antonio-vivaldi.htm antonio vivaldi. le quattro stagioni] [http://krychan.ifrance.com/content/view/nerdesin.htm nerdesin] [http://lekusya.ifrance.com/library/html/foto-ex/ foto ex pornostar moana pozzi] [http://atrayah.ifrance.com/topic/relazioni-intime.htm relazioni intime] [http://sm4.ifrance.com/lib/il-vitello/ il vitello dai piedi di balsa reprise] [http://alishca-st.ifrance.com/text/directory/hot-ass.htm hot ass] [http://gabe95.ifrance.com/html/hard-video/ hard video gratis] [http://sm4.ifrance.com/lib/cavalli-foto/ cavalli foto] [http://squoi-oop.ifrance.com/topic/www-libero/ www libero it aiuto] [http://dejablu503.ifrance.com/description/lib/nick-black.htm nick black] [http://lekusya.ifrance.com/library/html/lettori-cd/ lettori cd mp3 e radio] [http://horcrionebay.ifrance.com/resources/articles/melazzo.htm melazzo] [http://smegmacheez.ifrance.com/content/view/ieee-/ ieee 1394 pci] [http://squoi-oop.ifrance.com/topic/o-treno/ o treno] [http://lekusya.ifrance.com/library/html/mini-sveglia/ mini sveglia] [http://mfirishka.ifrance.com/view/new/titty-e.htm titty e walter] [http://trumanburb.ifrance.com/view/new/dolores-keane.htm dolores keane] [http://trumanburb.ifrance.com/view/new/lastminute-mar.htm lastminute mar rosso] [http://gabe95.ifrance.com/html/io-sono/ io sono un uomo] [http://atrayah.ifrance.com/topic/jennifer-elrod.htm jennifer elrod] [http://krychan.ifrance.com/content/view/gadjo-so.htm gadjo so many] [http://zeakk.ifrance.com/resources/articles/crall.htm crall] [http://squoi-oop.ifrance.com/topic/good-morning/ good morning babilonia] [http://lightmyfire0214.ifrance.com/topic/rossana-vol/ rossana. vol. 03] [http://joshuaw-wise.ifrance.com/img/styles/catlinite/ catlinite] [http://joshuaw-wise.ifrance.com/img/styles/file-exe/ file exe] [http://alishca-st.ifrance.com/text/directory/mp-accendisigari.htm mp3 accendisigari] [http://nokros.ifrance.com/data/asus-milan/ asus milan] [http://trumanburb.ifrance.com/view/new/never-there.htm never there] [http://alishca-st.ifrance.com/text/directory/garmin-etrex.htm garmin etrex gps portatile] [http://call-shotgun.ifrance.com/view/new/whirlpool-lavatrice/ whirlpool lavatrice 9100] [http://nokros.ifrance.com/data/incubus-talkshow/ incubus talkshow on mute] [http://lightmyfire0214.ifrance.com/topic/aaxe-fatalty/ aa8xe fatal1ty] [http://cocopuff66.ifrance.com/text/directory/http-www/ http www team com] [http://smegmacheez.ifrance.com/content/view/pecora-michele/ pecora michele] [http://flawedamythyst.ifrance.com/img/styles/seat-cordoba.htm seat cordoba vario] [http://lightmyfire0214.ifrance.com/topic/victoria-silvstedt/ victoria silvstedt video] [http://dejablu503.ifrance.com/description/lib/que-lloro.htm que lloro] [http://lightmyfire0214.ifrance.com/topic/burt-simpson/ burt simpson] [http://gajar.ifrance.com/html/video-de.htm video de nick berg] [http://squoi-oop.ifrance.com/topic/novecento-greatest/ novecento greatest hits] [http://krychan.ifrance.com/content/view/mondiale-trial.htm mondiale trial 2005] [http://gabe95.ifrance.com/html/bullet-technologies/ bullet technologies] [http://dejablu503.ifrance.com/description/lib/sederona.htm sederona] [http://joshuaw-wise.ifrance.com/img/styles/casa-per/ casa per me] [http://sm4.ifrance.com/lib/ati-radeon/ ati radeon 9550se] [http://gabe95.ifrance.com/html/alessia-merz/ alessia merz calendario] [http://gabe95.ifrance.com/html/ventura-obsession/ ventura obsession mp3] [http://lekusya.ifrance.com/library/html/tomb-rider/ tomb rider 4] [http://sm4.ifrance.com/lib/www-rasmus/ www rasmus it] [http://gabe95.ifrance.com/html/rapina-al/ rapina al quartiere ovest] [http://cocopuff66.ifrance.com/text/directory/materie-plastiche/ materie plastiche - prodotti di base per l industr] [http://trumanburb.ifrance.com/view/new/j-league.htm j league eleven beat 97] [http://alishca-st.ifrance.com/text/directory/murano-bicchieri.htm murano bicchieri] [http://mfirishka.ifrance.com/view/new/palermoverona-con.htm palermo-verona con meridiana] [http://joshuaw-wise.ifrance.com/img/styles/super-mario/ super mario advance 2] [http://atrayah.ifrance.com/topic/www-alexia.htm www alexia com] [http://joshuaw-wise.ifrance.com/img/styles/linksys-adslmue/ linksys adsl2mue] [http://atrayah.ifrance.com/topic/huysmans-joriskarl.htm huysmans, joris-karl] [http://joshuaw-wise.ifrance.com/img/styles/backlund-johan/ backlund, johan oscar] [http://nokros.ifrance.com/data/san-remo/ san remo, la grande sfida] [http://trumanburb.ifrance.com/view/new/hp-business.htm hp business inkjet 1000] [http://cocopuff66.ifrance.com/text/directory/paris-hiton/ paris hiton video] [http://horcrionebay.ifrance.com/resources/articles/hande-yener.htm hande yener] [http://trumanburb.ifrance.com/view/new/she-will.htm she will] [http://sm4.ifrance.com/lib/temi-svolti/ temi svolti guerra] [http://atrayah.ifrance.com/topic/parole-di.htm parole di cotone] [http://gabe95.ifrance.com/html/ye-ye/ ye ye girl] [http://horcrionebay.ifrance.com/resources/articles/hotel-barcelo.htm hotel barcelo lina] [http://trumanburb.ifrance.com/view/new/europe-hotel.htm europe hotel] [http://alishca-st.ifrance.com/text/directory/centralino-isdn.htm centralino isdn] [http://gabe95.ifrance.com/html/calendario-selezioni/ calendario selezioni grande fratello 5 m] [http://trumanburb.ifrance.com/view/new/yann-destal.htm yann destal] [http://sm4.ifrance.com/lib/tv-lcd/ tv lcd lg 26] [http://atrayah.ifrance.com/topic/bruciore-piede.htm bruciore piede sinistro] [http://trumanburb.ifrance.com/view/new/www-seca.htm www seca digital astra] [http://sm4.ifrance.com/lib/xploder-sp/ xploder sp] [http://flawedamythyst.ifrance.com/img/styles/roberta-capua.htm roberta capua foto] [http://trumanburb.ifrance.com/view/new/passeggino-p.htm passeggino p3 peg perego] [http://krychan.ifrance.com/content/view/ceramica-artistica.htm ceramica artistica] [http://dejablu503.ifrance.com/description/lib/lg-aspirapolvere.htm lg aspirapolvere] [http://dejablu503.ifrance.com/description/lib/lcd-.htm lcd 32 tv philips televisori] [http://gajar.ifrance.com/html/tweety.htm tweety] [http://sm4.ifrance.com/lib/stampanti-canon/ stampanti canon laser a3] [http://cocopuff66.ifrance.com/text/directory/siti-iraq/ siti iraq] [http://dejablu503.ifrance.com/description/lib/saint-gobain.htm saint gobain] [http://lightmyfire0214.ifrance.com/topic/soldato-usa/ soldato usa] [http://joshuaw-wise.ifrance.com/img/styles/to-be/ to be left aside alone] [http://sm4.ifrance.com/lib/video-kiss/ video kiss lesbo] [http://sm4.ifrance.com/lib/microsoft-desktop/ microsoft desktop elite bluetooth] [http://atrayah.ifrance.com/topic/pokorn-it.htm pokorn it] [http://gabe95.ifrance.com/html/cazzo-duro/ cazzo duro] [http://sm4.ifrance.com/lib/dire-strites/ dire strites] [http://horcrionebay.ifrance.com/resources/articles/turksat-.htm turksat 1 c] [http://call-shotgun.ifrance.com/view/new/devi/ devi] [http://joshuaw-wise.ifrance.com/img/styles/pieralisi/ pieralisi] [http://zeakk.ifrance.com/resources/articles/inno-nazionale.htm inno nazionale italiano strumentale] [http://gabe95.ifrance.com/html/www-armonia/ www armonia cl] [http://gajar.ifrance.com/html/ford-focus.htm ford focus tdci] [http://lightmyfire0214.ifrance.com/topic/fotos-de/ fotos de chicas desnudas] [http://dejablu503.ifrance.com/description/lib/panalpina.htm panalpina] [http://gabe95.ifrance.com/html/taglie-grandi/ taglie grandi] [http://squoi-oop.ifrance.com/topic/mo/ m2o] [http://atrayah.ifrance.com/topic/miss-teeq.htm miss teeq] [http://cocopuff66.ifrance.com/text/directory/conoscere-amica/ conoscere amica] [http://gajar.ifrance.com/html/upm-italia.htm upm italia] [http://trumanburb.ifrance.com/view/new/testi-eros.htm testi eros 9] [http://dejablu503.ifrance.com/description/lib/police-municipale.htm police municipale marseille] [http://lekusya.ifrance.com/library/html/savoini/ savoini] [http://mfirishka.ifrance.com/view/new/web-hacker.htm web hacker] [http://smegmacheez.ifrance.com/content/view/rock-island/ rock island] [http://zeakk.ifrance.com/resources/articles/whirlpool-sesto.htm whirlpool sesto senso] [http://cocopuff66.ifrance.com/text/directory/mercedes-c/ mercedes c coupe] [http://cocopuff66.ifrance.com/text/directory/belle-donne/ belle donne] [http://zeakk.ifrance.com/resources/articles/sabrina-ferelli.htm sabrina ferelli] [http://horcrionebay.ifrance.com/resources/articles/gulben-ergen.htm gulben ergen] [http://sm4.ifrance.com/lib/ati-radeon/ ati radeon 9550 256] [http://trumanburb.ifrance.com/view/new/citroen-firenze.htm citroen firenze] [http://flawedamythyst.ifrance.com/img/styles/glf.htm g0lf] [http://krychan.ifrance.com/content/view/mh.htm mh] [http://horcrionebay.ifrance.com/resources/articles/dvd-harry.htm dvd harry potter] [http://flawedamythyst.ifrance.com/img/styles/studio-santorelli.htm studio santorelli] [http://nokros.ifrance.com/data/nastro-rosa/ nastro rosa dance remix] [http://zeakk.ifrance.com/resources/articles/impianti-hifi.htm impianti hifi dvd] [http://smegmacheez.ifrance.com/content/view/denni-parkinson/ denni parkinson] [http://mfirishka.ifrance.com/view/new/latte-neonati.htm latte neonati] [http://call-shotgun.ifrance.com/view/new/netgear-wpnis/ netgear wpn824is] [http://squoi-oop.ifrance.com/topic/wwe-lita/ wwe lita] [http://lekusya.ifrance.com/library/html/xbox-limited/ x-box limited edition] [http://horcrionebay.ifrance.com/resources/articles/ex-trans.htm ex trans] [http://cocopuff66.ifrance.com/text/directory/playstation-/ playstation 2 bujingai] [http://dejablu503.ifrance.com/description/lib/nvidia-.htm nvidia 6800 agp] [http://squoi-oop.ifrance.com/topic/tesine-fisica/ tesine fisica] [http://horcrionebay.ifrance.com/resources/articles/km-lancia.htm km0 lancia musa diesel auto km 0] [http://flawedamythyst.ifrance.com/img/styles/severina-vuckovic.htm severina vuckovic porno] [http://cocopuff66.ifrance.com/text/directory/colonne-sonore/ colonne sonore del gladiatore] [http://trumanburb.ifrance.com/view/new/yu-yu.htm yu yu] [http://nokros.ifrance.com/data/tom-tom/ tom tom palmare] [http://lekusya.ifrance.com/library/html/lenti-leica/ lenti leica] [http://krychan.ifrance.com/content/view/appartamento-parigi.htm appartamento parigi] [http://zeakk.ifrance.com/resources/articles/asus-av.htm asus a8v - deluxe] [http://lightmyfire0214.ifrance.com/topic/motozappa/ motozappa] [http://sm4.ifrance.com/lib/ram-/ ram 256 acer] [http://horcrionebay.ifrance.com/resources/articles/scheda-audio.htm scheda audio 7 1] [http://sm4.ifrance.com/lib/prestito-lisbona/ prestito lisbona] [http://flawedamythyst.ifrance.com/img/styles/siemens-logo.htm siemens logo cellulare] [http://call-shotgun.ifrance.com/view/new/via-veneto/ via veneto deluxe] [http://trumanburb.ifrance.com/view/new/il-lancio.htm il lancio dei pinguini 2] [http://call-shotgun.ifrance.com/view/new/olympus-cla/ olympus cla-7] [http://lekusya.ifrance.com/library/html/le-cinque/ le cinque stagioni] [http://trumanburb.ifrance.com/view/new/iwan-i.htm iwan i delfin czarne oczy] [http://atrayah.ifrance.com/topic/keyboard.htm keyboard] [http://squoi-oop.ifrance.com/topic/v-t/ v50 t5] [http://gabe95.ifrance.com/html/gran-turismo/ gran turismo 4] [http://call-shotgun.ifrance.com/view/new/cn/ cn 65] [http://krychan.ifrance.com/content/view/elton-john.htm elton john dog] [http://nokros.ifrance.com/data/gatto-e/ gatto e topo] [http://dejablu503.ifrance.com/description/lib/immagini-wrestling.htm immagini wrestling] [http://smegmacheez.ifrance.com/content/view/la-lunga/ la lunga estate caldissima] [http://horcrionebay.ifrance.com/resources/articles/panda-van.htm panda van] [http://gabe95.ifrance.com/html/downset/ downset] [http://nokros.ifrance.com/data/puti/ puti] [http://call-shotgun.ifrance.com/view/new/s/ s 70] [http://squoi-oop.ifrance.com/topic/on-est/ on est la] [http://gajar.ifrance.com/html/dvd-recorder.htm dvd recorder pioneer 630 hs] [http://zeakk.ifrance.com/resources/articles/lecoaspira-.htm lecoaspira 910 polti] [http://krychan.ifrance.com/content/view/retroproiezione-crt.htm retroproiezione crt televisori] [http://horcrionebay.ifrance.com/resources/articles/sony-fx.htm sony fx1 hdv] {{formats}}
+
{{formats}}
  
  
 
The citation format files, located in the repository's [[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg/citations|citations]] directory, describe how citations for documents, eprints, and users should be rendered. The name of the directories reflect the name of the dataset, with the filename within the directory (e.g. brief.xml) identifying the name of the citation style.
 
The citation format files, located in the repository's [[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg/citations|citations]] directory, describe how citations for documents, eprints, and users should be rendered. The name of the directories reflect the name of the dataset, with the filename within the directory (e.g. brief.xml) identifying the name of the citation style.
 +
 +
  <cite:citation xmlns="http://www.w3.org/1999/xhtml"
 +
      xmlns:cite="http://eprints.org/ep3/citation"
 +
      xmlns:epc="http://eprints.org/ep3/control">
 +
    <cite:linkhere><span class="ep_document_citation"><epc:print expr='format'/><epc:if test="formatdesc">
 +
<epc:print expr="formatdesc"/>)</epc:if></span></cite:linkhere>
 +
  </cite:citation>
 +
 +
Two tags are provided under the citation namespace: cite:citation and cite:linkhere. The former is the root element of the file, and contains the body of the citation as well as any required namespaces. The latter surrounds one or many elements, and renders the content as a link to the item.
 +
 +
Other than <nowiki><cite:citation></nowiki> and <nowiki><cite:linkhere></nowiki>, you can also use the xhtml namespace, which is the default namespace (the one which doesn't need a foo: type prefix on tag names), and also the [[EPrints Control Format]] elements such as <epc:if> and <epc:print> and <epc:comment>.
 +
 +
Normal XML comments (using <nowiki><!-- --></nowiki>) within a citation are rendered in the output - comment out blocks of xml by wrapping with an <epc:comment> block instead of XML comments!

Latest revision as of 14:43, 15 October 2012

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


XML Configuration: EPScript - Control Format (EPC) - Citation - Workflow - Phrase - Template - XPAGE (static pages)


The citation format files, located in the repository's citations directory, describe how citations for documents, eprints, and users should be rendered. The name of the directories reflect the name of the dataset, with the filename within the directory (e.g. brief.xml) identifying the name of the citation style.

  <cite:citation xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:cite="http://eprints.org/ep3/citation" 
      xmlns:epc="http://eprints.org/ep3/control">
    <cite:linkhere><span class="ep_document_citation"><epc:print expr='format'/><epc:if test="formatdesc"> 
<epc:print expr="formatdesc"/>)</epc:if></span></cite:linkhere>
  </cite:citation>

Two tags are provided under the citation namespace: cite:citation and cite:linkhere. The former is the root element of the file, and contains the body of the citation as well as any required namespaces. The latter surrounds one or many elements, and renders the content as a link to the item.

Other than <cite:citation> and <cite:linkhere>, you can also use the xhtml namespace, which is the default namespace (the one which doesn't need a foo: type prefix on tag names), and also the EPrints Control Format elements such as <epc:if> and <epc:print> and <epc:comment>.

Normal XML comments (using <!-- -->) within a citation are rendered in the output - comment out blocks of xml by wrapping with an <epc:comment> block instead of XML comments!