title: Advanced export profile in Magento
body: <p>I cant find any documentation on this, I dont even know if its possible.
  I need to export some products, I already have the profile, because this export is for a competitive site like nextag.com or pricegrabber.com we want to export only a few products and not the 3000 we have.</p>
  
  <p>I could create a boolean attribute called Export.</p>
  
  <p>The problem is how can I put in the profile to export only products that export is set to yes?</p>
  
  <p>This is the code that it generates:</p>
  
  <pre><code>&lt;action type="catalog/convert_adapter_product" method="load"&gt;
      &lt;var name="store"&gt;&lt;![CDATA[5]]&gt;&lt;/var&gt;
      &lt;var name="filter/type"&gt;&lt;![CDATA[simple]]&gt;&lt;/var&gt;
      &lt;var name="filter/price/from"&gt;&lt;![CDATA[90]]&gt;&lt;/var&gt;
      &lt;var name="filter/price/to"&gt;&lt;![CDATA[6000]]&gt;&lt;/var&gt;
      &lt;var name="filter/status"&gt;&lt;![CDATA[1]]&gt;&lt;/var&gt;
  &lt;/action&gt;
  
  &lt;action type="catalog/convert_parser_product" method="unparse"&gt;
      &lt;var name="store"&gt;&lt;![CDATA[5]]&gt;&lt;/var&gt;
      &lt;var name="url_field"&gt;&lt;![CDATA[1]]&gt;&lt;/var&gt;
  &lt;/action&gt;
  
  &lt;action type="dataflow/convert_mapper_column" method="map"&gt;
      &lt;var name="map"&gt;
          &lt;map name="sku"&gt;&lt;![CDATA[MPN/UPC]]&gt;&lt;/map&gt;
          &lt;map name="brand"&gt;&lt;![CDATA[Manufacturer]]&gt;&lt;/map&gt;
          &lt;map name="name"&gt;&lt;![CDATA[Product Name]]&gt;&lt;/map&gt;
          &lt;map name="product_link"&gt;&lt;![CDATA[product_link]]&gt;&lt;/map&gt;
          &lt;map name="condition"&gt;&lt;![CDATA[Product Condition]]&gt;&lt;/map&gt;
          &lt;map name="price"&gt;&lt;![CDATA[Selling Price]]&gt;&lt;/map&gt;
          &lt;map name="shipping_costs"&gt;&lt;![CDATA[Shipping costs]]&gt;&lt;/map&gt;
          &lt;map name="weight_box1"&gt;&lt;![CDATA[Weight]]&gt;&lt;/map&gt;
      &lt;/var&gt;
      &lt;var name="_only_specified"&gt;true&lt;/var&gt;
  &lt;/action&gt;
  
  &lt;action type="dataflow/convert_parser_csv" method="unparse"&gt;
      &lt;var name="delimiter"&gt;&lt;![CDATA[,]]&gt;&lt;/var&gt;
      &lt;var name="enclose"&gt;&lt;![CDATA["]]&gt;&lt;/var&gt;
      &lt;var name="fieldnames"&gt;true&lt;/var&gt;
  &lt;/action&gt;
  
  &lt;action type="dataflow/convert_adapter_io" method="save"&gt;
      &lt;var name="type"&gt;file&lt;/var&gt;
      &lt;var name="path"&gt;var/export&lt;/var&gt;
      &lt;var name="filename"&gt;&lt;![CDATA[nextagfeed.csv]]&gt;&lt;/var&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p>Thank</p>