{"id":282,"date":"2025-05-13T23:51:24","date_gmt":"2025-05-13T23:51:24","guid":{"rendered":"https:\/\/homesleene.com\/meta\/?p=282"},"modified":"2025-05-14T00:36:02","modified_gmt":"2025-05-14T00:36:02","slug":"%d8%b1%d8%b5%d8%af-%d8%a7%d9%84%d8%b2%d9%84%d8%a7%d8%b2%d9%84-%d9%85%d8%a8%d8%a7%d8%b4%d8%b1-%d8%a7%d9%84%d8%b2%d9%84%d8%a7%d8%b2%d9%84-%d8%a7%d9%84%d8%a7%d9%86","status":"publish","type":"post","link":"https:\/\/homesleene.com\/meta\/%d8%b1%d8%b5%d8%af-%d8%a7%d9%84%d8%b2%d9%84%d8%a7%d8%b2%d9%84-%d9%85%d8%a8%d8%a7%d8%b4%d8%b1-%d8%a7%d9%84%d8%b2%d9%84%d8%a7%d8%b2%d9%84-%d8%a7%d9%84%d8%a7%d9%86\/","title":{"rendered":"\u0631\u0635\u062f \u0627\u0644\u0632\u0644\u0627\u0632\u0644 \u0645\u0628\u0627\u0634\u0631 \u0627\u0644\u0632\u0644\u0627\u0632\u0644 \u0627\u0644\u0627\u0646"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u0632\u0644\u0632\u0627\u0644 \u0627\u0644\u0627\u0646 . \u0632\u0644\u0632\u0627\u0644 \u0645\u0628\u0627\u0634\u0631 . \u0632\u0644\u0632\u0627\u0644 . \u0632\u0644\u0627\u0632\u0644 \u0645\u0628\u0627\u0634\u0631 . \u062a\u0648\u0633\u0627\u0646\u0627\u0645\u064a \u0645\u0628\u0627\u0634\u0631<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0627\u0644\u0632\u0644\u0627\u0632\u0644 \u0627\u0644\u0627\u0646 \u062a\u062d\u062f\u064a\u062b \u0643\u0644 \u062f\u0642\u064a\u0642\u0647<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">\u0631\u0635\u062f \u0627\u062e\u0631 10 \u062f\u0648\u0644 \u062a\u0645 \u062d\u062f\u0648\u062b \u0632\u0644\u0632\u0627\u0644 \u0628\u0647\u0645 \u0627\u0644\u0627\u0646 <\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u0627\u0628\u062d\u062b \u0639\u0646 \u0632\u0644\u0632\u0627\u0644 \u062a\u0645 \u062d\u062f\u0648\u062b\u0647 \u0645\u0646\u0630 \u0642\u0644\u064a\u0644 <\/p>\n\n\n\n<!DOCTYPE html>\n<html lang=\"ar\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>\u0631\u0635\u062f \u0627\u0644\u0632\u0644\u0627\u0632\u0644<\/title>\n    <link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet@1.9.3\/dist\/leaflet.css\"\n        integrity=\"sha256-kLaT2GOSpHechhsozzB+flnD+zUyjE2LlfWPgU04xyI=\"\n        crossorigin=\"\"\/>\n    <style>\n        body {\n            font-family: Arial, sans-serif;\n            direction: rtl;\n            background-color: #f2f2f2;\n        }\n        #map {\n            height: 600px;\n            width: 80%;\n            margin: 20px auto;\n            border: 1px solid #ccc;\n            border-radius: 10px;\n            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n        }\n        #earthquakes {\n            width: 80%;\n            margin: 20px auto;\n            padding: 20px;\n            background-color: #fff;\n            border: 1px solid #ccc;\n            border-radius: 10px;\n            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n        }\n        .earthquake-box {\n            background-color: #4567b7;\n            color: #fff;\n            padding: 10px;\n            border-radius: 10px;\n            margin-bottom: 10px;\n        }\n    <\/style>\n<\/head>\n<body>\n    <h1 style=\"text-align: center; margin-bottom: 20px; color: #4567b7;\">\u0631\u0635\u062f \u0627\u0644\u0632\u0644\u0627\u0632\u0644<\/h1>\n    <div id=\"map\"><\/div>\n    <div id=\"earthquakes\">\n        <h2 style=\"margin-bottom: 10px; color: #4567b7;\">\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0632\u0644\u0627\u0632\u0644<\/h2>\n        <ul id=\"earthquake-list\" style=\"list-style: none; padding: 0; margin: 0;\"><\/ul>\n    <\/div>\n\n    <script src=\"https:\/\/unpkg.com\/leaflet@1.9.3\/dist\/leaflet.js\"\n        integrity=\"sha256-WBkoXOwTeyKclOHuWtc+i2uENFpDZ9YPdf5Hf+D7ewM=\"\n        crossorigin=\"\"><\/script>\n    <script>\n        const map = L.map('map').setView([0, 0], 2);\n        L.tileLayer('https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png', {\n            attribution: '© <a href=\"https:\/\/www.openstreetmap.org\/\">OpenStreetMap<\/a>',\n            subdomains: ['a', 'b', 'c']\n        }).addTo(map);\n\n        const earthquakeList = document.getElementById('earthquake-list');\n\n        function getEarthquakes() {\n            fetch('https:\/\/earthquake.usgs.gov\/earthquakes\/feed\/v1.0\/summary\/all_hour.geojson')\n            .then(response => response.json())\n            .then(data => {\n                const earthquakes = data.features;\n                earthquakeList.innerHTML = '';\n\n                earthquakes.forEach(earthquake => {\n                    const lat = earthquake.geometry.coordinates[1];\n                    const lng = earthquake.geometry.coordinates[0];\n                    const magnitude = earthquake.properties.mag;\n                    const location = earthquake.properties.place;\n                    const time = new Date(earthquake.properties.time).toLocaleString();\n\n                    const marker = L.marker([lat, lng]).addTo(map);\n                    marker.bindPopup(`\n                        <h3>\u0645\u0648\u0642\u0639 \u0627\u0644\u0632\u0644\u0632\u0627\u0644: ${location}<\/h3>\n                        <p>\u0627\u0644\u0642\u0648\u0629: ${magnitude}<\/p>\n                        <p>\u0627\u0644\u0648\u0642\u062a: ${time}<\/p>\n                    `);\n\n                    const earthquakeBox = document.createElement('li');\n                    earthquakeBox.className = 'earthquake-box';\n                    earthquakeBox.innerHTML = `\n                        <h3>${location}<\/h3>\n                        <p>\u0627\u0644\u0642\u0648\u0629: ${magnitude}<\/p>\n                        <p>\u0627\u0644\u0648\u0642\u062a: ${time}<\/p>\n                    `;\n                    earthquakeList.appendChild(earthquakeBox);\n                });\n            })\n            .catch(error => console.error('Error:', error));\n        }\n\n        getEarthquakes();\n        setInterval(getEarthquakes, 60000); \/\/ \u062a\u062d\u062f\u064a\u062b \u0643\u0644 \u062f\u0642\u064a\u0642\u0629\n    <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>\u0632\u0644\u0632\u0627\u0644 \u0627\u0644\u0627\u0646 . \u0632\u0644\u0632\u0627\u0644 \u0645\u0628\u0627\u0634\u0631 . \u0632\u0644\u0632\u0627\u0644 . \u0632\u0644\u0627\u0632\u0644 \u0645\u0628\u0627\u0634\u0631 . \u062a\u0648\u0633\u0627\u0646\u0627\u0645\u064a \u0645\u0628\u0627\u0634\u0631 \u0627\u0644\u0632\u0644\u0627\u0632\u0644 \u0627\u0644\u0627\u0646 \u062a\u062d\u062f\u064a\u062b \u0643\u0644 \u062f\u0642\u064a\u0642\u0647 \u0631\u0635\u062f \u0627\u062e\u0631 10 \u062f\u0648\u0644 \u062a\u0645 \u062d\u062f\u0648\u062b \u0632\u0644\u0632\u0627\u0644 \u0628\u0647\u0645 \u0627\u0644\u0627\u0646 \u0627\u0628\u062d\u062b \u0639\u0646 \u0632\u0644\u0632\u0627\u0644 \u062a\u0645 \u062d\u062f\u0648\u062b\u0647 \u0645\u0646\u0630 \u0642\u0644\u064a\u0644 \u0631\u0635\u062f \u0627\u0644\u0632\u0644\u0627\u0632\u0644 \u0631\u0635\u062f \u0627\u0644\u0632\u0644\u0627\u0632\u0644 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0632\u0644\u0627\u0632\u0644<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,1171,1170,1168,1169],"tags":[],"class_list":["post-282","post","type-post","status-publish","format-standard","hentry","category-blog","category-1171","category-1170","category-1168","category-1169"],"_links":{"self":[{"href":"https:\/\/homesleene.com\/meta\/wp-json\/wp\/v2\/posts\/282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/homesleene.com\/meta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/homesleene.com\/meta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/homesleene.com\/meta\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/homesleene.com\/meta\/wp-json\/wp\/v2\/comments?post=282"}],"version-history":[{"count":17,"href":"https:\/\/homesleene.com\/meta\/wp-json\/wp\/v2\/posts\/282\/revisions"}],"predecessor-version":[{"id":301,"href":"https:\/\/homesleene.com\/meta\/wp-json\/wp\/v2\/posts\/282\/revisions\/301"}],"wp:attachment":[{"href":"https:\/\/homesleene.com\/meta\/wp-json\/wp\/v2\/media?parent=282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/homesleene.com\/meta\/wp-json\/wp\/v2\/categories?post=282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/homesleene.com\/meta\/wp-json\/wp\/v2\/tags?post=282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}