Hi,
I tried almost all comments and issues... for feeds (latest version).
My csv comes from a mac but I tried also all the ini-sets from the comments, (meaning in my settings & in the .inc file) to recognize the line-endings. So I tried also with one line. Nothing helps. The message "Could not retrieve title from feed" keeps popping up and even giving a title and starting a feed import from there leaves the fields empty... I tried both possibilties, a given path and an upload for the csv.
Strange situation, I don't seem to find what's wrong. I also tried to save the xls to standard-csv, to csv(windows), to csv(dos)... giving quotes in an editor, checking utf-8, ... All target-fields are standard and source fields are matching.
Maybe it is something trivial but I don't find it.
I asked myself if has something to do with language settings, but the mapping indicates to the correct column in the csv and the target is also correct (pops up automatic in the correct language in the selection). The node is set to language neutral but still no result.
Does anybody has the same issue?
With friendly regards, Johan
Comments
Comment #1
johan2 CreditAttribution: johan2 commentedHi,
I found out that the permissions of the csv file were 664 and in this case the import doesn't work.
Changing it to 777 makes it working.
Further existing nodes, that are already in the database, are not updated or replaced.
Is there a setting for this? I have made the title in the mapping a unique target as GUID, and this title is also a source with target "title".
Maybe this is wrong?
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThere is a setting for replacing/updating existing nodes @ admin/build/feeds/edit/[feed name]/settings/FeedsNodeProcessor. Look for the setting Update existing nodes. Though it seems like you've solved the original problem on this ticket so I'm marking this as fixed.
Comment #3
vip_sa CreditAttribution: vip_sa commentedI get the same error. I am on a windows machine on the localhost. I added the first node's title and it imported all the nodes but it gave me an error that said it could retrieve the title so I was left with a whole bunch of records without titles. Shouldn't Drupal prevent the import if it cannot get the title? Any case how do I fix this please?
Comment #4
vip_sa CreditAttribution: vip_sa commentedComment #5
vip_sa CreditAttribution: vip_sa commentedComment #6
Anonymous (not verified) CreditAttribution: Anonymous commented@vip_sa do you find that the issue is fixed if you correct the permissions as johan2 did?
Comment #7
vip_sa CreditAttribution: vip_sa commentedLike I said I am on a windows machine and so all I am doing is uploading the file and clicking save. It then imports all the records that is in the csv file but it leaves out the title. I don't quite understand how I should give the file permissions in a Windows environment before I upload the file. Please help
Comment #8
uwe_a CreditAttribution: uwe_a commentedIm having the same problem, im using feeds_xpathparser
im fetching the file via http
Comment #9
mattlo CreditAttribution: mattlo commentedI'm having the same exact issue as the people above. I'm wanting to import a CSV file into a custom content type.
When I attempt to import the CSV file, I go to /import, then it sends me off to /node/add/statlocalareas (statlocalareas = my custom content type)
I have changed the file permissions to 777 for the CSV file, as recommended, but this hasn't made a difference.
Any more ideas?
Cheers
Matt
Comment #10
mattlo CreditAttribution: mattlo commentedI have worked out why I was getting the ""Could not retrieve title from feed"" error upon attempting to import CSV data into nodes. THis may be useful for some.
In the basic settings page when you go to edit the feed importer, you will need to ensure the importer is not set to any particular content type. Select "use standalone form".
Also, if you are attempting to use CSV files saved from Excel on Mac, it is unlikely they will compatible with the feed reader by default. Use windows machine or try windows formatted CSV in Excel etc.
Matt
Comment #11
sydneyshan CreditAttribution: sydneyshan commented#10 fixed my issue - thanks!!!
Comment #12
francis55 CreditAttribution: francis55 commentedYes, I had the same error message, and setting the "Attached to content type" in Basic settings to "Use standalone form" solved the problem.
A message for the designers of this very useful module: offering a list of content types at this "Basic" level is somewhat confusing because you automatically believe you are choosing the output type of the feed - which is the selection you expect to have to make. Actually this happens in Processor - Node processor - settings, which is much lower down in the interface.
Comment #13
Dave ReidPlease file an issue with a patch to improve the UI description or help!
Marking as fixed as per #10.
Comment #15
handsolo CreditAttribution: handsolo commentedI am using standalone and have set import to replace current nodes.
My permissions are 777
When i import it says 6 nodes created but there is no actual content created. I am using tab delimited .txt.
If i use comma separated .csv then the nodes get created but the actual content is not there (the data in fields).
I am using excel on a windows 7 to create the feeds.
any idea what i could be doing wrong?
Comment #16
di_p CreditAttribution: di_p commentedThank you, Thank you #10. It fixed the problem :)
Comment #17
ChrisValentine CreditAttribution: ChrisValentine commentedWell said francis55 in #12 - the option to pick your target content type in the first stage of the importer definition is extremely misleading - and the on-screen text If "Use standalone form" is selected a source is imported by using a form under http://your.domain/reporting/?q=import. If a content type is selected a source is imported by creating a node of that content type is even more misleading. Why have this feature at all?
Comment #18
erin814 CreditAttribution: erin814 commentedI would just like to agree with francis55 and ChrisValentine. I had the same confusion on my initial setup and this thread has helped clarify things for me.
Comment #19
breaktheissue CreditAttribution: breaktheissue commentedI have the same issue. No matter how you map fields it is going to give you error
when you do this
In the basic settings page when you go to edit the feed importer, you will need to ensure the importer is not set to any particular content type. Select "use standalone form".
It will import with out error.
#10 fixed my issue - thanks!!!