Local path for file imports

Abierto
#26 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
php
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
PHP
Estrellas
20
Forks
32
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de omeka/plugin-CsvImport

Todos los issues de omeka/plugin-CsvImport

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.