import {getJSON} from 'wix-fetch';
$w.onReady(async()=>{
const response = await getJSON('websiteaddress.php')
updateRepeater(response);
});
function updateRepeater(response){
console.log(response);
$w('#ConnectRepeater').data = response;
$w('#ConnectRepeater').show();
$w('#ConnectRepeater').onItemReady(($i,itemData,index)=>{
$i('#EpisodeDate').text = itemData['Date'];
$i('#EpisodeTitle').text = itemData['Full Title'];
$i('#EpisodeDescription').text=itemData['Public Description']
$i('#EpisodeImage').src = itemData['WebImage'];
});
}
What do you get as result for —>response<— ???
How do look like the OBJECT-STRUCTURE ?
Show opened OBJECT on a SCREENSHOT…