Most import problems start in the spreadsheet, not in Omeka. A file saved in the wrong text format is refused outright. A date the spreadsheet program "helpfully" changed arrives changed. A cell that lists three things becomes one item instead of three. Fix these before you import, and the mapping takes minutes.
The Hollis donation came with the donor's own inventory: a list typed up over several weekends, with a row for each box she unpacked. It's a good list for a person and a hard one for CSV Import. In this lesson you try it, see why it's refused, and turn its seed packets into a spreadsheet that imports cleanly, ready for lesson 3.
The video takes the donor's list apart and builds the new spreadsheet in a spreadsheet program, then looks at saving it from Excel, Google Sheets, LibreOffice, and Numbers. This page has the same steps. Going further and When things go wrong stay closed until you open them.
Before you start
- Download hollis-inventory-from-donor.csv, the donor's list.
- Have hollis-packets.csv to compare with: it's the spreadsheet this lesson ends with.
Try the donor's list as it is
- Click CSV Import in the left menu and choose hollis-inventory-from-donor.csv under Spreadsheet (csv, tsv or ods).
- Click Next. Omeka stays on the page and says File is not UTF-8 encoded.
UTF-8 is the text format that can hold any character, from an accented é to a curly apostrophe. The donor's list was saved in an older format, which Excel's plain CSV option still uses on some computers, and its Montréal and Grandfather’s are written in a way Omeka can't read. A file of plain English letters would have passed, which is why this problem can surprise you months into a project.

One row for each thing
Open the list in a spreadsheet program. Each row is one box's worth, in the donor's words:
| Box | What it is | Date | Notes |
|---|---|---|---|
| 2 | Seed packets – sweet pea, tomato, pansy, nasturtium, bean, aster | 1905-1913 | Unused, still sealed. Some have prices. |
| 2 | Letter from Mrs. Pruett | 3/14/1907 | Asks about tomatoes for Vermont |
CSV Import makes one item from each row, so the packets row would become a single item called Seed packets – sweet pea, tomato, pansy…. Wrenfield wants an item for each packet, so they can be searched, described, and linked one at a time.
- Start a new spreadsheet for the packets. Keep the donor's list as it is: it's part of the donation's record.
- Give each packet a row of its own: six rows, from the sweet pea to the aster.
- Keep each kind of thing in its own spreadsheet. Packets, catalogs, and letters need different columns, and a spreadsheet for each keeps them short. Lesson 10 shows how to mix them when you need to.
Give every row an identifier
Add a first column, Identifier, and give each packet a code of its own: HB-PKT-01 to HB-PKT-06. Titles change and repeat, but an identifier stays the same, and every later lesson depends on it: adding files to items you already have, linking items, correcting them, and deleting them all find the right item by its identifier.
A good identifier is short, never reused, and made of letters, numbers, and hyphens. A prefix for the collection (HB) and one for the kind of thing (PKT) keeps them readable.
Headings that map themselves
Name each column after the field it goes into, and CSV Import maps it for you when Automap with simple labels is ticked. The heading must match the field's own name, the one shown on an item's Values tab, such as Title, Description, Subject, Rights, Date, Creator, Date Created, or Is Part Of. Capitals don't matter.
Wrenfield's packet spreadsheet has these columns:
| Column | What each cell holds |
|---|---|
| Identifier | HB-PKT-01 |
| Title | Sweet pea, Hollis Finest Mixed |
| Seller | Hollis Brothers Seed Company |
| Year | 1909 |
| Description | A sentence for visitors |
| Subject | Sweet peas|Seed packets |
| Rights | https://creativecommons.org/publicdomain/mark/1.0/ Public Domain Mark 1.0 |
| Front | The web address of the packet's front |
| Item set | Seed packets|Hollis Brothers Seed Company records |
Seller, Year, Front, and Item set won't map themselves, and that's on purpose: lesson 3 maps them by hand, which is what you'll do with most spreadsheets you're given.
Several values in one cell
A packet can have two subjects, and an item can be in two item sets. Put both in one cell with a vertical bar between them: Sweet peas|Seed packets. Don't use commas for this. A name such as Hollis, Edwin has a comma of its own, and a comma would split it into two names.
Dates and numbers stay as typed
Spreadsheet programs turn anything that looks like a date into their own format. Type 1907-03-14 and Excel may show and save 3/14/1907; type 3/14/1907 and it may save it in yet another order on a computer in Britain. Omeka stores whatever the file says.
- Before you type dates, select the column and format it as text (in Excel, Format Cells, then Text; in Google Sheets, Format, Number, then Plain text).
- Write dates year first: 1907, 1907-03, or 1907-03-14. They sort correctly, and every program reads them the same way.
The same goes for identifiers made of numbers: 0042 loses its zeros, and a long number turns into 4.2E+11, unless the column is text.
Save it as CSV UTF-8
How you save decides whether Omeka can read the file:
- Excel: File, Save As, and choose CSV UTF-8 (Comma delimited). Plain CSV (Comma delimited) is the older format that was refused above.
- Google Sheets: File, Download, then Comma Separated Values (.csv). It's always UTF-8.
- LibreOffice Calc: File, Save As, choose Text CSV (.csv) and tick Edit filter settings, then choose Unicode (UTF-8) under Character set. Or save as an OpenDocument spreadsheet (.ods), which CSV Import also reads.
- Numbers: File, Export To, CSV, and choose Unicode (UTF-8) under Text Encoding.
Choose hollis-packets.csv on Import Settings and click Next. This time the mapping page opens, with Identifier, Title, Description, Subject, and Rights already mapped. Leave it there: lesson 3 finishes it.

