dotnft & metaverse-festival sync typos #6
This commit is contained in:
rodič
7c61974333
revize
ed558bcb36
|
@ -13,7 +13,8 @@ export async function data(tools) {
|
|||
const item = {
|
||||
id: tools.formatId(name),
|
||||
name,
|
||||
caption: $("p.brxe-text-basic", el).text(),
|
||||
caption: $("p.brxe-text-basic", el).toArray().map((e) => $(e).text())
|
||||
.join(", "),
|
||||
twitter: $('a[href^="https://twitter.com"]', el).attr("href")?.replace(
|
||||
"https://twitter.com/",
|
||||
"",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{
|
||||
"id": "dakota-barnett",
|
||||
"name": "Dakota Barnett",
|
||||
"caption": "FounderCEO",
|
||||
"caption": "Founder, CEO",
|
||||
"twitter": "InvArchNetwork",
|
||||
"photoUrl": "https://polkadotnft.xyz/wp-content/uploads/2023/05/Dakota_Barnett-300x300-1.jpg",
|
||||
"photo": "photos/speakers/dakota-barnett.jpg"
|
||||
|
@ -19,7 +19,7 @@
|
|||
{
|
||||
"id": "daniel-vaculik",
|
||||
"name": "Daniel Vaculík",
|
||||
"caption": "Project and community managerMember of the leading Council",
|
||||
"caption": "Project and community manager, Member of the leading Council",
|
||||
"twitter": "FrodolBohemian",
|
||||
"photoUrl": "https://polkadotnft.xyz/wp-content/uploads/2023/05/Daniel_Vaculik.jpg",
|
||||
"country": "cz",
|
||||
|
|
|
@ -35,7 +35,7 @@ export async function data(tools) {
|
|||
const item = {
|
||||
id: tools.formatId(name),
|
||||
name,
|
||||
caption: $("p.elementor-icon-box-description", el).text().trim(),
|
||||
caption: cleanupCaption($("p.elementor-icon-box-description", el).html()),
|
||||
photoUrl: $("div.elementor-widget-container img", el).attr("src"),
|
||||
};
|
||||
|
||||
|
@ -48,6 +48,10 @@ export async function data(tools) {
|
|||
return out;
|
||||
}
|
||||
|
||||
function cleanupCaption(str) {
|
||||
return Html5Entities.decode(str.replace(/\s*<br>\s*/, " ").trim());
|
||||
}
|
||||
|
||||
function cleanupName(str) {
|
||||
return Html5Entities.decode(str.trim())
|
||||
.replace(/\s?<br>\s?/, " ")
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
"id": "adam-rajnoha",
|
||||
"name": "Adam Rajnoha",
|
||||
"caption": "Co-Founder & CEOof MOYA",
|
||||
"caption": "Co-Founder & CEO of MOYA",
|
||||
"photoUrl": "https://metaversefestivalprague.com/wp-content/uploads/elementor/thumbs/1-q37tzwz6wixoc6obbnb16h8x2u42s02ouu4mal3s8o.png",
|
||||
"country": "cz",
|
||||
"photo": "photos/speakers/adam-rajnoha.png"
|
||||
|
@ -11,7 +11,7 @@
|
|||
{
|
||||
"id": "david-marak",
|
||||
"name": "David Mařák",
|
||||
"caption": "Co-Founder & CTOof YORD",
|
||||
"caption": "Co-Founder & CTO of YORD",
|
||||
"photoUrl": "https://metaversefestivalprague.com/wp-content/uploads/elementor/thumbs/metaverse-speakers-4-q3b5fwdth7ae5qpjfu794w5n621i95plps1vyvh5tk.png",
|
||||
"country": "cz",
|
||||
"photo": "photos/speakers/david-marak.png"
|
||||
|
@ -19,7 +19,7 @@
|
|||
{
|
||||
"id": "filip-kollert",
|
||||
"name": "Filip Kollert",
|
||||
"caption": "Founder & COO at Swipelux",
|
||||
"caption": "Founder & COO at Swipelux",
|
||||
"photoUrl": "https://metaversefestivalprague.com/wp-content/uploads/2023/03/metaverse-speakers-6.png",
|
||||
"country": "cz",
|
||||
"photo": "photos/speakers/filip-kollert.png"
|
||||
|
@ -43,7 +43,7 @@
|
|||
{
|
||||
"id": "iraida-novruzova",
|
||||
"name": "Iraida Novruzova",
|
||||
"caption": "Metaverse FashionExpert",
|
||||
"caption": "Metaverse Fashion Expert",
|
||||
"photoUrl": "https://metaversefestivalprague.com/wp-content/uploads/2023/03/metaverse-speakers-11.png",
|
||||
"country": "az",
|
||||
"photo": "photos/speakers/iraida-novruzova.png"
|
||||
|
@ -74,7 +74,7 @@
|
|||
{
|
||||
"id": "katerina-skarabelova",
|
||||
"name": "Kateřina Škarabelová",
|
||||
"caption": "Co-founder Studio Püree,3D designer",
|
||||
"caption": "Co-founder Studio Püree, 3D designer",
|
||||
"photoUrl": "https://metaversefestivalprague.com/wp-content/uploads/2023/04/metaverse-speakers-19.png",
|
||||
"country": "cz",
|
||||
"photo": "photos/speakers/katerina-skarabelova.png"
|
||||
|
@ -153,7 +153,7 @@
|
|||
{
|
||||
"id": "timmu-toke",
|
||||
"name": "Timmu Toke",
|
||||
"caption": "CEO atReady Player Me",
|
||||
"caption": "CEO at Ready Player Me",
|
||||
"photoUrl": "https://metaversefestivalprague.com/wp-content/uploads/2023/03/metaverse-speakers-14.png",
|
||||
"country": "us",
|
||||
"photo": "photos/speakers/timmu-toke.png"
|
||||
|
|
Načítá se…
Odkázat v novém úkolu