Dodatak nije testiran s zadnje 3 glavna izdanja WordPressa. Možda ga se više ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama WordPressa.

RS CSV Importer Media Add-On

Description

Really Simple CSV Importer Add-on.

Media’s URL (Images, Documents… etc) in CSV, Download Media and Convert url to attachment ID.

Installation

  1. Install and Activate Really Simple CSV Importer.
  2. Upload the entire /rs-csv-importer-media-addon directory to the /wp-content/plugins/ directory.
  3. RS CSV Importer Media Add-On through the ‘Plugins’ menu in WordPress.

FAQ

Is it possible to change the file type that allows the upload?

Use really_simple_csv_importer_media_ext2type for change file extension to allowed.

add_filter('really_simple_csv_importer_media_ext2type', 'really_simple_csv_importer_media_ext2type');

function really_simple_csv_importer_media_ext2type( $types ) {
    return array(
        'image'       => array( 'jpg', 'jpeg', 'jpe', 'gif', 'png' ),
        'audio'       => array( 'mp3', 'ogg', 'wav', 'wma' ),
        'video'       => array( 'mov', 'mp4', 'mpeg', 'mpg', 'ogm', 'ogv', 'wmv' ),
        'document'    => array( 'doc', 'docx', 'odt', 'pages', 'pdf', 'psd' ),
        'spreadsheet' => array( 'ods', 'xls', 'xlsx' ),
        'interactive' => array( 'swf', 'key', 'ppt', 'pptx', 'odp' ),
        'text'        => array( 'asc', 'csv', 'tsv', 'txt' ),
        'archive'     => array( 'dmg', 'gz', 'rar', 'tar', 'tgz', 'zip'),
        'code'        => array( 'css', 'htm', 'html', 'php', 'js' ),
    );
}

Suradnici i Programeri

“RS CSV Importer Media Add-On” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.0

  • Support Local File Path.
  • Add Unit Test.

1.0.0

  • First Release.