On http://stlouisreview.com/, I'm having an odd problem, where only one item (total) is imported and only one node is created, even though feeds outputs a message after I click the 'Import' button within the Feed node's Import tab.
I've attached the XML file from which I'm trying to import, if that's any help.
| Comment | File | Size | Author |
|---|---|---|---|
| stlreview-atom.xml_.txt | 56.78 KB | geerlingguy |
Comments
Comment #1
geerlingguy commentedIt gets more and more odd...
Checking into things, I changed the xml file to include just three well-formed stories, and ran the import again. When it imported, it changed the title of a single node to one of the feed items' titles, but didn't change the displayed title (e.g. the title that shows when you visit the node), and kept the body of the node the same.
So I deleted that node and ran the import again. This time, the title was shown as one of the titles for a feed item in my administrative view, but upon visiting the page, a different feed title was displayed, along with a different body.
Also, thinking this could have to do with the fact that each item is marked as published at 00:00:00, I changed the times on each item, but that didn't have any effect.
Comment #2
geerlingguy commentedUpdating title to better reflect the issue.
Edit: I just tested with my own RSS feed (http://www.lifeisaprayer.com/feed.xml), and it worked swimmingly... I'm wondering what in the feed data is screwing up Feeds parser so badly...
Comment #3
velosol commentedWhich parser are you using? Any errors/php-errors?
Comment #4
pmunch commentedI went through the same problem and resolved it this way :
In your feed settings > Mapping for Node processor, uncheck the "unique target" checkboxes set by default for Item URL and Item GUID otherwise your feed is apparently considered as a one-only item feed.
Comment #5
geerlingguy commentedPerfect! I removed the "URL" from the mappings page, and had the GUID become the only unique target, and it's working swimmingly.
Is it a good idea to have both URL and GUID be set to the 'unique target' by default? I know of a few instances where feeds don't have URLs attached to entries/items...
Comment #6
imb123 commentedI'm so happy I came across this old posts, it helped me solve the only problem keeping me from launching my site. Thanks again.
Comment #7
rsgracey commentedYAY~!!!!! Me, too. I only had the GUID checked as "unique," but the moral of the story is KEEP THAT BOX UNCHECKED!
Thanks!
Stephen
~~~Update~~~
Actually, here's what worked for me:
1. In the feeds importer settings, set it for "update" records, and turn the unique ID off.
2. Run the import.
3. If you need to update the records, turn the "unique ID" checkbox on, and run your import.
It doesn't choke then, and it updates the records that have already been created in the first pass.
Comment #8
dc_marc commentedYou guys are amazing. You saved me tons of frustration and delay under deadlines! Thank you so much, pmunch and rsgracey! You rock!!! Really appreciate the guidance when I needed it.