Setting field values on a per-import basis when using Feeds A student newspaper I work with is needing some way of importing XML files from InDesign. I'm thinking Feeds/Feeds XPath Parser is the best route for this.

However, one problem with this is that each week the Production Editor will need to import 4-8 XML files, one for each section. "Section" is a taxonomy field in the Drupal "Article" content type, and it's listed nowhere in the XML files they output.

To this end, is there any way to manually set the values of certain fields when importing, on a per-import basis?

I'm thinking this would look like a text box that shows up in Feeds UI when uploading the XML file. Feeds Tamper seems like an idea, but it looks like it's more designed to set default values, and less set specific values on a per-import basis.

Any thoughts?
There's also hook_feeds_after_parse() which lets you modify what's being saved to to your targets.  Something like this should work:

function my_module_feeds_after_parse(FeedsSource $source, FeedsParserResult $result) {

  if($result-&gt;title == 'title-of-feed-importer') {
    foreach($result-&gt;items as $item_key =&gt; &amp;$item) {
      if ($item_key == "name-of-the-field") {
        $item = 'Value to set';
      }
    }
  }

}