2004-02-09 05:11:05 +00:00
|
|
|
<?php
|
2004-01-13 07:32:03 +00:00
|
|
|
require_once("docutil.php");
|
2004-02-09 05:11:05 +00:00
|
|
|
page_head("xadd - tool for adding database items");
|
2004-01-13 07:32:03 +00:00
|
|
|
|
2004-02-09 05:11:05 +00:00
|
|
|
echo "
|
|
|
|
`<code>xadd</code>' adds records to the BOINC database through an XML file,
|
|
|
|
<code><b>project.xml</b></code>.
|
|
|
|
This file should be in the same location as <code>config.xml</code>.
|
2004-01-13 07:32:03 +00:00
|
|
|
|
2004-02-09 05:11:05 +00:00
|
|
|
<p>
|
2004-01-13 07:32:03 +00:00
|
|
|
The contents of <code>project.xml</code> should look like this:
|
|
|
|
|
2004-02-09 05:11:05 +00:00
|
|
|
<pre>", htmlspecialchars("
|
|
|
|
<boinc>
|
|
|
|
<project>
|
|
|
|
<short_name>setiathome</short_name>
|
|
|
|
<long_name>SETI@home</long_name>
|
|
|
|
</project>
|
|
|
|
<platform>
|
|
|
|
<name>windows_intel</name>
|
|
|
|
<user_friendly_name>Windows 95, 98, NT 2000, and XP</user_friendly_name>
|
|
|
|
</platform>
|
2004-01-13 07:32:03 +00:00
|
|
|
...
|
2004-02-09 05:11:05 +00:00
|
|
|
</boinc>
|
|
|
|
"), "</pre>
|
2004-01-13 07:32:03 +00:00
|
|
|
|
|
|
|
Notes:
|
|
|
|
<ul>
|
|
|
|
<li>Object arguments have the same format as for the `add' tool
|
|
|
|
command-line arguments. See also the <a href=tool_add.php>documentation
|
|
|
|
for `add'</a>.
|
|
|
|
<li>This tool (currently) only adds new items; thus:
|
|
|
|
<ul>
|
|
|
|
<li>Entries that conflict with existing database entries are ignored;
|
|
|
|
this includes entries that have changed.
|
|
|
|
</ul>
|
|
|
|
</ul>
|
2004-02-09 05:11:05 +00:00
|
|
|
";
|
2004-01-13 07:32:03 +00:00
|
|
|
page_tail();
|
|
|
|
?>
|
|
|
|
|