{"id":4284,"date":"2024-12-02T22:15:58","date_gmt":"2024-12-02T21:15:58","guid":{"rendered":"https:\/\/lemanskills.com\/?page_id=4284"},"modified":"2024-12-03T21:06:57","modified_gmt":"2024-12-03T20:06:57","slug":"podcast","status":"publish","type":"page","link":"https:\/\/lemanskills.com\/pl\/podcast\/","title":{"rendered":"Podcast"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"4284\" class=\"elementor elementor-4284\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0f7813c e-flex e-con-boxed e-con e-parent\" data-id=\"0f7813c\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-3b64042 e-con-full e-flex e-con e-child\" data-id=\"3b64042\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-918fa54 elementor-widget elementor-widget-heading\" data-id=\"918fa54\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Leman Tech Leadership Podcast<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e712649 elementor-widget elementor-widget-text-editor\" data-id=\"e712649\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>W\u0142\u0105cz Leman Tech Leadership Podcast i odkryj sekrety, jak zosta\u0107 Tech Liderem\/k\u0105, za kt\u00f3rym\/\u0105 id\u0105\u00a0 ludzie i nawet nie my\u015bl\u0105 o tym, \u017ceby odchodzi\u0107!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-d83f660 e-flex e-con-boxed e-con e-parent\" data-id=\"d83f660\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c23f38f elementor-widget elementor-widget-html\" data-id=\"c23f38f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div id=\"spreaker-podcasts\">\u0141adowanie podcast\u00f3w...<\/div>\n\n<div id=\"podcast-modal\" class=\"modal hidden\">\n    <div class=\"modal-content\">\n        <span class=\"close-button\" onclick=\"closeModal()\">&times;<\/span>\n        <div id=\"modal-content\"><\/div>\n    <\/div>\n<\/div>\n\n<script>\nconst showUrl = 'https:\/\/api.spreaker.com\/v2\/shows\/6343272\/episodes';\n\nfetch(showUrl)\n    .then(response => response.json())\n    .then(data => {\n        console.log('Otrzymane dane:', data); \/\/ do debugowania\n        let output = '<div class=\"podcasts-container\">';\n        \n        if (data && data.response && data.response.items) {\n            data.response.items.forEach(episode => {\n                output += `\n                    <div class=\"podcast-item\">\n                        <div class=\"podcast-header\" onclick=\"loadEpisodeDetails(${episode.episode_id})\">\n                            <div class=\"podcast-text\">\n                                <p class=\"podcast-date\">${new Date(episode.published_at).toLocaleDateString('pl-PL')}<\/p>\n                                <h3>${episode.title}<\/h3>\n                            <\/div>\n                            ${episode.image_original_url ? \n                                `<img decoding=\"async\" src=\"${episode.image_original_url}\" alt=\"${episode.title}\">` : ''}\n                        <\/div>\n                    <\/div>\n                `;\n            });\n        } else {\n            output += '<p>Nie znaleziono odcink\u00f3w<\/p>';\n        }\n        \n        output += '<\/div>';\n        document.getElementById('spreaker-podcasts').innerHTML = output;\n    })\n    .catch(error => {\n        console.error('B\u0142\u0105d:', error);\n        document.getElementById('spreaker-podcasts').innerHTML = \n            'Wyst\u0105pi\u0142 b\u0142\u0105d podczas \u0142adowania podcast\u00f3w: ' + error;\n    });\n\nasync function loadEpisodeDetails(episodeId) {\n    const modalContent = document.getElementById('modal-content');\n    modalContent.innerHTML = '<div class=\"loading\">\u0141adowanie szczeg\u00f3\u0142\u00f3w...<\/div>';\n    document.getElementById('podcast-modal').classList.remove('hidden');\n\n    try {\n        const response = await fetch(`https:\/\/api.spreaker.com\/v2\/episodes\/${episodeId}`);\n        const data = await response.json();\n        const episode = data.response.episode;\n\n        modalContent.innerHTML = `\n            <h2>${episode.title}<\/h2>\n            <p class=\"modal-date\">${new Date(episode.published_at).toLocaleDateString('pl-PL')}<\/p>\n            <div class=\"modal-description\">${episode.description_html || ''}<\/div>\n            <iframe src=\"https:\/\/widget.spreaker.com\/player?episode_id=${episode.episode_id}&theme=light\" \n                width=\"100%\" height=\"100\" frameborder=\"0\"><\/iframe>\n        `;\n    } catch (error) {\n        modalContent.innerHTML = 'Wyst\u0105pi\u0142 b\u0142\u0105d podczas \u0142adowania szczeg\u00f3\u0142\u00f3w: ' + error;\n    }\n}\n\nfunction closeModal() {\n    document.getElementById('podcast-modal').classList.add('hidden');\n}\n\nwindow.onclick = function(event) {\n    const modal = document.getElementById('podcast-modal');\n    if (event.target === modal) {\n        closeModal();\n    }\n}\n<\/script>\n\n<style>\n.podcasts-container {\n    display: grid;\n    grid-template-columns: repeat(3, 1fr);\n    gap: 20px;\n    font-family: var(--e-global-typography-primary-font-family), Sans-serif;\n    font-weight: var(--e-global-typography-primary-font-weight);\n    max-width: 1200px;\n    margin: 0 auto;\n    padding-top: 10px;\n}\n\n.podcast-item {\n    border: 1px solid #ddd;\n    border-radius: 5px;\n    background: #fff;\n    transition: all 0.3s ease;\n}\n\n.podcast-item:hover {\n    transform: translateY(-3px);\n    box-shadow: 0 5px 15px rgba(0,0,0,0.1);\n    cursor: pointer;\n}\n\n.podcast-header {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    height: 100%;\n}\n\n.podcast-header h3 {\n    margin: 0;\n    flex: 1;\n}\n\n.podcast-header img {\n    width: 100%;\n    border-radius: 4px;\n}\n\n.podcast-details {\n    margin-top: 15px;\n    padding-top: 15px;\n    border-top: 1px solid #eee;\n}\n\n@media (max-width: 1200px) {\n    .podcasts-container {\n        grid-template-columns: repeat(3, 1fr);\n    }\n}\n\n@media (max-width: 992px) {\n    .podcasts-container {\n        grid-template-columns: repeat(2, 1fr);\n    }\n}\n\n@media (max-width: 576px) {\n    .podcasts-container {\n        grid-template-columns: 1fr;\n    }\n    \n    .podcast-header img {\n        width: 80%;\n        max-width: 300px;\n        margin: 10px auto;\n    }\n}\n\n.modal {\n    position: fixed;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    background-color: rgba(0, 0, 0, 0.5);\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    z-index: 1000;\n}\n\n.modal-content {\n    background-color: white;\n    padding: 30px;\n    border-radius: 5px;\n    max-width: 800px;\n    width: 90%;\n    max-height: 90vh;\n    overflow-y: auto;\n    position: relative;\n    font-family: var(--e-global-typography-primary-font-family), Sans-serif;\n}\n\n.modal-content h2 {\n    font-family: var(--e-global-typography-primary-font-family), Sans-serif;\n    font-size: 1.8em;\n    font-weight: normal;\n    margin: 0 0 15px 0;\n    line-height: 1.3;\n}\n\n.modal-date {\n    color: #666;\n    font-size: 0.9em;\n    margin-bottom: 20px;\n}\n\n.modal-description {\n    font-size: 1.1em;\n    line-height: 1.6;\n    margin-bottom: 25px;\n    color: #333;\n}\n\n.modal-duration {\n    font-size: 0.9em;\n    color: #666;\n    margin-bottom: 20px;\n}\n\n.modal-content iframe {\n    margin-top: 10px;\n}\n\n@media (max-width: 768px) {\n    .modal-content {\n        padding: 20px;\n    }\n\n    .modal-content h2 {\n        font-size: 1.5em;\n    }\n\n    .modal-description {\n        font-size: 1em;\n    }\n}\n\n.close-button {\n    position: absolute;\n    right: 15px;\n    top: 10px;\n    font-size: 24px;\n    cursor: pointer;\n    color: #666;\n}\n\n.close-button:hover {\n    color: #000;\n}\n\n.hidden {\n    display: none !important;\n}\n\n@media (max-width: 768px) {\n    .modal-content {\n        width: 95%;\n        padding: 15px;\n    }\n}\n\n.podcast-text {\n    padding: 20px;\n    flex: 1;\n    width: 100%;\n}\n\n.podcast-date {\n    margin: 0 0 5px 0;\n    color: #666;\n    font-size: 0.9em;\n}\n\n.podcast-header h3 {\n    margin: 0;\n    flex: 1;\n    font-weight: normal;\n    font-size: 1.1em;\n}\n<\/style>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Leman Tech Leadership Podcast W\u0142\u0105cz Leman Tech Leadership Podcast i odkryj sekrety, jak zosta\u0107 Tech Liderem\/k\u0105, za kt\u00f3rym\/\u0105 id\u0105\u00a0 ludzie i nawet nie my\u015bl\u0105 o tym, \u017ceby odchodzi\u0107! \u0141adowanie podcast\u00f3w&#8230; &times;<\/p>\n","protected":false},"author":8,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4284","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Podcast - Lemanskills.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lemanskills.com\/pl\/podcast\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Podcast - Lemanskills.com\" \/>\n<meta property=\"og:description\" content=\"Leman Tech Leadership Podcast W\u0142\u0105cz Leman Tech Leadership Podcast i odkryj sekrety, jak zosta\u0107 Tech Liderem\/k\u0105, za kt\u00f3rym\/\u0105 id\u0105\u00a0 ludzie i nawet nie my\u015bl\u0105 o tym, \u017ceby odchodzi\u0107! \u0141adowanie podcast\u00f3w&#8230; &times;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lemanskills.com\/pl\/podcast\/\" \/>\n<meta property=\"og:site_name\" content=\"Lemanskills.com\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-03T20:06:57+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuta\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/podcast\\\/\",\"url\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/podcast\\\/\",\"name\":\"Podcast - Lemanskills.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/#website\"},\"datePublished\":\"2024-12-02T21:15:58+00:00\",\"dateModified\":\"2024-12-03T20:06:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/podcast\\\/#breadcrumb\"},\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/lemanskills.com\\\/pl\\\/podcast\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/podcast\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Strona g\u0142\u00f3wna\",\"item\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Podcast\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/#website\",\"url\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/\",\"name\":\"Lemanskills.com\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/#organization\",\"name\":\"Lemanskills.com\",\"url\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/lemanskills.com\\\/wp-content\\\/uploads\\\/logo80.png\",\"contentUrl\":\"https:\\\/\\\/lemanskills.com\\\/wp-content\\\/uploads\\\/logo80.png\",\"width\":303,\"height\":80,\"caption\":\"Lemanskills.com\"},\"image\":{\"@id\":\"https:\\\/\\\/lemanskills.com\\\/pl\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Podcast - Lemanskills.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lemanskills.com\/pl\/podcast\/","og_locale":"pl_PL","og_type":"article","og_title":"Podcast - Lemanskills.com","og_description":"Leman Tech Leadership Podcast W\u0142\u0105cz Leman Tech Leadership Podcast i odkryj sekrety, jak zosta\u0107 Tech Liderem\/k\u0105, za kt\u00f3rym\/\u0105 id\u0105\u00a0 ludzie i nawet nie my\u015bl\u0105 o tym, \u017ceby odchodzi\u0107! \u0141adowanie podcast\u00f3w&#8230; &times;","og_url":"https:\/\/lemanskills.com\/pl\/podcast\/","og_site_name":"Lemanskills.com","article_modified_time":"2024-12-03T20:06:57+00:00","twitter_card":"summary_large_image","twitter_misc":{"Szacowany czas czytania":"1 minuta"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/lemanskills.com\/pl\/podcast\/","url":"https:\/\/lemanskills.com\/pl\/podcast\/","name":"Podcast - Lemanskills.com","isPartOf":{"@id":"https:\/\/lemanskills.com\/pl\/#website"},"datePublished":"2024-12-02T21:15:58+00:00","dateModified":"2024-12-03T20:06:57+00:00","breadcrumb":{"@id":"https:\/\/lemanskills.com\/pl\/podcast\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lemanskills.com\/pl\/podcast\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/lemanskills.com\/pl\/podcast\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Strona g\u0142\u00f3wna","item":"https:\/\/lemanskills.com\/pl\/"},{"@type":"ListItem","position":2,"name":"Podcast"}]},{"@type":"WebSite","@id":"https:\/\/lemanskills.com\/pl\/#website","url":"https:\/\/lemanskills.com\/pl\/","name":"Lemanskills.com","description":"","publisher":{"@id":"https:\/\/lemanskills.com\/pl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lemanskills.com\/pl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/lemanskills.com\/pl\/#organization","name":"Lemanskills.com","url":"https:\/\/lemanskills.com\/pl\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/lemanskills.com\/pl\/#\/schema\/logo\/image\/","url":"https:\/\/lemanskills.com\/wp-content\/uploads\/logo80.png","contentUrl":"https:\/\/lemanskills.com\/wp-content\/uploads\/logo80.png","width":303,"height":80,"caption":"Lemanskills.com"},"image":{"@id":"https:\/\/lemanskills.com\/pl\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/lemanskills.com\/pl\/wp-json\/wp\/v2\/pages\/4284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lemanskills.com\/pl\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lemanskills.com\/pl\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lemanskills.com\/pl\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/lemanskills.com\/pl\/wp-json\/wp\/v2\/comments?post=4284"}],"version-history":[{"count":65,"href":"https:\/\/lemanskills.com\/pl\/wp-json\/wp\/v2\/pages\/4284\/revisions"}],"predecessor-version":[{"id":4356,"href":"https:\/\/lemanskills.com\/pl\/wp-json\/wp\/v2\/pages\/4284\/revisions\/4356"}],"wp:attachment":[{"href":"https:\/\/lemanskills.com\/pl\/wp-json\/wp\/v2\/media?parent=4284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}