Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 1596aa0c95b4ccf7adfa8febc56cc15c > files > 101

webmake-2.4-2mdk.noarch.rpm

<wmmeta name="Title" value="The &lt;contents&gt; Tag" />
<wmmeta name="Section" value="02-tags_attrs" />
<wmmeta name="Score" value="40" />
<wmmeta name="Abstract">
load many chunks of content from one data source
</wmmeta>

Content can be searched for using the &lt;contents&gt; tag, which allows you
to search a "data source" [ds] (directory, delimiter-separated-values file,
database etc.) for a pattern.

Apart from the fact that it loads many contents instead of one, it's otherwise
identical to the "content tag" [content]; see that tag's documentation
for details on what attributes are supported.

	[ds]: $(datasources)
	[content]: $(content)

${datasource_attrs.inc} 
${datasource_file_protocol.inc}
${datasource_svfile_protocol.inc}

New-File Templates
~~~~~~~~~~~~~~~~~~

If you create a file called ##NEW_FILE_TEMPLATE## in a contents directory,
that will be used as a template for WebMakeCGI users editing new files under
that directory.  Files with this name will be automatically skipped by
WebMake.

Example
=======

<safe>
  <contents src="file:raw/text" name=".../*.txt" format="text/et" />
  <contents src="file:raw/html" name=".../*.html" format="text/html" />
</safe>