![]() |
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.
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:
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 .
|
![]() |
![]() |