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.

CommentFileSizeAuthor
stlreview-atom.xml_.txt56.78 KBgeerlingguy

Comments

geerlingguy’s picture

It 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.

geerlingguy’s picture

Updating 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...

velosol’s picture

Title: Feeds says "Updated 10 Feed item nodes" but Only Creates One » Only One Node Created from Imported Feed (with Strange Title)

Which parser are you using? Any errors/php-errors?

pmunch’s picture

Title: Only One Node Created from Imported Feed (with Strange Title) » Feeds says "Updated 10 Feed item nodes" but Only Creates One

I 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.

geerlingguy’s picture

Status: Active » Closed (fixed)

Perfect! 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...

imb123’s picture

I'm so happy I came across this old posts, it helped me solve the only problem keeping me from launching my site. Thanks again.

rsgracey’s picture

Version: 6.x-1.0-alpha7 » 7.x-2.x-dev
Component: Code » Feeds Import
Category: support » bug

YAY~!!!!! 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.

dc_marc’s picture

You 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.