Last active
April 14, 2026 13:28
-
-
Save mjradwin/8a89a1fc54fbc65651639ab0a8f82973 to your computer and use it in GitHub Desktop.
shabbat parsha only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"><head> | |
| <meta charset="UTF-8"> | |
| <title>Example</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| </head> | |
| <body> | |
| <div id="results"></div> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function() { | |
| fetch("https://www.hebcal.com/shabbat?cfg=json&geonameid=5128581&leyning=off") | |
| .then(response => response.json()) | |
| .then(data => { | |
| const item = data.items.find(item => item.category === 'parashat'); | |
| if (item) { | |
| document.getElementById('results').innerHTML = '<a href="' + item.link + '">' + item.title + '</a>'; | |
| } | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment