Skip to content

Commit

Permalink
Start Goodreads post
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayce Basques committed Apr 4, 2024
1 parent 838c1bc commit b40d717
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions blog/goodreads.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.. _goodreads:

=========
Goodreads
=========

*2024 Apr 3*

.. raw:: html

<p>
Enter your Goodreads ID.
</p>
<input type="text" id="id" name="id" value="1090375">
<button id="go">Go</button>
<script>
(async () => {
const go = document.querySelector('#go');
go.addEventListener('click', async () => {
const id = document.querySelector('#id').value;
const url = `https://www.goodreads.com/review/list_rss/${id}?shelf=read`;
const options = {
mode: 'cors',
headers: {
'Access-Control-Allow-Origin': '*'
}
};
const response = await fetch(url, options);
console.log(response);
});
})();
</script>
1 change: 1 addition & 0 deletions blog/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ Blog
systemantics
STTTGTS
archetypes
goodreads

0 comments on commit b40d717

Please sign in to comment.