You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/01/25 12:30:28 UTC

cvs commit: xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs ehtml-sample.ehtml site.xml html-sample.html

jefft       2003/01/25 03:30:28

  Modified:    src/resources/fresh-site/src/documentation/content/xdocs
                        site.xml
  Added:       src/resources/fresh-site/src/documentation/content/xdocs
                        ehtml-sample.ehtml
  Removed:     src/resources/fresh-site/src/documentation/content/xdocs
                        html-sample.html
  Log:
  HTML files that have menu/tabs added must now have a .ehtml extension
  
  Revision  Changes    Path
  1.6       +1 -1      xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/site.xml
  
  Index: site.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/site.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- site.xml	25 Jan 2003 10:39:41 -0000	1.5
  +++ site.xml	25 Jan 2003 11:30:28 -0000	1.6
  @@ -24,7 +24,7 @@
         <ihtml label="iHtml" href="test.html"/>
       </sample>
       <sample-ihtml label="Sample ihtml page" href="ihtml-sample.html"/>
  -    <sample-ihtml label="Sample html page" href="html-sample.html"/>
  +    <sample-ihtml label="Sample html page" href="ehtml-sample.html"/>
       <changes label="Changes" href="changes.html"/>
       <todo label="Todo" href="todo.html"/>
     </about>
  
  
  
  1.1                  xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/ehtml-sample.ehtml
  
  Index: ehtml-sample.ehtml
  ===================================================================
  <html>
    <!-- Note: no head element or external CSS refs.  Elements outside the body are ignored -->
    <body>
      <h1>Sample HTML page</h1>
      <p>
      This HTML page body is copied across directly from
      <tt>src/documentation/content/xdocs</tt>. Only the menus and tabs are added
      by Forrest.
      </p>
      <p>
      Using raw HTML like this is not recommended, because the advantages of
      separating content from presentation are lost.  In particular, Forrest
      can't generate PDFs of this page.
      </p>
      <p>
      Still, there are many cases when the Forrest DTD isn't sufficient, such as
      when you want to embed applets, <a href="javascript:alert('Opened with         Javascript')">Javascript</a>,
  	<table cellpadding="5">
  		<tr bgcolor="#aaffff">
  			<td>Tables</td><td>
  				<table>
  					<tr>
  						<td bgcolor="#ffffaa">within</td>
  						<td bgcolor="ffaaff">tables</td>
  					</tr>
  				</table>
  			</td>
  		</tr>
  	</table>
  	HTML Forms:
  	<form>
  		<select name="skin">
  			<option value="krysalis-site">krysalis-site</option>
  			<option value="forrest-site">forrest-site</option>
  		</select>
      <input type="submit" value="Change Skin (temporarily, in the webapp)"/>
  	</form>
  	and other HTML <blink>delights</blink>
  
      </p>
      <p>
      You can still take advantage of Forrest's <a href="http://xml.apache.org/forrest/linking.html">site: linking</a>, eg
      <a href="index.html">&lt;a href="site:index"&gt;</a>
      </p>
    </body>
  </html>