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 "
|
2004-11-29 22:26:34 +00:00
|
|
|
<b>xadd</b> adds platform and application records to the BOINC database.
|
2004-05-31 18:13:01 +00:00
|
|
|
Information is read from an XML file,
|
2004-02-15 19:22:01 +00:00
|
|
|
<b>project.xml</b>.
|
|
|
|
This file should be in the project's root directory.
|
2004-01-13 07:32:03 +00:00
|
|
|
|
2004-02-09 05:11:05 +00:00
|
|
|
<p>
|
2004-02-15 19:22:01 +00:00
|
|
|
The contents of <b>project.xml</b> should look like this:
|
2004-01-13 07:32:03 +00:00
|
|
|
|
2004-02-09 05:11:05 +00:00
|
|
|
<pre>", htmlspecialchars("
|
|
|
|
<boinc>
|
2004-11-29 22:26:34 +00:00
|
|
|
<app>
|
|
|
|
<name>setiathome</name>
|
|
|
|
<user_friendly_name>SETI@home</user_friendly_name>
|
|
|
|
</app>
|
|
|
|
...
|
2004-02-09 05:11:05 +00:00
|
|
|
<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
|
|
|
|
2004-02-15 19:22:01 +00:00
|
|
|
<p>
|
2004-11-29 22:26:34 +00:00
|
|
|
The 'name' of each item should be short
|
|
|
|
and without spaces or other special characters.
|
|
|
|
The 'user friendly name' (shown to end users) has no restrictions.
|
|
|
|
<p>
|
|
|
|
An example of projects.xml is in tools/ in the source tree.
|
2004-02-15 19:22:01 +00:00
|
|
|
<p>
|
2004-11-29 22:26:34 +00:00
|
|
|
This tool only adds new items;
|
|
|
|
entries that conflict with existing database entries are ignored.
|
2004-02-09 05:11:05 +00:00
|
|
|
";
|
2004-11-29 22:26:34 +00:00
|
|
|
page_tail();
|
|
|
|
|
2004-01-13 07:32:03 +00:00
|
|
|
?>
|
|
|
|
|