Compare commits
2 Commits
95cadb57e8
...
1d14c85d42
Author | SHA1 | Date |
---|---|---|
notplants | 1d14c85d42 | |
notplants | 8ad278ecb1 |
21
README.md
21
README.md
|
@ -24,3 +24,24 @@ and continue using the generate-html script.
|
|||
Example template files are in the templates folder and are made using jinja. You can modify these or make your own.
|
||||
|
||||
https://books.commoninternet.net is an example website generated with this script from three bookwyrm lists.
|
||||
|
||||
___
|
||||
|
||||
### ActivityPub
|
||||
|
||||
Bookwyrm is built using ActivityPub which I wanted to explore a bit with this script.
|
||||
|
||||
I was able to easily download the contents of a list into a yaml using the json+ld endpoint for the URL of the list.
|
||||
|
||||
For example, in bash, for the list: https://wyrms.de/user/j12i/books/reading
|
||||
|
||||
```bash
|
||||
http https://wyrms.de/user/j12i/books/reading?page=1 "accept: application/ld+json"
|
||||
```
|
||||
|
||||
Thus its very easy to fetch various objects from Bookwyrm and transform them or use them in a new context.
|
||||
|
||||
Bookwyrm documentation on ActivityPub: https://docs.joinbookwyrm.com/activitypub.html
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue