<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
 <!-- page name="techniques"-->
 <template>
  <do optional="false" label="Back Up" type="accept">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#techniques"/>
  </do>
 </template>
 <card ordered="true" newcontext="false" id="techniques">
  <do optional="false" label="Back Up" type="accept">
   <noop/>
  </do>
  <do optional="false" label="Back" type="prev">
   <prev/>
  </do>
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#techniques"/>
  </do>
  <a href="#techniques" accesskey="1">Page 1</a>
  <br/>
  <a href="#onepurpose" accesskey="2">Single-purpose Web Pages</a>
  <br/>
  <a href="#repurposing" accesskey="3">Repurposing</a>
  <br/>
  <a href="#templates" accesskey="4">Templates</a>
  <br/>
  <a href="#separation" accesskey="5">Content vs. Presentation</a>
  <br/>
  <a href="#sspub" accesskey="6">Single-source</a>
  <br/>
  <a href="#mlpub" accesskey="7">Multi-level</a>
  <br/>
 </card>
 <card ordered="true" newcontext="false" id="techniques">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="designtools.wml#choosetool"/>
  </do>
  <!-- h1 -->
  <h1>Web publishing techniques</h1>
  <p>Publishing techniques for web sites have evolved almost as much as the <a href="standards.wml">web publishing standards</a> have evolved. Since the protocols that allow clients and servers to communicate on the worldwide web are well defined and designed for interoperability, things can be simplified by looking at just one side or the other at a time. For example, when looking at web publishing from the perspective of content being delivered to the client browser, the wide variety of ways that a server can produce content can be ignored. From the client perspective, the evolution of web publishing techniques from the simplest to the most sophisticated would include: </p>
  <p align="left">
   <a href="designtools.wml#choosetool">Next: Page 2</a>
   <br/>
   <a href="#techniques">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="onepurpose">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#repurposing"/>
  </do>
  <p align="left">Single-purpose web pages coded using the 1997 HTML 4 standard</p>
  <p align="left"> possibly, separately-generated printer-friendly versions </p>
  <p align="left">Well-formed XHTML web documents</p>
  <p align="left"/>
  <p align="left">
   <a href="#repurposing">Next: Repurposing</a>
   <br/>
   <a href="#techniques">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="repurposing">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#templates"/>
  </do>
  <p align="left">Repurposing of XHTML content</p>
  <p align="left">Content produced in well-formed XHTML format can be easily transformed for other publishing channels. This is a good technique for providing device independence without duplication of content. </p>
  <p align="left">The current version of most browsers will perform the transformation automatically, which offloads some of the dynamic processing otherwise performed on the server. The browser versions which are required are: <p align="left"/>
  </p>
  <p align="left">Some examples of repurposing content to allow a web site to be viewed from cell phones and other mobile devices, as well as traditional web browsers include: <p align="left"/> You can visit these sites from both a mobile device such as a cell phone and traditional web browser to see the difference in presentation among different devices. You can also do "View Source" to examine how repurposing works. </p>
  <p align="left">
   <a href="#templates">Next: Templates</a>
   <br/>
   <a href="#onepurpose">Prev: Single-purpose Web Pages</a>
   <br/>
   <a href="#techniques">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="templates">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#separation"/>
  </do>
  <p align="left">Using templates for common elements</p>
  <p align="left"> Be sure to <a href="designtools.wml#choosetool">choose a design tool that supports templates</a>. The advantages of using templates include: <p align="left"/>
  </p>
  <p align="left">
   <a href="#separation">Next: Content vs. Presentation</a>
   <br/>
   <a href="#repurposing">Prev: Repurposing</a>
   <br/>
   <a href="#techniques">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="separation">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#sspub"/>
  </do>
  <p align="left">Separation of content and presentation</p>
  <p align="left">Recognizing the difference between the actual content of a web site and how it can be presented is valuable in terms of understanding what information can be provided and the various ways it can be delivered to users. For example, syndication of the content might be possible by providing the same information in an <a href="http://www.Acronyms.net/r.xml#rss">RSS</a> feed. </p>
  <p align="left">IMO, separation of content from presentation is even more valuable than CSS, which allows applying the same styles to specific content layout elements. For example, if you have a table layout for a product catalog and another table layout for a shopping cart, you can easily apply the same styles to both. In many cases, however, designers want those things to be easily recognizable and wind up adding selectors to apply different styles to the same element types. Once you get to the point where styles are being applied only to one group of elements on a page, the value of separating out the styles has been lost. </p>
  <p align="left">
   <a href="#sspub">Next: Single-source</a>
   <br/>
   <a href="#templates">Prev: Templates</a>
   <br/>
   <a href="#techniques">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="sspub">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#mlpub"/>
  </do>
  <p align="left">Single-source publishing</p>
  <p align="left">Single-source publishing is a method of delivering information to various types of devices from a single source of content. This can be accomplished by separating the informational content itself from the markup code for various presentation formats. For example, the information from a single content source could be formatted in a number of different ways for delivery to handheld devices and printers in addition to traditional web browsers on desktop or laptop computers. The disadvantage is that by simply repurposing the same content for different devices, the amount of information may not be appropriate for the other types of devices. For example, if an online article consists of multiple web pages, you would have a separate printer-friendly document for each page of the article and those pages might be too large for delivery to mobile devices with small screen sizes. </p>
  <p align="left">
   <a href="#mlpub">Next: Multi-level</a>
   <br/>
   <a href="#separation">Prev: Content vs. Presentation</a>
   <br/>
   <a href="#techniques">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="mlpub">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="designtools.wml#choosetool"/>
  </do>
  <p align="left">Multi-level publishing</p>
  <p align="left">In multi-level publishing, the content has a hierarchical structure that allows delivering content from different levels of the hierarchy to different types of devices. For example, if an online article consists of multiple web pages, a document created in a printer-friendly format should include the entire article as a single document. For cell phones and other types of portable devices with small screen sizes, such as smart phones and mobile PDAs, the content should be delivered in smaller pieces. The hierarchical structure of XML documents is well suited to supporting a multi-level content structure and is therefore the basis for the application of this technology which is used by <a href="#xmlstylesNOTFOUND">XML Styles</a>. </p>
  <p align="left">
   <a href="designtools.wml#choosetool">Next: Page 8</a>
   <br/>
   <a href="#sspub">Prev: Single-source</a>
   <br/>
   <a href="#techniques">Back Up: Menu</a>
   <br/>
  </p>
 </card>
</wml>

