User login

Using Views DataSource and Feeds to pull content from one site to another... with multiple images

Disclaimer: This is a should-be-deprecated approach, both Views DataSource and Feeds can be replaced with better options, such as Services or RestWS to Rules and Rules XPath Parser. But this approach basically works now.

On the source site.

Making Views Datasource Output multiple values for an image

drush dl image_url_formatter
drush -y en image_url_formatter

Configure the View to use it for the desired image field ("Image URL" instead of "Image").

/admin/structure/views/view/yourview_xml/edit

Seems to be an arbitrary hard-coded limit on 8 values in Views Datasource.

Making Feeds accept a multiple value field

drush dl feeds_tamper
drush -y en feeds_tamper feeds_tamper_ui

admin/structure/feeds/tamper/list/gbl_importer

xpathparser:7 -> Your Field with Multiple Images

Add plugin:
Explode

Leave at default setting of comma.

Searched words: 
multivalue field import with feeds

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.