{"id":2875,"date":"2025-02-05T02:28:42","date_gmt":"2025-02-05T02:28:42","guid":{"rendered":"https:\/\/www.sanskritbooks.com\/download\/?p=2875"},"modified":"2025-02-05T02:28:42","modified_gmt":"2025-02-05T02:28:42","slug":"ashtanga-hridayam-pdf","status":"publish","type":"post","link":"https:\/\/www.sanskritbooks.com\/download\/?p=2875","title":{"rendered":"Ashtanga Hridayam PDF"},"content":{"rendered":"\r\n<div class=\"button-frame\">\r\n        <a id=\"downloadLink\" href=\"#\" style=\"display: none;\">Download Link<\/a>\r\n    <\/div>\r\n    <div id=\"countdownDisplay\"><\/div>\r\n    <script>\r\n        document.addEventListener('DOMContentLoaded', () => {\r\n            const countdownDisplay = document.getElementById('countdownDisplay');\r\n            const downloadLink = document.getElementById('downloadLink');\r\n\r\n            let timeLeft = 10;\r\n            countdownDisplay.textContent = `Download will start in ${timeLeft} seconds`;\r\n\r\n            const countdownInterval = setInterval(() => {\r\n                timeLeft--;\r\n                countdownDisplay.textContent = `Download will start in ${timeLeft} seconds`;\r\n\r\n                if (timeLeft <= 0) {\r\n                    clearInterval(countdownInterval);\r\n                    countdownDisplay.textContent = 'Downloading...';\r\n\r\n                    \/\/ Trigger the download (example link)\r\n                    const downloadUrl = 'https:\/\/archive.org\/download\/ashtangahridayavagbhattasarvangasundarivyakhyaofarunadattadevendrasenguptaupendrasengupta_944_V\/Ashtanga%20Hridaya%20Vagbhatta%20Sarvanga%20Sundari%20Vyakhya%20of%20Aruna%20Datta%20Devendra%20Sen%20Gupta%20Upendra%20Sen%20Gupta.pdf';\r\n                    downloadLink.href = downloadUrl;\r\n                    downloadLink.click();\r\n                    countdownDisplay.textContent = 'Download started';\r\n\r\n                    \/\/ Show the download link\r\n                    downloadLink.style.display = 'inline-block';\r\n                }\r\n            }, 1000);\r\n        });\r\n    <\/script>\r\n","protected":false},"excerpt":{"rendered":"<p>Download Link<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-2875","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=\/wp\/v2\/posts\/2875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2875"}],"version-history":[{"count":1,"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=\/wp\/v2\/posts\/2875\/revisions"}],"predecessor-version":[{"id":2876,"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=\/wp\/v2\/posts\/2875\/revisions\/2876"}],"wp:attachment":[{"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}