惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
雷峰网
雷峰网
S
SegmentFault 最新的问题
博客园 - 【当耐特】
博客园_首页
量子位
爱范儿
爱范儿
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
V
V2EX
美团技术团队
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
博客园 - 聂微东
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Cloudflare Blog
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Recent Posts

Bizzo! & Friends - Marty McGuire The Level Up - Marty McGuire Marty McGuire Marty McGuire Marty McGuire Bizzo! & Friends - Marty McGuire The Level Up - Marty McGuire Marty McGuire Marty McGuire Marty McGuire Marty McGuire Marty McGuire Marty McGuire Marty McGuire The Level Up - Marty McGuire Marty McGuire Marty McGuire Machine Knitting: a Chattie of one's own - Marty McGuire The Level Up - Marty McGuire Bizzo at The PIT's March Madness! - Marty McGuire Machine Knitting: the empire strikes hat - Marty McGuire Marty McGuire Marty McGuire Marty McGuire Marty McGuire Bizzo! & Friends - Marty McGuire Marty McGuire Marty McGuire Marty McGuire Marty McGuire
Marty McGuire
Marty McGuire · 2026-05-26 · via Recent Posts

I once offered gRegor to write up a bookmarklet for turning Bookshop.org book pages into want-to-read (or currently-reading or finished-reading) posts on your own site with Micropub courtest of IndieBookClub.biz.

Then I lost my main computer’s SSD and my browser bookmarks!

Today I re-created it to make some posts on my site, so here it is!

javascript:(function()%7Bconst%20ld%20%3D%20JSON.parse(document.querySelector('script%5Btype%3D%22application%2Fld%2Bjson%22%5D').textContent)%3B%0Aconst%20p%20%3D%20new%20URLSearchParams(%7B%0Atitle%3A%20ld.name%2C%0Aauthors%3A%20ld.author%5B0%5D.name%2C%0Aisbn%3A%20ld.isbn%2C%0Atags%3A%20'books'%2C%0A'post-status'%3A%20'published'%0A%7D)%3B%0Adocument.location%20%3D%20'https%3A%2F%2Findiebookclub.biz%2Fnew%3F'%20%2B%20p.toString()%3B%7D)()

Here’s the original source for study or to edit to your enjoyment! (I enjoy Marek Gibney’s Bookmarklet Editor for this!)

const ld = JSON.parse(document.querySelector('script[type="application/ld+json"]').textContent);
const p = new URLSearchParams({
  title: ld.name,
  authors: ld.author[].name,
  isbn: ld.isbn,
  tags: 'books',
  'post-status': 'published'
});
document.location = 'https://indiebookclub.biz/new?' + p.toString();

What does this do?

Bookshop.org book pages have a <script> tag marked as a “JSON-encoded Linked Data island” (pejorative) also known as JSON data.

The bookmarklet finds and parses this then (quick and dirty) pulls out likely book title, ISBN, and author and combines these with another couple of options (I tag all my reading posts with “books” and I want the posts to be published by default). Those options are turned into URL query string parameters, as described in IndieBookClub.biz’ documentation and sends your browser over there, where IndieBookClub(dot biz) handles the rest!