title: How do I add taxonomy terms using Drupal Migrate
body: <p>I'm using the <a href="http://drupal.org/project/migrate" rel="noreferrer">migrate module</a> to copy data from several sources to a new drupal installation.  So far, I'm able to replicate a lot of what I need from the examples provided with the module.  I'm currently stuck on adding terms or taxonomy to newly created nodes.  The example shows:</p>
  
  <pre><code>// These are related terms, which by default will be looked up by name
  $this-&gt;addFieldMapping('migrate_example_beer_styles', 'terms')
       -&gt;separator(',');
  </code></pre>
  
  <p>I've tracked down the <code>migrate_example_beer_styles</code> destination mapping and it seems to be the <code>machine name</code> for that taxonomy.</p>
  
  <p>I've tried imitating this behavior with every variation of what my <code>machine_name</code> should be, but the terms never seem to get associated:</p>
  
  <p>By id:</p>
  
  <pre><code>// where source breed_id is '1,100' - it finds mapped values accordingly
  $this-&gt;addFieldMapping('breeds', 'breed_id')
       -&gt;sourceMigration('BreedMigration')
       -&gt;separator(',')
  </code></pre>
  
  <p>And, by name:</p>
  
  <pre><code>// where source breeds is 'Dogs,German Shepherd'
  $this-&gt;addFieldMapping('breeds', 'breeds')
       -&gt;separator(',');
  </code></pre>
  
  <p>Am I wrong assuming the destination mapping is the <code>machine name</code> for a taxonomy?</p>
  
  <p>This version of the <a href="http://drupal.org/project/migrate" rel="noreferrer">migrate module</a> was released recently, I haven't found any other helpful examples on the web.</p>