Jump to:
| Project: | CSV Parser |
| Version: | 6.x-1.0-alpha1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi Alex,
Great module.
I'm using it to do an import of some data supplied in CSV.
It's working really well - I can map all the CCK fields to items in the imported file.
However, I can't seem to set the node title on import - it always remains blank.
Ideally, I need to map it to one of the fields in the CSV file,
but it isn't listed as item in the list of mappers available.
Node title doesn't appear in the dropdowns at all, to let me map an item from the import to it.
[Under the 'Edit mapping 'title' is shown as an element available,
but as I understand it, that 'title' is the 'title of the feed'. It is some item available as a 'source' that i could map to a field in the drop down.]
On the feed node [the container node -not the imported nodes], under Feed ->Parsers->CVS parser, there is a textfield 'Rule for building the title field'.
I've tried a few things there 'FIELDNAME1', 'jobname' [which is the title of the header in the CSV file] to no avail.
Lastly, I've tried
http://drupal.org/project/auto_nodetitle
but again, it doesn't seem to apply the rule on import.
Any tips appreciated,
Thanks again
Alan
Comments
#1
"Node title doesn't appear in the dropdowns at all, to let me map an item from the import to it."
Are you using Feed Element Mapper for mapping the title? Use the parser csv options on the node edit form of the feed for mapping the title.
Please re-open if necessary.
#2
Hi Alex
Sorry I missed this reply,
yep, I'm using the 'CVS parser' section on the edit form of the Feed node.
Under ' Rule for building the title field', I have used the name of the relevant field in the CSV header.
But it doesn't seem so process this information - the title is blank on import.
Not sure what I should use as the input for ' Rule for building the title field'.
I think that's where I'm going wrong
Regards
Alan
#3
PBKAC error [I was using the incorrect title of the CSV field] .
I have it working now.
Thanks Alex!
Alan
#4
Great - keep in mind that the latest .dev version works very differently. If you're using the rules feature, stick with the alpha 1 version. Things are really in movement here. Let me know how it goes.
#5
Could I just add this as a feature request that it would be great to be able to set these mappings on the same page? :) I was just facing the same issue, and trying to do the mapping when I did not see any title or description.
#6
Automatically closed -- issue fixed for two weeks with no activity.