Going further
Long text, line breaks, empty rows, and other file formats.
What else is safe in a cell
- Long text and line breaks: fine. A spreadsheet program puts the cell in quotation marks when it saves, and CSV Import reads it as one value with its line breaks.
- Quotation marks: fine when the spreadsheet program saves the file. They break files written or edited by hand in a text editor.
- Blank rows: skipped.
- Columns you don't need: leave them in. A column with no mapping isn't imported, so working notes, like the donor's Box, can stay in the file.
- Spaces at the start or end of a cell: removed.
Tab-separated files
A tab-separated file (.tsv) avoids most quoting problems, since few cells hold a tab. Choose tabulation under CSV column delimiter when you import one. A file that uses semicolons, which some European versions of Excel save, needs semi-colon.
Keep the spreadsheet
Keep the spreadsheet you imported, with its identifiers, beside the collection. When you need to correct a hundred items later, editing that file and importing it again (lesson 12) is much quicker than starting a new one.
When things go wrong
What to do when the file is refused or reads strangely.
- "File is not UTF-8 encoded." Save the file again as CSV UTF-8, or as .ods, as above. Opening it in Google Sheets or LibreOffice and saving from there works too.
- "The rows are not all the same number of columns." Either CSV column delimiter doesn't match the file, or a cell has a quotation mark or line break that was typed in a text editor. Open the file in a spreadsheet program and save it again, which quotes every cell properly.
- "The source is empty." The file has a heading row and nothing else, or the wrong delimiter made the whole file one column.
- Accented letters look wrong after the import, such as Montréal. The file was converted to UTF-8 twice, or from the wrong format. Go back to the original, open it in a spreadsheet program, check the accents look right on screen, and save it as CSV UTF-8 once.
- A heading didn't map, though it looks right. It has to be the field's own name, not a label your resource template gives it: a template may show Publisher as Seed company, but only Publisher maps. Plurals such as Subjects don't map either. Map those columns by hand (lesson 3), or rename them.
- A heading mapped to the wrong thing. A heading that matches a field in another vocabulary maps to that field. Owner is the classic case: it maps to a field called owner, not to the item's owner in Omeka. Lesson 5 shows how to map an owner column.