{"id":1267,"date":"2024-11-07T14:03:41","date_gmt":"2024-11-07T14:03:41","guid":{"rendered":"https:\/\/www.sanskritbooks.com\/download\/?p=1267"},"modified":"2024-11-07T14:03:41","modified_gmt":"2024-11-07T14:03:41","slug":"aaryabhattiyam-download-pdf","status":"publish","type":"post","link":"https:\/\/www.sanskritbooks.com\/download\/?p=1267","title":{"rendered":"Aaryabhattiyam Download 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\/Aryabhatiya_with_Tika_of_Paramesvara_and_Hindi_Translation_by_Uday_Narayan_Singh_1906\/Aryabhatiya%20with%20Tika%20of%20Paramesvara%20and%20Hindi%20Translation%20-%20Uday%20Narayan%20Singh%201906.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-1267","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\/1267","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=1267"}],"version-history":[{"count":1,"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=\/wp\/v2\/posts\/1267\/revisions"}],"predecessor-version":[{"id":1268,"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=\/wp\/v2\/posts\/1267\/revisions\/1268"}],"wp:attachment":[{"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sanskritbooks.com\/download\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}