Download the PHP package gpaddis/datalo without Composer

On this page you can find all versions of the php package gpaddis/datalo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package datalo

Datalo: List Converter for the SFX Dataloader

Build Status StyleCI

Warning: this software is in development and might change significantly before v1.0 is released.

A tool for librarians working with ExLibris' SFX

When mass updating SFX target portfolios via the dataloader, we need a clean, tab separated list of ISBNs or ISSNs. Usually, we have to fetch the identifiers manually from messy lists (CSV, TSV, Excel), which have different standards for different publishers. The identifiers we need are sometimes merged in single fields, arbitrarily separated by different delimiters each time.

We start with this...

...aiming for this:

ISBN Status
9781606929735 ACTIVE
9780511303388 ACTIVE
9781608762941 ACTIVE
9781905050352 ACTIVE
9781280480560 ACTIVE
9781905050840 ACTIVE

...

Datalo parses the first list in search of valid identifiers and generates the second automatically within seconds.

Requirements

Datalo requires PHP 7. You will also need to have composer installed in your system in order to install the script.

Installation

Install datalo globally on your system with composer. Open your terminal and digit:

After the installation, datalo will be available in any directory. Make sure to place the $HOME/.composer/vendor/bin directory (or the equivalent directory for your OS) in your $PATH so the datalo executable can be located by your system.

Usage

Use the command datalo isbn to process a list of eBooks (passed as the first argument, in our case: eBook_list.csv) and datalo issn for a list of journals. The second argument is the destination file you want to generate: destination_file.txt.

The script will detect the delimiter, extract all valid ISBNs from your source file and save them in the destination file. If the file already exists, you will get a warning. You can overwrite an existing file by setting the option --force:

Status

If you don't specify an activation status, all identifiers are flagged as ACTIVE by default in the second column. You can set a custom status (ACTIVE / INACTIVE) or add any string using the option --status followed by a word or a sentence enclosed in "quotation marks":

To save only the list of identifiers, set the --status explicitly to NONE.

Delimiter

If the delimiter-autodetection does not work, maybe the file has an unusual delimiter (say... pipe: |). In this case, you can use the option --delimiter to set a custom delimiter:

You will have to make sure that you are actually using the correct delimiter to avoid unexpected or partial results.

Credits

Copyright (c) 2017 Gianpiero Addis - MIT License


All versions of datalo with dependencies

PHP Build Version
Package Version
Requires league/csv Version ^8.2
symfony/console Version ^3.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gpaddis/datalo contains the following files

Loading the files please wait ....