Update of /var/cvs/documentation/informationanalysts
In directory james.mmbase.org:/tmp/cvs-serv14552
Modified Files:
applications.xml
Log Message:
multiple contextsources(?) is no longer supported I believe
See also: http://cvs.mmbase.org/viewcvs/documentation/informationanalysts
Index: applications.xml
===================================================================
RCS file: /var/cvs/documentation/informationanalysts/applications.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- applications.xml 21 Apr 2009 09:28:01 -0000 1.15
+++ applications.xml 21 Apr 2009 12:05:57 -0000 1.16
@@ -88,7 +88,7 @@
</listitem>
</itemizedlist>
- <para>An MMBase application consists of:</para>
+ <para>A MMBase application consists of:</para>
<itemizedlist>
<listitem>
@@ -176,23 +176,22 @@
<neededbuilderlist>
<builder maintainer="mmbase.org" version="1">mags</builder>
<builder maintainer="mmbase.org" version="1">urls</builder>
- ...
+ <!-- ... snip ... -->
</neededbuilderlist>
<neededreldeflist>
<reldef source="related" target="related" direction="bidirectional"
guisourcename="Related" guitargetname="Related" builder="insrel" />
<reldef source="posrel" target="posrel" direction="bidirectional"
guisourcename="Posrel" guitargetname="Posrel" builder="posrel" />
<reldef source="sorted" target="sorted" direction="bidirectional"
guisourcename="Sorted" guitargetname="Sorted" builder="posrel" />
- <!-- sorted is used for tests where the role-name not equals builder
name -->
</neededreldeflist>
<allowedrelationlist>
<relation from="mags" to="news" type="posrel" />
<relation from="news" to="urls" type="posrel" />
- ...
+ <!-- ... snip ... -->
</allowedrelationlist>
<datasourcelist>
<datasource builder="mags" path="MyNews/mags.xml" />
<datasource builder="news" path="MyNews/news.xml" />
- ...
+ <!-- ... snip ... -->
</datasourcelist>
<relationsourcelist>
<relationsource builder="insrel" path="MyNews/insrel.xml" />
@@ -392,15 +391,19 @@
<sgmltag class="attribute">path</sgmltag> attribute. For MyNews we saw
that this is "MyNews/backup.xml".</para>
+ <programlisting><contextdepth>
+ <startnode>
+ <builder>mags</builder>
+ <where>title=='MyNews magazine'</where>
+ </startnode>
+ <depth>3</depth>
+</contextdepth> </programlisting>
+
<para>Most applications come with a 'backup.xml' file that describes the
startpoint for exporting data (as described below). It is not necessary
to specify a file - i.e. if an application is only meant to be installed
- and not exported. You can also use other filenames (though 'backup.xml'
- is the convention) or specify multiple contextsources. In the latter
- case, the administration pages require the user to choose the
- contextsource with which to make the export, using the freeform <sgmltag
- class="attribute">goal</sgmltag> attribute to give user-feedback on the
- intention of the contextsource.</para>
+ and not exported. You can also use other filenames, though 'backup.xml'
+ is the convention.</para>
<note>
<para>While we speak about "backup" here, the system can also be used
@@ -476,11 +479,11 @@
</listitem>
<listitem>
- <para><sgmltag><depth>5</depth></sgmltag></para>
+ <para><sgmltag><depth>3</depth></sgmltag></para>
- <para>Specifies the depth of the search (the maximum number of
- nested searches) used in the backup algorithm (in the example this
- is 5 levels deep).</para>
+ <para>Specifies the depth of the search - the maximum number of
+ nested searches - used in the backup algorithm. In the above example
+ it is 3 levels deep.</para>
</listitem>
</itemizedlist>
</section>
@@ -576,7 +579,7 @@
</section>
<section>
- <title>How to install a MMBase application</title>
+ <title>How to install an MMBase application</title>
<note>
<para>Instead of installing an MMBase application the term "restoring"
@@ -584,7 +587,7 @@
used.</para>
</note>
- <para>You can install (or restore) a MMBase application as follows:
+ <para>You can install (or restore) an MMBase application as follows:
<orderedlist>
<listitem>
<simpara>Put the application configuration files in the
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs