[TYPO3-realty] OpenImmo Import - Image links not imported correctly
johannes at heimhilcher.net
johannes at heimhilcher.net
Fri Apr 8 09:34:00 CEST 2011
Hi Oli,
I have sucessfully setup the OpenImmo-Import for your realty extension
(v 0.5.1).
Most of the data is imported correctly, but I have got 2 things, which
I have no clue how to solve:
1. The images of the immo-objects are sent as links in the xml export
file via the Immo-Management Program EDI-Real. For some reason, the
links are not imported correctly into realty.
The picture object is set up in the system folder but the link is
insertet not correctly (Error Message: Datei fehlt! Dieses
Inhaltselement verweist auf eine Datei, die nicht existiert:
../uploads/tx_realty/271000528_0.jpg)
The correct path of the file must be:
http://media.ediorg.at/media/image/-20000710/orig/filename.jpg
See the excerpt of the import xml, which is sent by EDI-Real:
Excerpt form the export file (110406_export.xml):
<anhaenge>
<anhang location="EXTERN" gruppe="TITELBILD" >
<anhangtitel>Hausansicht vom Garten</anhangtitel>
<format>jpg</format>
<daten>
<pfad>271000924_0.jpg</pfad>
</daten>
</anhang>
<anhang location="EXTERN" gruppe="TITELBILD" >
<anhangtitel>Wintergarten</anhangtitel>
<format>jpg</format>
<daten>
<pfad>271000924_1.jpg</pfad>
</daten>
</anhang>
<anhang location="EXTERN" gruppe="TITELBILD" >
<anhangtitel>Wohnsalon</anhangtitel>
<format>jpg</format>
<daten>
<pfad>271000924_2.jpg</pfad>
</daten>
</anhang>
<anhang location="EXTERN" gruppe="TITELBILD" >
<anhangtitel>Eingangsbereich</anhangtitel>
<format>jpg</format>
<daten>
<pfad>271000924_3.jpg</pfad>
</daten>
</anhang>
<user_defined_simplefield
feldname="http://media.ediorg.at/media/image/-20000710/orig/271000924_0.jpg">2011-03-16
12:39:23</user_defined_simplefield>
<user_defined_simplefield
feldname="http://media.ediorg.at/media/image/-20000710/orig/271000924_1.jpg">2011-03-16
12:40:23</user_defined_simplefield>
<user_defined_simplefield
feldname="http://media.ediorg.at/media/image/-20000710/orig/271000924_2.jpg">2011-03-16
12:41:38</user_defined_simplefield>
<user_defined_simplefield
feldname="http://media.ediorg.at/media/image/-20000710/orig/271000924_3.jpg">2011-03-16
12:42:16</user_defined_simplefield>
</anhaenge>
And this is how it looks like in the source of the object entry in the
realty extension:
2. The import log is clean up to one error:
Zeile 4: Element '{http://www.openimmo.de}openimmo': No matching
global declaration available for the validation root.
What does that mean?
Thank you very much for your help in advance.
All the best, Hannes
More information about the TYPO3-project-realty
mailing list