Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
VLit
(section)
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Invoking VLit== ===Simple Parameters=== A simple ''transclusion'' is achieved by adding the following to the end of the URL of a text/* document: <code> ?xuversion=1.0&locspec=charrange:offset/length </code> Replacing "offset" and "length" with an integer. An offset of 0 and a length of 1 will return the first character. eg. <code> http://www.weebleprints.co.uk/archive/00000543/01/notfalldown.txt ?xuversion=1.0&locspec=charrange:1403/130 </code> (All one URL, only split to fit on the page) This will return characters from offset 1403 to 1533. ===Human Mode=== An optional "mode" parameter may by used. The "human" mode returns the character range as HTML with characters like & properly escaped and new line characters turned into HTML "br" break tags. It will place two links before the text: a (c) link which will link to an explanation of transcopyright - If you want to change this URL you'll have to hack VLit.pm - and a TRANS link which will take you to the context of the quote - 1024 extra characters before and after but with the quote highlighted in red. Clicking TRANS on the context view will take you to the full raw document. ===XML-Entity Mode=== You may also set mode to be xml-entity, eg: <code> http://lemur1.ecs.soton.ac.uk/archive/00000134/01/xuDation-d18.txt? locspec=charrange:10429/488&xuversion=1.0&mode=xml-entity </code> This returns the transclusion as a piece of XML which can be included as an external entity by other XML documents. eg: <code> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <transclusion xlmns="http://xanadu.net/transclusion/xu/1.0" href="http://lemur1.ecs.soton.ac.uk/archive/00000134/01/xuDation-d18.txt" offset="10429" length="488">A more recent interactive screen implementation of transpointing windows (screen shot fig. 5) was created by Ka-Ping Yee in 1999. This was served, like Walker's, from our xu88 server (rechristened as Udanax Green). Yee's PYXI is a skeleton front end that shows and edits text, links and transclusions, and may be extended to reach more of the server's functionality. Both Udanax Green and PYXI were released under an open source license in 1999 (120), and are available at udanax.com. </transclusion> </code>
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)