When I try to import new items I get the message: "There is not new content"... The xml file has new content, but nothing is imported.
Ideas?
Feeds XPath Parser 6.x-1.11
Feeds 6.x-1.0-beta10
Chaos tools 6.x-1.7
When I try to import new items I get the message: "There is not new content"... The xml file has new content, but nothing is imported.
Ideas?
Feeds XPath Parser 6.x-1.11
Feeds 6.x-1.0-beta10
Chaos tools 6.x-1.7
Comments
Comment #1
avantwaves commentedComment #2
ethantHave you been successful in pulling in content when you created the feed? Is the problem that it just won't update, or that it never pulled in data?
How are you structuring your query? Can you post a link to the feed?
Comment #3
avantwaves commentedYes the feed was working fine. I updated feeds and feeds_xpathparser and the now I have this "There is no new content" problem
My query is simple. The context is, for example:
estates/estate
and then
rooms
area
services/service
etc
I can't post the link to the feed because it is a restricted feed with limited querys per day etc... sorry
Comment #4
avantwaves commentedEven more strange, I made a Drupal fresh install without any nodes at all and tried to import the feed and I got the same error message :S How is this possible in a site with no content at all??!!
I validated my XPath syntax using online tools and a new desktop app.... they are ok.
I will post more info later.
Comment #5
karengrey commentedIm getting the same problem but I know the reason why, hoping you know of a fix/solution?
My XML file used to be like this (and worked fine):
But I have since started using XSD validation and so the structure of my XML has changed to this:
Because I now have child elements like and the mapping is no longer working.
Do I need to map these elements in my processor? what would i put in the parser settings?
Thanks!
Comment #6
karengrey commentedNevermind I figured it out!
in the parser settings / import page
changed my mappings from
reference
price
image1
to
info/reference
info/price
images/image1
:)
Comment #7
avantwaves commentedCool :) I am glad for you. I had the same problem in the past. Targeting specific child could be tricky. One tip that I found...
For a child like this one.
This: comments/comment[2] will target the en_EN comment node
Or you can use: comments/comment[@lang='en_EN'] too...
Still looking for help with my "no new content issue" :(
Comment #8
avantwaves commentedI am soooo stupid! I was using the wrong parser. I was using xpath HTML parser instead of XML... Stupid idiot...
Now I am having other issue but does not fit in this thread.. :)
Comment #9
ethantLol - I've done that multiple times.