Ways to Publish TEI on the Web

Methods to publishing TEI content to the web
There are whole range of options for publishing TEI onto the internet. The choices made by groups largely reflect the available skills and funding and the goals and scope of the effort.

Domains
The root url of your published TEI needs to be consistent, but to enable google searching and to allow uses to re-find your content. The URL can also be an important part of the branding of your effort.
 * Some efforts choose to be in subdomains of academic institutions ( http://epidoc.cch.kcl.ac.uk/inscriptions/index.html, http://www.ota.ox.ac.uk/ , etc) these subdomains are typically free and brand the published TEI with the institutions identity.
 * Others choose to have their own domains (http://papyri.info/idp_static/current/ http://www.freedict.org/) these are most commonly cross-institutional collaborations, these domains typically cost a small amount of money to register and maintain.
 * Some hosted services (i.e. google sites) have their own fixed domain that users get little or no say in.

Filenames
Many systems have difficulty with filenames containing non-ASCII characters or spaces (this is very common with poorly written scripted system on UNIX platforms). Others have difficulties with multiple filesnames which differ only by case (DOS-compatible filesystems are unable to make this distinction). It is recommended that you avoid these unless absolutely necessary or you have already tested that thery're permitted on your choose system.

Single file vs Multiple files
Some groups may choose to have all their TEI data in a single file or spread it across multiple files. The multiple files are combined, either in a database or in XML (using a technique such as xpointer). Advantages of the single file approach include:
 * Conceptually easy
 * Easy editing
 * Header information doesn't need to be duplicated across multiple files
 * Constraints (schema / schematron validity) easier to check

Advantages of the multiple file approach include:
 * Files sizes kept within the range of conventional editors
 * Finer-grained operations (updating, indexing, version control, etc) possible,
 * Better for for multi-person teams as different people can work on different documents
 * Allows explicit division of TEI into logical units for processing and distribution.

Ensuring Google can index your content
If the findability of your content on popular search engines is important to you, there are a couple of points to bear in mind.
 * Use short, sane URLs, unique before the options and search terms (for a counter-example see http://www.nzdl.org/niupepa which is not findable by google). This means that if you're using a database to present your TEI, the core texts should be reachable by browsing simple URLs rather than entering search terms.
 * Use quality metadata in the generated the HTML
 * If you have a page about "Nouns in Klingon" then the string "Nouns in Klingon" should occur in the HTML tag, a dc.title tag and in a, or tag on the page. Preferably it should be mentioned in the text too. It should appear in language you're wanting people to be able to search in (English, Klingon, etc)
 * You should try not to move the content around. This will confuse both google and normal people who've bookmarked it.

Here are two separate tables, one describes the form of the content presented on the web, the other describes how that might be hosted

Remember that for polished websites at least some CSS (Cascading StyleSheets) skills are going to required. For pages with at least some dynamism (drop down menus, expanding sections, etc), a little javascript skill goes a long way.

Many service-orient TEI publishers have (at least) a pair of servers, with a development server that is used for testing new developments and can also be pressed into service to replace the primary (or live) server should it develop a fault. This gives these publishers fault-tolerance. Such systems are significantly easier to construct with the flexibility virtual servers.