THL Toolbox > Developers' Zone > Web Development
Web Development: The THL Staff Web Production Manual
This documentation is intended for THL staff working on creating THL Web pages, including the use of templates for creating THL Portal and Project home pages. Some of these links go out to areas that are not subsumed under this Production Manual, so remember that this is the core home page for site production documentation. If are you new to this work, you should follow the manual sequentially from start to finish. Each sections builds upon and presumes the previous sections. Subsequently, you can utilize these as a reference resource to access sections as you need.
Getting Started
- THL Web Production at a Glace
- Obtain a User Account for Subversion
- Deploying Files to the Three Server Environments
- Code Editing Tools: oXygen, etc
- Test Edit on an Existing Page
Templates
- Creating a New Page - Global vs Template Files Explained
- The Anatomy of Your New Page, Part 2, Top to Bottom
- General Guidelines for Design of Portal Page
- Creating a New Portal or Project
- side-column-X-links.php File
- Creating a THL Template Page for Off-Site Use With Ruby On Rails
- Troubleshooting Right-Hand Secondary Navigation Menu
- Maintaining Banner Consistency in a Portal
Wikis
- Creating a THL Page with All Wiki Content
- Creating Teaser Boxes that Use Wiki Content
- Linking to Wiki Pages used as THL Content
- Formatting for Wiki Pages used as THL Content - this includes how to link to external resources using "explore" from a wiki-filled teaser box.
- Wiki Breadcrumbs
Nodes (e.g. places.thl.org, mms.thl.org, etc.) & Static Resources
- Introduction to THL Nodes Beyond the WWW
- Nodes for thlib.org and their Respective Subversion Repositories
- Linking To THL Nodes With Their Own Domain
- Mount points for static resources on blue.unix.virginia.edu
XML
- THL Essays In Cocoon
- XML Books
- Transforming an Old XML Essay
- XML Markup in THL
- Setting Up Cocoon 2.2
Styles and Scripts
- CSS Issues
- Encrypted Email Links (For THL Staff Only!)
- Javascript in THL
- Various Useful Code
GIT: Code for RoR Apps
Other Topics
- Directories and File Names for TIFF and JPG Files: note: the vast majority of images should come from the MMS
- Web Page Size and Web Site Speed
- Running THL from Your Local Server (localhost)
- Creating Short URLs and Digital Signatures
THL Web Production at a Glance
Please read THL Web Production at a Glace before going any further. It provides a quick introduction.
Getting Started
You won't get far if you have not taken care of all of these preliminary tasks. We presume you have a UVa userid - if not, please inquire with your supervisor about this.
- Obtain a User Account for Subversion, so you can access the repository that contains all of the THL web site files.
- Read and follow all of the instructions in the Subversion User Guide, which will walk you through the download, installation and configuration of necessary Subversion software, show you how to "check out" the main THL web files repository, and all other necessaries.
- Deploying Files to the Server, and learn how to use this tool that deploys files to the web servers.
- Make sure you have at least one of several good code editing tools we use.
- Finally, make a test edit on an existing page to make sure that all systems are go.
After you have accomplished all of the above, then you can move on to:
Creating a New Page - Global vs Template Files Explained
So, now you have the THL repository on your hard drive, you have all the tools at hand, you have the publishing powers, and you know how to use them. Time to learn about the way we separated and now use fundamental code elements, and get to work making something new. This is an extensive area, so we'll send you off to the Creating a New Page - Global vs Template Files Explained page for the full explanation.
Creating a New Portal or Project
This is a step up from making just a new page. This series of steps walks you through the process of creating an entirely new section of the THL site, one that has its own banner, menu and other features that distinguish it from a run of the mill THL page under the standard design and interface. This also is rather a lot to document, so we've made a separate Creating a New Portal or Project page to manage all that.
Workflow Process and Release to Production (R2P) Procedure
The meticulous process by which we develop, test, and then finally release our content to production
Mount Points for Static Resources on blue.unix.virginia.edu
Some content is just too big to push around in Subversion. For such, the Library/ITC provided mount points for static resources on blue.unix.virginia.edu. This section of the manual explains how to gain access to put content up there, and how to call the content via Web. The files kept on blue.unix include:
- Image Database Files
- Audio-Video Database Files
- Unidentified Audio Files
- Reprints of Journals
Further
There are many kinds of content to manage on the THL aside from our standard www pages. These will be listed here with links to respective manual pages as time goes on.
- Introduction to THL Nodes Beyond the WWW
- Nodes for thlib.org and their Respective Subversion Repositories
General Reference
At the moment, this is a grab bag of important information awaiting proper placement in the Manual.
Resources for Creating XML Documents
The following are general resources for creating XML documents in THL:
- Introduction to XML: this provides a general introduction to XML and its use to markup textual documents for display on the Web.
- Creating an XML Document: a brief overview of the practical steps involves in creating XML documents, and points to various THL Manuals and resources useful in this process.
- Creating an XML Essay for THL: these are more detailed instructions on creating an XML document for a standard essay.
- XML Markup Manual for THL: these is an exhaustive documentation of the various elements and attributes used in THL's TEI-based XML markup scheme for essays.
- THL Essay Term Glossary Table Creation Manual.doc (Version control - checked in)
- XML Editors: this provides manuals and tips for using various XML Editors in editing XML documents.
- XML Resources: these are various downloads for use in XML editing within THL.
The following are resources for using Microsoft Word to create word processing documents as an intermediary step that can then be easily converted into XML once the composition and editing is completed:
The following documents are specifically designed to help marking up XML documents with Tibetan language content:
- Creating an XML Document in Tibetan
- Guidelines for Using Tibetan Styles in Word
- Making Web Pages in Tibetan Unicode
The following are more specialized resources for THL Staff to use in maintaining THL XML pages:
- About XML Transformation
- Creating Secondary Navigation Links in THL Pages
- THL XML Home Page
- THL Toolbox Markup
- XSLT Stylesheets
- XML and Unicode Introduction
The following are other issues to be organized better at a later date:
- Searching Issues in THL
- Searching Other Websites
- Handling Cross-browser min-width/max-width/and height issues
- AJAX Issues: Customize Animated Loading Image
- Right-Hand / Left-Hand Menu Research Paper
- Integrate XForms with the Google Web Toolkit, Part 1: Introducing GWT's JavaScript Native Interface
Oscar's File Renaming Tool
http://www.mediachance.com/free/renamer.htm
Some benefits:
- Fast Editing of long list of file names - exactly like in a text editor
- All changes to files themselves are done at the very end when you press Apply Changes, not during editing.
- During Editing you can use Undo/Redo, and various tools like Upper Case/Lower Case or numbering.
- All changed lines are visibly marked
- It doesn't let you enter wrong characters
- A File List shows the original names on the disk.
- You can record a keyboard macro and apply to the file names.
- You can undo changes even after you write to disk
- It can integrate into windows Shell.