XML not importing images
-
Hi, I cannot seem to get the images to import, I have tried on a different domain and have been through uploads folders etc, still it will not upload. I have even tried with the direct image link instead of the shortocde.
{adverts[1]/advert[1]/advert_media[1]/media[2]}
and: https://www.boatshop24.co.uk/img/adphotos/paa/677/565677_-_photo_1_1615894628_original.jpg
Still no joy.
Here is the feed that I am using, everything else seems to work ok:
<broker code="3641"> <broker_details> <company_name>Pedro Boats UK Ltd</company_name> </broker_details> <offices> <office id="1"> <office_name>Pedro Boats UK Ltd</office_name> <email>[email protected]</email> <name>Pedro Boats UK Ltd</name> <address>Yareside Gardens, Brundall,</address> <town>Norwich</town> <county/> <country>United Kingdom</country> <postcode>NR13 5PY</postcode> <daytime_phone>01603 716555</daytime_phone> <evening_phone/> <fax>01603 716085</fax> <mobile>07774 866679</mobile> <website>https://www.pedroboats.co.uk</website> </office> </offices> <adverts> <advert office_id="1" ref="565677" status="available"> <advert_media> <media type="image/jpeg" primary="true"> https://www.boatshop24.co.uk/img/adphotos/paa/677/565677_-_photo_1_1615894628_original.jpg </media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> <media type="image/jpeg" primary="false"></media> </advert_media> <advert_features> <boat_type>Motor Boats</boat_type> <boat_category>Cabin Cruisers</boat_category> <new_or_used>Used</new_or_used> <vessel_lying country="GB">Eastern, Norwich</vessel_lying> <asking_price poa="false" currency="GBP" eu_tax="false">79950</asking_price> <marketing_descs> <marketing_desc language="GB"> <h2>Pedro Skiron 35 Dutch built steel motor cruiser, built by Pedro Boats in Holland 2004 powered by a single Perkins M92 (91hp-1529 hours) diesel, 4 berth accommodation in 2 cabins, V berths forward, large galley with work surfaces both port & starboard, together with sink, Ecology Seagull water filter, 4 ring gas hob, 12v fridge, 220v deep freeze, large combination microwave, all crockery & cutlery, spin dryer in cupboard, large saloon with seating & storage under, large folding teak table, aft cabin with double bed, en-suite with toilet, shower & sink.<br /> </h2>General equipment:<br /> 24v bowthruster, 3 x fire extinguishers, fire blanket in galley, Victron Phoenix + 1600 inverter/charger, 4 x 120amp domestic gel batteries, 2 bow thruster batteries all charged by Eco Smart Charger, Paguro 4KVA generator (278 hours) shore power with 220w ring main sockets, 2 banks of solar panels on forward cabin roof with Victron MPTA smart controllers, Climma a/c with outlet in saloon, galley & aft cabin, 3 x auto bilge pumps, grey water discharged overboard or into holding tank, holding tank with Ventura empty or 12v diaphragm pump, Webasto warm air heating throughout, hot water system with heat exchanger & 220w emersion heater.<br /> Navigation Equipment:<br /> Raymarine C80 radar/plotter with AIS, auto pilot, Tri-data, wind speed indicator, Fluxgate compass, Icom M505 VHF/DSC radio.<br /> Upper Helm:<br /> Full canvas cover with sides, Binnacle compass, fully instrumented dash, folding radar arch with gas struts, Tek Deck flooring, Todd double bench seat, s/s davits with excel 2.5mt inflatable dinghy, life belt with life & line thrower.<br /> Fore deck:<br /> Anchor with 50mts chain, manual windless, fender holders, bow ladder, gang plank & boat hook, BSC until 2023.<br /> This extremely well equipped Skiron has been fitted out for comfortable living & has spent most of it's life in the inland waterways of Europe. <br /> New to the market 2021 (archive photos) due to sad death of owner. <br /> Can be viewed at Pedro Boats in Brundall, Norfolk.<br /> £79,950<br /> </marketing_desc> </marketing_descs> <manufacturer>Pedro</manufacturer> <model>Skiron 35</model> </advert_features> <boat_features> <reg_details name="reg_details">2004</reg_details> <dimensions> <item name="air_draft" unit="metres">2.5 meters</item> <item name="beam" unit="meters">3.5</item> <item name="draft" unit="meters">1.0</item> <item name="loa" unit="meters">10.6</item> </dimensions> <build> <item name="year">2004</item> <item name="hull_colour">Blue</item> <item name="hull_construction">Steel</item> <item name="hull_type">Displacement</item> <item name="deck_colour">White</item> <item name="deck_construction">Steel</item> <item name="keel_type">Long</item> <item name="displacement" unit="kg">7.5 kg</item> </build> <galley/> <engine> <item name="fuel">Diesel</item> <item name="hours">1529</item> <item name="horse_power">91</item> <item name="engine_manufacturer">Perkins</item> <item name="engine_quantity">1</item> <item name="tankage" unit="litres">300</item> </engine> <navigation/> <accommodation> <item name="cabins">2</item> <item name="berths">4</item> </accommodation> <safety_equipment/> <rig_sails/> <electronics/> <general/> <equipment/> <other> <item name="tradein">1</item> <item name="steering">Hydraulic wheel control</item> <item name="fresh_water">250lts</item> <item name="holding_tank">250ltrs</item> </other> </boat_features> </advert> </adverts> </broker>
Kind regards – J
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘XML not importing images’ is closed to new replies.