Introdusing ActiveRefresh
Features
Ordering Information
Registration of the Program
License Agreement
Customer Support Information
Using ActiveRefresh
Foreword
Getting Started
How to Create a New Column
Simple Example of Column Creation
How to Sort Columns
How to Update Columns
How to Add a Column From a File
How to Save Column
Web-column Properties
General Properties
Alert and Update Parameters
Search Template
What is Search Template for?
Search Template Description
Search Pattern Format
Editing Search Template
Easy Way to Create Search Template
Output Template
What is Output Template for?
Output Template Description
Editing Output Template
Color Theme
Group Properties
General Properties
ColorTheme
Mail-column Properties
General Properties
Update and Alert Properties
Output Template
Color Theme
YahooMail-column Properties
General Properties
Update and Alert Properties
Color Theme
Programm Settings
Examples of Creating a Column
Simple Example of Creating a Column
Simple Example of Creating a Search Template
An Example of a Column Making.
A Complex Example of a Column Making.
 
It is really a difficult task to create columns. If you created a proper column you may , , and we shall insert it into our columns database. Then it will be available to some other users of the program .


The first example is meant to introduce a simple search template and a simple output template.
Suppose we have the following html file.

<HTML>
<BODY>
<HR>
<FONT FACE="sans-serif" SIZE="2">
The latest news
</FONT>
<HR>
32/07 2002 г., 16:36 GMT 19:36 MCK<BR>
<FONT FACE="sans-serif" SIZE="2"><H3>Главная</H3></FONT>
<P>
<A href="news1.html">
<B>Sensation </B><BR>
</A>
There was a decision taken by the government to celebrate Internet birthday twice a year.
<P>
<P>
<BR>
<A href="news2.html">
<B>Another sensational piece of news</B><BR>
</A>
This Sunday morning several leading newspapers reported a considerable increase in the quality of news reports.
<P>
<P><BR>
<A href="news3.html">
<B>An event in the capital.</B><BR>
</A>
It is reported that there will be great shortage of soft drinks in the capital these days.
<P>
<P><BR>
<BR>
</BODY>
</HTML>


We want to follow only the news headlines (they are highlighted with red). We note here that all the news headers are marked
<B> from left and </B> from right.

We may this search template pattern:
<B>{title}</B>

The program finds these options:

1. It would find <B>.
2. It would find </B>.
3. Everything that is between <B> and </B> the program will put into the "title" variable
4. The program will repeat steps1-3 as far as possible
As the result the "title" variable would contain the array variable of the following string:

Sensation
Another sensation
An event in the capital

The info you need is found now!
The only thing left is to display the info. To do this you have to define the output template.
Now we make a new output template.

Enter in the "Prolog" field the following data: <UL>

Enter in the "Epilog" field the following data: </UL>

The tempale pattern is written in this way:
<LI>{title}</LI>

As the result of these operation the news header will have this form:

My favorite news channel
  • Sensation
  • Another sensation
  • An event in the capital


It is really a difficult task to create columns. If you created a proper column you may , , and we shall insert it into our columns database. Then it will be available to some other users of the program .