Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: XML import - cannot find any data

Status Resolved
Add-on / Version DataGrab 4.0.5
Severity
EE Version 6.3.4

Verve -Webdesign und Grafik

Jul 24, 2022

Hi
See my xml-file and the error message added.
The Validator says the file has no errors
Why does it find any data to import?

 

#1

BoldMinded (Brian)

I’m not sure. It doesn’t like something about the XML. Did you run it through the XML validator as the message suggests? Did you try removing nodes in the XML until it starts working to see which one might be causing the problem?

#2

BoldMinded (Brian)

It helps if you share the actual XML file you’re having issues with. I’m in the dark b/c I simply don’t have enough information to work from.

#3

Verve -Webdesign und Grafik

<?xml version="1.0"?>
<rss version="2.0" 
        xmlns:content="https://purl.org/rss/1.0/modules/content/" 
        xmlns:wfw="https://wellformedweb.org/CommentAPI/" 
        xmlns:dc="https://purl.org/dc/elements/1.1/" 
        xmlns:atom="https://www.w3.org/2005/Atom" 
        xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" 
        xmlns:slash="https://purl.org/rss/1.0/modules/slash/" 
        >
<channel>
   <item>
        <title>Rote Augen nach dem Schwimmen?</title>
        <link>https://www.gesundheitsoptik.ch/de/news-detailseite/rote-augen-nach-dem-schwimmen/</link>
        Thu, 07 Jul 2022 15:35:48 +0000</pubDate>
        <guid isPermaLink="false">https://www.gesundheitsoptik.ch/?p=4716</guid>
        <description><![CDATA[Chlor- und Meerwasser reizen die Augen. Diese reagieren bei Kontakt oft mit Rötung und Brennen. Wie man sich schützt, die Beschwerden schnell loswird und was man mit Kontaktlinsen beachten sollten?]]></description>
        <content:encoded><![CDATA[Chlor- und Meerwasser reizen die Augen. Diese reagieren bei Kontakt oft mit Rötung und Brennen. Wie man sich schützt, die Beschwerden schnell loswird und was man mit Kontaktlinsen beachten sollten?]]></content:encoded>                  <enclosure url="https://www.gesundheitsoptik.ch/wp-content/uploads/2022/07/iStock-935576014.jpg" length="799657" type="image/jpeg" >                               
   </item>   
</channel>
</rss>

I tried like you said but with no success
#4

BoldMinded (Brian)

Comment has been marked private.

#5

Verve -Webdesign und Grafik

Comment has been marked private.

#6

Verve -Webdesign und Grafik

Comment has been marked private.

#7

BoldMinded (Brian)

Comment has been marked private.

#8

BoldMinded (Brian)

I put your XML into 2 different validtors and they both had errors. In the 3rd screenshot you provided it doesn’t look like you clicked the Check XML button.

https://www.dropbox.com/s/r55zz020kqwb5rx/ticket-2449.png?dl=0 https://www.dropbox.com/s/rnctwaqr7ne9ctc/ticket-2449-2.png?dl=0

#9

Verve -Webdesign und Grafik

Comment has been marked private.

#10

Verve -Webdesign und Grafik

Comment has been marked private.

#11

BoldMinded (Brian)

I’m copy/pasting what you posted in the comment, it’s still not valid.

Errors in the XML document: 14: 42 The element type “item” must be terminated by the matching end-tag “</item>”.
Invalid XML: This page contains the following errors: error on line 14 at column 50: Opening and ending tag mismatch: item line 0 and pubDate Below is a rendering of the page up to the first error.

I still don’t see anything that leads me to believe this is a bug with DataGrab.

#12

Verve -Webdesign und Grafik

Comment has been marked private.

#13

BoldMinded (Brian)

It appears to be working fine for me

https://www.dropbox.com/s/8dgwk29g0rh3og5/ticket-2449-3.png?dl=0 https://www.dropbox.com/s/i1ypwmknunvlhyq/ticket-2449-4.png?dl=0

#14

Verve -Webdesign und Grafik

I do the same as you (except file feed.xml is in the root) and I’m always getting this error:

Configuration Error No items were found. Please check file type, url/path to the file, and XML path (/rss/channel/item) to the entries are correct.

#15

BoldMinded (Brian)

I can’t login to your CP b/c there is an htaccess password on the site.

#16

BoldMinded (Brian)

Oh never mind, I didn’t see you provided that already.

#17

BoldMinded (Brian)

It probably can’t read the file because of the htaccess authentication you have in place… It’s blocking the request to load the file.

#18

BoldMinded (Brian)

Comment has been marked private.

#19

Verve -Webdesign und Grafik

The link you sent does not work. I removed the protection and tried the import. No error message great, but also no import. The gray statusbar is not growing or showing an import.

#20

BoldMinded (Brian)

You’re going to have to drop the htaccess authentication or something. That file works for me locally, this an issue with your environment, not the add-on itself.

Login to reply