![]() |
Keeping Track of Users![]() ![]() ![]() ![]() ![]()
When a user is browsing through web pages using channels, then the server cannot keep track of the user. In order to collect statistics about offline browsing of a site the CHANNEL element provides two child elements namely LOG and LOGTARGET. The LOG element has only one possible value and is of the following form: <LOG VALUE ="document:view"/> The LOGTARGET element has an HREF attribute that identifies the URL it will
be sent to, a METHOD attribute identifies the HTTP method like POST or PUT that
will be used to upload the log file, and a SCOPE attribute that has one of the
three values: ALL, ONLINE, or OFFLINE indicating which page views should be
counted. The LOGTARGET element may have a PURGETIME child with an HOUR attribute
that specifies the number of hours for which the logging information is considered
valid. It may also have any number of HTTP EQUIV children used to set particular
keyvalue pairs in the HTTP MIME header. The following code illustrates the use
of the LOG and LOGTARGET elements.
<CHANNEL LASTMOD = " 2000 10 17T1 0: 15 " > The USAGE is a child element for both CHANNEL and ITEM elements. The USAGE
element can be used in many different ways and the way is determined by the
value of the VALUE attribute. The possible values for the VALUE attribute are:
2. Email 4. NONE 5. ScreenSaver 6. SoftwareUpdate The Channel is the default value for the USAGE element. An ITEM with channel usage appears in the browser's channel bar. Email ValueIf the value of the usage element is 'Email', this gives you an opportunity to send a briefer message specifying what has changed, rather than sending the entire changed page. The following code illustrate the use of Email value: <ITEM HREF = "inform.html"> <USAGE VALUE = "Email"/> </ITEM>
Web pages or images that are directly displayed on the user's desktop are known as Desktop components. The desktop component is installed on the subscriber's desktop with a separate CDF document containing an ITEM element that points to the document to be displayed on the user's desktop. This USAGE element can contain child elements like OPENAS, HEIGHT, WIDTH, and CANRESIZE. The VALUE attribute of the OPENAS element specifies the type of file at the location in the ITEM element's HREF attribute. This should either be HTML or Image. By default the value of the OPENAS element is HTML. The VALUE attributes of the HEIGHT and WIDTH elements specify the number of pixels the item occupies on the desktop. The VALUE attribute of the CANRESIZE element can take in Yes or No which indicates whether the user can change the height and width of the component. Horizontal or vertical resizing can be independently allowed by using the CANRESIZEX and CANRESIZEY elements. The following code illustrates the use of the DesktopComponent value. Screensaver ValueItems whose usage value is NONE are precached and are made readily available for applets and HTML pages that refer to them. These items do not appear in the channel bar. The following code illustrate the use of the NONE value. <ITEM HREF = "penta.au" > <USAGE= "NONE"/> </ITEM> slue Items whose USAGE value is ScreenSaver point to an HTML page to replace the normal desktop after a user-specified period of inactivity. Generally, a screen saver will be written as a completely separate CDF document from the normal channel, and will require a separate download and install link. For example: <A HREF="pentafour.cdf "> Download and install Pentafour screen saver </A> Unless the subscriber has already selected the Channel Screen Saver as the system screen saver in the Display control panel, the browser will ask the user whether they want to use the Channel Screen Saver or the currently selected screen saver. Assuming they choose the Channel Screen Saver, the next time the screen is saved, the document referenced in the screen saver channel will be loaded and displayed. The actual document displayed when the screen is saved is pointed to by the ITEM element HREF attribute. This page will generally make heavy use of DHTML, JavaScript, and other tricks to animate the screen. Software UpdateAny updates to software and products can be notified using software update channels. To create a software push channel, write a CDF file with a root CHANNEL element whose USAGE element has the value SoftwareUpdate. This channel can have a title, abstract, logos, and schedule, just like any other channel. Besides the VALUE of the USAGE element, the key to a software update channel is its SOFTPKG child element. The HREF attribute of the SOFTPKG element provides a URL from which the software can be downloaded and installed. The URL should point to a compressed archive of the software in Microsoft's cabinet (CAB) format. Domain Name Search |
|
Domain NamesXML HTML to XML Why XML? XML Example Program XML Structure XML Declaration Physical Structure in XML XML Syntax Well Formed and Valid Document Document Type Definition Logical Structures
Notation and Notation Declarations Entity References Importing an External DTD Cascading Style Sheets (XML) Rendering XML with CSS An Example Using CSS CSS Style Rules
XSL XSL Transformation XSL Formatting XSL Style Rules Schemas Limitations of DTD Validity of an XML Document
An Example using XML Schema Namespaces Xlinks and Xpointers Terminology Xlinks Extended Link Xpointers DOM and SAX What is DOM? The Basic Structure of an XML DOM-based Module What is SAX? When to use DOMWhen to use SAX Accessing the Database Using XML Delivering XML with Data Retrieving Data from SQL Database Using Web Assistant Wizard Displaying Records from the XML_EX Database Server Dynamic Web Publishing with Dynabase Enhydra Java/XML Application Server XML Server Technologies Purpose and Goal of the XML/EDI Guidelines Definitions for XML/EDI The Electronic Enterprise Server Scope of XML/EDI The Five Technologies of XML/EDI Integrating XML with EDI Ignore and Include Keywords XML/EDI Components The Implementation Process Identifying Data Sets Developing DTDs Application Specific Extensions XML and JAVA XML Application Architecture Channel Definition Format Creation of Channels Creating Channels Using CDF Document Description of the Channel Scheduling Logos Precaching Web Crawling Keeping Track of UsersWeb DesignWeb HostingE Commerce |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |