<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.eprints.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Christoph.mueller%40cmdt.ch</id>
	<title>EPrints Documentation - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eprints.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Christoph.mueller%40cmdt.ch"/>
	<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/Special:Contributions/Christoph.mueller@cmdt.ch"/>
	<updated>2026-05-13T05:10:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_URL&amp;diff=11364</id>
		<title>Import From URL</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_URL&amp;diff=11364"/>
		<updated>2015-10-05T08:05:26Z</updated>

		<summary type="html">&lt;p&gt;Christoph.mueller@cmdt.ch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The Eprints3 XML Format'''&lt;br /&gt;
&lt;br /&gt;
Note: to import local files, see [[Import Files]].&lt;br /&gt;
&lt;br /&gt;
Note: for using --enable-web-imports, in file ~/archives/archiv/cfg/cfg.d/plugins.pl $c-&amp;gt;{enable_web_imports}=1; must be set.&lt;br /&gt;
&lt;br /&gt;
The file and metadata you wish to import should be placed in an one of the formats supported by the import script.  The example used in this page is the Eprints XML Format.  Note: This format can be retrieved by exporting an eprint from your repository.  The following is an example of the Eprints 3 XML Format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;eprints&amp;gt;&lt;br /&gt;
  &amp;lt;eprint&amp;gt;&lt;br /&gt;
    &amp;lt;eprintid&amp;gt;&amp;lt;/eprintid&amp;gt;&lt;br /&gt;
    &amp;lt;rev_number&amp;gt;&amp;lt;/rev_number&amp;gt;&lt;br /&gt;
    &amp;lt;eprint_status&amp;gt;&amp;lt;/eprint_status&amp;gt;&lt;br /&gt;
    &amp;lt;userid&amp;gt;&amp;lt;/userid&amp;gt;&lt;br /&gt;
    &amp;lt;dir&amp;gt;&amp;lt;/dir&amp;gt;&lt;br /&gt;
    &amp;lt;lastmod&amp;gt;&amp;lt;/lastmod&amp;gt;&lt;br /&gt;
    &amp;lt;status_changed&amp;gt;&amp;lt;/status_changed&amp;gt;&lt;br /&gt;
    &amp;lt;type&amp;gt;other&amp;lt;/type&amp;gt;&lt;br /&gt;
    &amp;lt;metadata_visibility&amp;gt;&amp;lt;/metadata_visibility&amp;gt;&lt;br /&gt;
    &amp;lt;item_issues_count&amp;gt;&amp;lt;/item_issues_count&amp;gt;&lt;br /&gt;
    &amp;lt;creators&amp;gt;&lt;br /&gt;
      &amp;lt;item&amp;gt;&lt;br /&gt;
        &amp;lt;name&amp;gt;&lt;br /&gt;
          &amp;lt;family&amp;gt;&amp;lt;/family&amp;gt;&lt;br /&gt;
          &amp;lt;given&amp;gt;&amp;lt;/given&amp;gt;&lt;br /&gt;
        &amp;lt;/name&amp;gt;&lt;br /&gt;
        &amp;lt;id&amp;gt;&amp;lt;/id&amp;gt;&lt;br /&gt;
      &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;/creators&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
    &amp;lt;ispublished&amp;gt;&amp;lt;/ispublished&amp;gt;&lt;br /&gt;
    &amp;lt;subjects&amp;gt;&lt;br /&gt;
      &amp;lt;item&amp;gt;SubjectID&amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;/subjects&amp;gt;&lt;br /&gt;
    &amp;lt;full_text_status&amp;gt;&amp;lt;/full_text_status&amp;gt;&lt;br /&gt;
    &amp;lt;publisher&amp;gt;&amp;lt;/publisher&amp;gt;&lt;br /&gt;
    &amp;lt;documents&amp;gt;&lt;br /&gt;
      &amp;lt;document xmlns=&amp;quot;http://eprints.org/ep2/data/2.0&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;docid&amp;gt;&amp;lt;/docid&amp;gt;&lt;br /&gt;
        &amp;lt;rev_number&amp;gt;&amp;lt;/rev_number&amp;gt;&lt;br /&gt;
        &amp;lt;eprintid&amp;gt;&amp;lt;/eprintid&amp;gt;&lt;br /&gt;
        &amp;lt;pos&amp;gt;&amp;lt;/pos&amp;gt;&lt;br /&gt;
        &amp;lt;format&amp;gt;&amp;lt;/format&amp;gt;&lt;br /&gt;
        &amp;lt;language&amp;gt;&amp;lt;/language&amp;gt;&lt;br /&gt;
        &amp;lt;security&amp;gt;&amp;lt;/security&amp;gt;&lt;br /&gt;
        &amp;lt;main&amp;gt;&amp;lt;/main&amp;gt;&lt;br /&gt;
        &amp;lt;files&amp;gt;&lt;br /&gt;
          &amp;lt;file&amp;gt;&lt;br /&gt;
            &amp;lt;filename&amp;gt;&amp;lt;/filename&amp;gt;&lt;br /&gt;
            &amp;lt;filesize&amp;gt;&amp;lt;/filesize&amp;gt;&lt;br /&gt;
            &amp;lt;url&amp;gt;&amp;lt;/url&amp;gt;&lt;br /&gt;
          &amp;lt;/file&amp;gt; &lt;br /&gt;
        &amp;lt;files&amp;gt;&lt;br /&gt;
      &amp;lt;/document&amp;gt;&lt;br /&gt;
    &amp;lt;/documents&amp;gt;&lt;br /&gt;
  &amp;lt;/eprint&amp;gt;&lt;br /&gt;
&amp;lt;/eprints&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Importing the File into Eprints'''&lt;br /&gt;
&lt;br /&gt;
After putting the metadata and file URL into Eprints 3XML Format, you are ready to import the file.  The example shown uses the import tool in the eprints folder (/opt/eprints3/ is assumed).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./import ''repository_id'' --enable-web-imports dataset plugin filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''--enable-web-imports''' : this is used to enable Eprints to download the file from a URL&lt;br /&gt;
Allow the imported data to import files from the Web. This can obviously be seen as a security hole if you don't trust the data you are importing. This sets the &amp;quot;enable_web_imports&amp;quot; configuration option for this session only.&lt;br /&gt;
&lt;br /&gt;
'''dataset''' : The name of the dataset to import into, such as &amp;quot;eprint&amp;quot;, &amp;quot;archive&amp;quot;, &amp;quot;subject&amp;quot; or &amp;quot;user&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''plugin''' :  The id of the input plugin to use. This should not include the leading &amp;quot;Import::&amp;quot;. Examples: BibTeX, XML.&lt;/div&gt;</summary>
		<author><name>Christoph.mueller@cmdt.ch</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Talk:API:bin/import&amp;diff=11361</id>
		<title>Talk:API:bin/import</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Talk:API:bin/import&amp;diff=11361"/>
		<updated>2015-09-30T15:08:13Z</updated>

		<summary type="html">&lt;p&gt;Christoph.mueller@cmdt.ch: Created page with '--enable-web-imports needs to set $c-&amp;gt;{enable_web_imports}=1; in file ~/archive/&amp;lt;repoid&amp;gt;/cfg/cfg.d/plugins.pl --~~~~'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--enable-web-imports&lt;br /&gt;
needs to set $c-&amp;gt;{enable_web_imports}=1; in file ~/archive/&amp;lt;repoid&amp;gt;/cfg/cfg.d/plugins.pl --[[User:Christoph.mueller@cmdt.ch|Christoph.mueller@cmdt.ch]] 15:08, 30 September 2015 (UTC)&lt;/div&gt;</summary>
		<author><name>Christoph.mueller@cmdt.ch</name></author>
		
	</entry>
</feed>