Home    News    Download sites       

Software Development and Distribution

       Support/FAQ    About    Contact

1-abc.net WebDynamicer 1.00

Web Files

To dynamize your web files, that include *.htm, *.html, *.pl and *.php files, you have to add new lines to the places where you want to exchange parts of the source code. These comments are used as identifiers. A HTML part, for example, starts with “<!-- 1-abc.net …” and ends with “<!-- 1-abc.net … end -->”, with “…” as the identification words of the part you want to make configurable. Both lines don’t have any influence on the browser’s behaviour because they are understood as comments.


<!-- 1-abc.net Title --> <title>My website!</title> <!-- 1-abc.net Title end -->
</head> </html>
This very simple website does not do anything else than opening a page with the title “My website!”. Line 3 and 5 allow 1-abc.net WebDynamicer to make changes to these parts, if a template file includes the identifier “<!-- 1-abc.net Title --> and the end mark too.

Template files

Template files are files that include data to be exchanged in the source code of your web files. You can take any kind of files as templates, but in general that will be *.ini, *.txt or *.htm/*.htm/*.pl/*.php files because these files are “simple enough” to keep best overview about your templates. Changes to your web files will only be made when the same identifiers are found in the template files.


     <!-- 1-abc.net Title -->
     <title>The most craziest website I ever made!</title>
     <!-- 1-abc.net Title end -->
If you dynamize the website described above with this template, the title would be changed to “The most craziest website I ever made!”. And when you want to change the title of many websites to this, it won’t take any time longer now.

Please note:

  • Any start and end identifier must stand alone in one line. Do never write an identifier in a line together with other parts of source code.
  • Make sure that you use the identifiers correctly, don’t delete the space between “end” and “-->” for example.
  • Please verify if every template start in the files also has an end.
  • As the definition of comments are different in other developing languages, for Perl scripts the default identifiers “# 1-abc.net … -->” and “# 1-abc.net … end -->” must be used. For PHP code the default identifiers are “// 1-abc.net … -->” and “// 1-abc.net … end -->”
  • Please use logical words in the identifier like “Title” (in the example above), “Headline for product xy” or “Copyright information 2005” to see on the first view, what this template is about.
  • If you want to change the identifiers, find more about this in the options chapter.