Create and search your first record

Now that Invenio demo site has been installed in Install Invenio, let us see how we can load some records.

Upload a new record

For the ILS flavour let us create a small example record in MARCXML format:

$ vim book.xml
$ cat book.xml
<?xml version="1.0" encoding="UTF-8"?>
<collection xmlns="">
  <datafield tag="245" ind1=" " ind2=" ">
    <subfield code="a">This is title</subfield>
  <datafield tag="100" ind1=" " ind2=" ">
    <subfield code="a">Doe, John</subfield>

We can upload it by using invenio marc21 import command:

$ invenio marc21 import --bibliographic book.xml
Importing records
Created record 117
Indexing records

Search for the record

Let us verify that it was well uploaded:

$ firefox

and that it is well searchable:

$ firefox

Uploading content

For more information on how to upload content to an Invenio instance, see the documentation chapter on Loading content.