home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / HIWChannels.asp < prev    next >
Text File  |  1997-11-01  |  4KB  |  114 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <!--META TAGS ARE RECOMMENDED FOR THE SEARCH ENGINE-->
  5. <META NAME="DESCRIPTION" Content="How It Works Page">
  6. <META NAME="KEYWORDS" CONTENT="help, code, source code, questions, explanation">
  7. <META NAME="GENERATOR" CONTENT="Microsoft Visual InterDev 1.0">
  8. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso8859-1">
  9. <!--END META TAGS-->
  10.  
  11. <TITLE>How This Page Works</TITLE>
  12. </HEAD>
  13.  
  14. <BODY  BGCOLOR=#FFFFFF TOPMARGIN=0 LEFTMARGIN=0 ALINK=#23238E VLINK=#808080 LINK=#FFCC00>
  15. <BASEFONT FACE="VERDANA, ARIAL, HELVETICA" SIZE=2>
  16.  
  17. <!--Change link color on mouseover
  18.     Only if running Internet Explorer 4.0 or later -->
  19. <!--#include file=../libHighlight.inc-->
  20.  
  21. <!--BEGIN TOP TABLE HOLDING GRAPHIC, NAVIGATIONAL LINK, AND MAIN CONTENT-->
  22. <TABLE WIDTH="100%" HEIGHT="100%" CELLPADDING=0 CELLSPACING=0  BGCOLOR="#000000" BORDER=0>
  23.     <TR>
  24.         <TD BGCOLOR="#000000" ALIGN=CENTER VALIGN=TOP WIDTH=170>
  25.             <BR>
  26.             <IMG SRC="../images/btslarge.jpg" HEIGHT=119 WIDTH=171  ALT="Behind the Scenes at Exploration Air" BORDER=0 ></A>
  27.             <BR>
  28.             <BR>
  29.             <BR>
  30.             <!--BACK BUTTON AND VARIABLE TO RETURN TO ORIGINATING PAGE-->
  31.             <A HREF="<%=Request.ServerVariables("HTTP_REFERER")%>"><IMG SRC="../images/barrowy.gif" HEIGHT=8 WIDTH=8 ALT="Return to Previous Page" BORDER=0></A>
  32.              <FONT SIZE=2 FACE="VERDANA, ARIAL, HELVETICA"><STRONG>
  33.             <A HREF="<%=Request.ServerVariables("HTTP_REFERER")%>">
  34.             B  A  C  K </A>
  35.             </STRONG></FONT>
  36.             <BR> 
  37.             <BR>
  38.             <!--JAVASCRIPT TO VIEW PAGE'S SOURCE CODE-->
  39.             <A HREF="JavaScript:openWindow('../IEPush/MakeCDF.cdx')">View Source</A>
  40.             <BR>
  41.         </TD>
  42.  
  43.         <TD BGCOLOR="#FFFFFF" BACKGROUND="../images/btsbg.gif" VALIGN=top>
  44.             <BR CLEAR=ALL>
  45.             <TABLE WIDTH="100%" CELLPADDING=10 CELLSPACING=0 BORDER=0>   
  46.                 <TR>
  47.                     <TD VALIGN=top>
  48.                         <FONT FACE="VERDANA, ARIAL, HELVETICA" COLOR="#0000FF" SIZE=5>How The Channels Page Works</FONT>
  49.                         <HR>
  50.                         <FONT FACE="VERDANA, ARIAL, HELVETICA" SIZE="2">
  51.                         <H2>Functional Overview</H2>
  52.                         On Exploration Air Channels page the user can subscribe to news as it is updated. The technology is new in
  53.                         Microsoft Internet Explorer 4.0, and the Exploration Air site uses a new feature of Microsoft Internet Information
  54.                         Server 4.0 called CDX to make creating channels easier.
  55.                         <P>
  56.                         The best way to think of CDX is:<P>
  57.                         <FONT FACE="COURIER" SIZE=3>
  58.                         <CENTER><STRONG>
  59.                         CDX = Channel Definition Format + Active Server Pages
  60.                         </STRONG></CENTER></FONT>
  61.                         <P>
  62.                         Internet Explorer 4.0 supports the Channel Definition Format (CDF) to structure channel information, and Active Server Pages (ASP) 
  63.                         can be used to personalize channel data. Click <A HREF="http://www.microsoft.com/ie/ie40">here</A> 
  64.                         for more information on CDF.
  65.                         <P>
  66.                         <H2>A Closer Look</H2>
  67.                         The <STRONG>MakeCDF.cdx</STRONG> file is the key file. It reads the data from the 
  68.                         <A HREF="..\PR\prFileList.txt">prFileList.txt</A> file, which is used to build the headlines and the links to the 
  69.                         actual news material. This file is made up of chunks of data, each chunk is three lines. The first line is the headline. 
  70.                         The second line is the name of the full story, and the third line is the category.
  71.                         <P>
  72.                         <STRONG>Example:</STRONG><P>
  73.                         EA Named Airline of the Year<BR>
  74.                         970129a.asp<BR>
  75.                         General<P>
  76.                         </FONT>
  77.                     </TD>
  78.                 </TR>
  79.             </TABLE>
  80.             <!--END TOP TABLE HOLDING GRAPHIC, NAVIGATIONAL LINK, AND MAIN CONTENT-->
  81.             <BR>
  82.             <BR>
  83.  
  84.             <CENTER>
  85.             <!--BEGIN LEGAL INFORMATION-->
  86.             <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
  87.                 <TR>
  88.                     <TD>
  89.                         <FONT FACE="VERDANA, ARIAL, HELVETICA" SIZE="1"><A HREF="../legal.htm">©1997 Microsoft Corporation. All rights reserved. Terms of Use.</A></FONT>
  90.                         <P>
  91.                     </TD>
  92.                 </TR>
  93.             </TABLE>
  94.             </CENTER>
  95.             <!--END LEGAL INFORMATION-->
  96.         </TD>
  97.     </TR>
  98. </TABLE>
  99.  
  100. </BODY>
  101. </HTML>
  102.  
  103. <SCRIPT LANGUAGE=JavaScript>
  104. function openWindow(SourceURL)
  105. {
  106.     // Set some defaults
  107.     width=450;
  108.     height=450;
  109.  
  110.     url = "code.asp?Source=" + SourceURL;
  111.     window.open(url,"Sample","resizable=yes,scrollbars=yes,width=" + width + ",height=" + height);
  112. }
  113. </SCRIPT>
  114.