XPAGE Format

From EPrints Documentation
Revision as of 17:06, 19 August 2007 by EwnDbb (talk | contribs)
Jump to: navigation, search

calcio mercato pc acer aspire t310 povero cristo faro ricaricabile foto sexi cellulare lg fotocamera galatone natural point internet dating dat 24 pollo al curry condizionatori multisplit banca fineco www tarjetas com annuncio immobiliare privati gps v occhiali rosa punto 1200 16v elx borges noleggio porsche roma vecchia zoccola misstress svezia strutt, jedediah nissan micra 2000 drivers nec e228 ponferrada org ristoranti erotici julie andrews le jazz hot bastera db boulevard last minute dolomiti agenzia immobiliare varese masterizzatore dvd esterno sony rimini hotel p4u800-x fsb800 nilo egitto voli per cancun monster cable scart gepe extreme grigia video benny hill gayboys arbalete in offerta knocking on even golf iv gti 150 tdi singoli in piemonte office 2003 professional oem erika eliniak hdd 200 gb testo italiano this love maroon 5 traduzione testo last thing on my mind custodia sub olympus san donato milanese radio terapia edoardo scappa www isola it girl siena tarzan disney film dvd il problema droga cabo san lucas uomini porci libreria e sassari creative zen 5gb i c baer contesti organizzativi dolomiti sul mare in those jeans www cacchiate com jedem osiem edgar oceransky entregame tu amor skywards auto fiat idea hard disk ata 2 5 sementi ortaggi un angelo per satana pioneer sintonizzatore ntv rayados de mty fiche pelose out of order - fuori servizio video fish esa filmati storici calcio serie b scopate perverse monica te amo gazetta dello sport calendario con evidenziate le festivita italiane knightly crack certus halifax shopping telo proiezione franciasing senza rimorso max calendario 2005 mag 19 2 yes car credit amore provinciale forte dei marmi alberghi e hotel taranto sera dell ultimo mese universita di medicina bologna infiniti 35 canon ef-s 17-85 4-5 6 is usm www ver sexso cam-balla balla per sempre celentano scheda video ati x800 loreto ristorante giochi flash tutto gratis televisori al plasma lg frigorifero 188 cm manuali on line f-i modem adsl pppoa oh happy day jumpstart gadget suonerie cellulari samsung jonis bascir culle pali le calde labbra di emanuelle il prato macchiato di rosso basti (distretto) kalat vacanza studio in spagna mandaryna drifting juliana paz annuncio 15889 merdo no perditempo bejewlled telecom 187 sirio la comessa sailor moon s da scaricare recavo hd 160 gb esterno hard disk e floppy giannetto giuseppe paul marshal johnson jr sistema babilonico www figclnd it la strana societa primi dettagli su crackdown per xbox 360 lcd 17 tv televisori everybody gotta principe coraggioso modelle nude rebuffo bah7 tristeza vai via abbreviatura famiglie a canazei la voce del diavolo garou esmeralda houston tapis roulant black or white kotto, basse- amstrad dvix anticipazioni sul telefilm the o c sound blaster usb canon ef 24-85mm f 3 5-4 5 usm escort spagna last minute lignano mamme porche gratis escuchar la hormiguita acer travelmate tablet pc voli croazia effetti sonori per teatro airline69 renault clio 1994 san mateo denon avr 2105 inglesina emma hotel lignano scaricare disco di ripristino i feel you operazione segreta - operazione droga panis angelicus di haendel societa di lavoro interinale kasprzycki bambole gonfiabili val belluna lbp 1120 galleria colombo vocabolario sarazza resident evil 4 oggetti the sims julian beck ricerca cuochi blenders quattro mosche di velluto grigio argento description realtek rtl8139 810x family tavoli sedia o pson e cas e 380 d g profumi pagate condizionatori 3 split keys 007c00 deux freres nissan 4x4 prolunga scart

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)

Stored in the static folder, xpage files are portions of HTML that are rendered into static files when generate_static is run. Three tags are in the xpage namespace: xpage:page, xpage:title, and xpage:body.

The beginning of index.xpage (which generates the site's index page) is as follows - the three tags are analogous to the html, title, and body tags of an HTML document, except the body is included within the site's template. It is recommended to use xhtml as the default namespace to ease writing. As with templates, EPrints Control Format tags may be used.

<?xml version="1.0" encoding="iso-8859-1" standalone="no"  ?>
<!DOCTYPE page SYSTEM "entities.dtd" >
<xpage:page xmlns="http://www.w3.org/1999/xhtml" xmlns:xpage="http://eprints.org/ep3/xpage" xmlns:epc="http://eprints.org/ep3/control">
  <xpage:title>Welcome to <epc:phrase ref="archive_name" /></xpage:title>
  <xpage:body>Some example body text.</xpage:body>
</xpage:page>

When generate_statics is run, four static files are created for each xpage file. For index.xpage, these would be index.html (the HTML page), index.page (the contents of the xpage:body tag), index.title (the contents of the xpage:title tag), and index.title.textonly (the contents of the xpage:title with HTML tags stripped out). Note that these files are generated by generate_static, and shouldn't be edited by hand.