Hi,

I´m new in Drupal so I hope you forgive my inexperience.
I've been fighting with an RDF-XML file until I've managed to do the mappings right. My problem is that when I import the feed, Drupal creates just one node, and it says it has updated 75 nodes, but I am unable to find them. Also, the node it creates is not the first of the file.
Any help, please?

Comments

sniffypup’s picture

Relatively inexperienced and new to Feeds & Feeds Xpath Parser. Having the same issue, using D7 and importing XHTML files from the local filing system.

Also, I'm picking up the body ok, but having difficulty with text from the <title> in the same files. Th FF Xpath checker finds the item (so the query seems ok) but the result (in FF) just displays a blank content.

Have studied various tutorials but mostly they are D6 and using other importers. The tutorials also tend to omit examples of the "unique target" in this type of import, another area where I'm unsure of being correct.

Help on the original issue and any of my additions will be very welcome (tearing hair out....)!

twistor’s picture

Assigned: Unassigned » twistor

@algazaras, are you using a unique field? It sounds like you're setting the GUID or URL to be unique but each item has the same value.

When you set a field to be unique, Feeds will only allow one item with that value to exist. Basically, Feeds is creating the once, from the first item, then it's updating that same item with fields from each following item. Is the node that it creates the last one in the file?

algazaras’s picture

Thank you twistor, that made it!! It has now created all of the nodes.

I just have another doubt, which regards the syntax for nested labels, because using this:

dct:title[2]

it works, but it doesn't if I use these others:

dct:title[xml:lang="es_ES"]
dct:title[@lang="es_ES"]

which would work better for me, because the order of the labels in the document is not always the same.

What am I doing wrong?

Thank you a lot again, you spared me a lot of wasted time.

steinmb’s picture

Did you ever solve your problem in #3, is so, care to share with the rest of us?

twistor’s picture

#3, I would have to see the xml to know what is correct, but maybe:
dct:title[@xml:lang="es_ES"]

twistor’s picture

Assigned: twistor » Unassigned
Issue summary: View changes
Status: Active » Closed (fixed)

Closing out old issues. If you're still having this problem, feel free to re-open it.