Local path for file imports

Aperta
#26 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

The import logic that reads the files column of the CSV is the place to start; the issue asks for a base path setting alongside the other CSV import options. Check how the plugin currently resolves file URLs and where the import form stores its settings. Done would mean a base path can be set and filenames resolve against it, but the issue asks for design discussion first, and the thread has been idle for about 5000 days.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

A feature idea I'd like to work on is adding support for local paths for files. Instead of relying on a full HTTP address being in the CSV file, allow people to upload the files to a server somewhere, and let them specify a path as the base bath for import along with the other settings for that CSV file.

This is usually the most problematic thing I encounter helping folks import their data from a CSV file, is that they usually only have the filenames, and not a full path. I've just been doing file and replace in the files column of the CSV file, which works fine, but I think being able to specify a base path for files would be useful.

Would like to talk this out more, since I'm sure I'm not aware of all the things such a change would affect.

Lingua principale
PHP
Stelle
20
Fork
32
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di omeka/plugin-CsvImport

Tutte le issue di omeka/plugin-CsvImport

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.