Tampering comma separated tags works fine. Nice module!

the same doesn't won't work when the target is a image widget.
(capable of holding more than one image)

Would be a nice feature.

CommentFileSizeAuthor
#2 node_template-1.txt1.5 KBIT100

Comments

star-szr’s picture

Can you provide more detail? I was able to do this using the explode plugin.

IT100’s picture

StatusFileSize
new1.5 KB

Nice to hear it should work, well I've got some more information here,
Attached is the small csv file I'm using for tests.

I'm able to import the first item in the image column, but when I add a second image, comma separated, then I get a failed with code 1002 error.

and here you have the Feeds log:

21:50:16 	Download of /var/www/html/sites/default/files/1612.jpg failed with code -1002.
Original item

array (
  'guid' => '2',
  'title' => 'Titel 2',
  'body' => 'Body 2',
  'published' => 'Published 2',
  'afbeelding' => 
  array (
    0 => '/var/www/html/sites/default/files/1603.jpg',
    1 => ' /var/www/html/sites/default/files/1612.jpg',
  ),
  'treffiewoordie' => 
  array (
    0 => 'Treffiewoordie 11',
    1 => ' Treffiewoordie 3',
  ),
)

Entity

stdClass::__set_state(array(
   'type' => 'archief_foto_postkaarten',
   'changed' => 1327006216,
   'language' => 'und',
   'status' => 1,
   'promote' => 1,
   'sticky' => 0,
   'uid' => '1',
   'revision' => false,
   'comment' => 2,
   'log' => 'Created by FeedsNodeProcessor',
   'feeds_item' => 
  stdClass::__set_state(array(
     'entity_id' => 0,
     'entity_type' => 'node',
     'id' => 'node',
     'feed_nid' => 0,
     'imported' => 1327006216,
     'hash' => '551ecf1e1f43dda9a6e33d3806090ea6',
     'url' => '',
     'guid' => '2',
  )),
   'title' => 'Titel 2',
   'body' => 
  array (
    'und' => 
    array (
      0 => 
      array (
        'value' => 'Body 2',
        'format' => 'full_html',
      ),
    ),
  ),
   'created' => '1327009817',
))
star-szr’s picture

Category: feature » support

Here are two questions/ideas for you:

1. Are you using the explode plugin to split up the afbeelding field with the comma delimiter?

2. Have you tried inputting your URLs in the public:// format, i.e. instead of /var/www/html/sites/default/files/1610.jpg use public://1610.jpg, assuming your public files folder is the default /sites/default/files.

I'm also assuming you've set your CSV parser to use the TAB delimiter.

IT100’s picture

Status: Active » Fixed

putting my URLs in the public:// format did the trick.

Thanks!!! saved my day.

regards,

Chris.

star-szr’s picture

Good stuff.

IT100’s picture

http://www.sitename.org/sites/default/files/2011-2209.jpg,http://www.sit...

does also work, providing that there is no space between url's. Nice feature, can be used to migrate images from one site to an other

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.