Create XML through jQuery. Check classes for content, date, category etc and replace according in the below code, run the jQuery in console then create xml file and copy the xml code from console.

Then Import that in wordpress.

https://jsfiddle.net/superbwebdeveloper/ufed13pv/1/

var name =  $("span.post-title__text .blog-post-title-font").innerHTML;
var dated = $(".blog-post-page-font .post-metadata__date").innerHTML;
var category = $(".post-categories-list__link").innerHTML;
var nicecategory =  category.toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g, '');
var description =  $("article.blog-post-page-font .post-content__body").innerHTML;
var d = new Date(dated);
var month = d.getMonth() + 1;
var twodmonth = ("0" + (d.getMonth() + 1)).slice(-2);
var monthname = d.toDateString().substr(4, 3);
var dated = d.getDate();
var twoddated = ("0" + d.getDate()).slice(-2);
var year = d.getFullYear();
var day = d.getDay();
var days = ["Sun","Mon","Tue","Wed","Thurs","Fri","Sat"];
var dayname = days[day];
var fullday = dayname + ", "+ dated + " "+monthname+ " "+year;
var pubday =  year + "-"+twodmonth+ "-"+twoddated;

var xml = '<?xml version="1.0" encoding="UTF-8" ?>';
xml += '<rss version="2.0" \n';
xml += ' xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/" \n';
xml += 'xmlns:content="http://purl.org/rss/1.0/modules/content/" \n';
xml += 'xmlns:wfw="http://wellformedweb.org/CommentAPI/" \n';
xml += 'xmlns:dc="http://purl.org/dc/elements/1.1/" \n';
xml += 'xmlns:wp="http://wordpress.org/export/1.2/">\n';
xml +='<channel><wp:wxr_version>1.2</wp:wxr_version>\n';
xml +='<wp:author>\n';
xml +='<wp:author_id>1</wp:author_id>\n';
xml +='<wp:author_login><![CDATA[admin]]></wp:author_login>\n';
xml +='<wp:author_display_name><![CDATA[admin]]></wp:author_display_name>\n';
xml +='<wp:author_first_name><![CDATA[]]></wp:author_first_name>\n';
xml +='<wp:author_last_name><![CDATA[]]></wp:author_last_name>\n';
xml +='</wp:author>\n';
xml +='<generator>https://wordpress.org/?v=5.7.2</generator>';
xml += '<item>';
xml += "<title><![CDATA["+name+"]]></title>\n";
xml += "<pubDate>" + fullday + " 01:17:05 +0000</pubDate>\n";
xml += "<dc:creator><![CDATA[admin]]></dc:creator>\n";
xml += "<description></description>\n";
xml += "<content:encoded>"+description+"</content:encoded>\n";
xml += "<excerpt:encoded><![CDATA[]]></excerpt:encoded>\n";
xml += "<wp:post_date><![CDATA["+pubday+"]]></wp:post_date>\n";
xml += "<wp:status><![CDATA[publish]]></wp:status>\n";
xml += "<wp:post_type><![CDATA[post]]></wp:post_type>\n";
xml += "<wp:post_password><![CDATA[]]></wp:post_password>\n";
xml += "<wp:is_sticky>0</wp:is_sticky>\n";
xml += '<category domain="category" nicename="'+nicecategory+'"><![CDATA['+category+']]></category>\n';
xml += "</item>\n";
xml += "</channel>\n";
xml += "</rss>\n";

console.log(xml);
Category: jQuery, Wix, WordPress
Balbir KaurPHP and WordPress