July 2000
Intermediate to advanced
492 pages
14h 53m
English
GetAllContent —
objContentRotator.GetAllContent(
strContentSchedFile)
Retrieves all the HTML snippets listed in the content schedule file.
When you display the content from the call to GetAllContent, each
snippet will be separated by a horizontal rule tag
(<HR>) in the HTML.
strContentSchedFile
A string value representing the virtual or relative pathname and filename of your content schedule file. You cannot use physical paths or absolute URLs (those beginning with http://, //, or \\) for this parameter.
<HTML>
<HEAD>
<TITLE>Document List</TITLE>
<BODY>
<%
' Dimension local variables.
Dim objContentRotr
Dim strAllHTMLContent
' Create an instance of the Content Rotator object.
Set objContentRotr = _
Server.CreateObject("MSWC.ContentRotator")
' Retrieve all the quotes from the Quote content
' schedule file for December. The call to GetAllContent
' will separate each HTML snippet from the Content
' Schedule file with an <HR> tag.
strAllHTMLContent = objContentRotr.GetAllContent( _
"/SchedFiles/DecemberQuotes.txt")
' Now you can add the content thus retrieved to the
' HTML sent to the client.
%>
All quotes:<BR>
<%= strAllHTMLContent %>
. . . [additional HTML and code]The primary use for this method is for maintenance of the content schedule file.
Read now
Unlock full access