manton
manton

The draft of the book is in Ulysses, each of the 70+ chapters as sheets, and the web site is hosted on Micro.blog with a couple theme tweaks for the contents sidebar. I wrote a little Ruby script that will push all my changes from Markdown files back up to Micro.blog, via Micropub’s “update” JSON.

|
Embed
Progress spinner
tuparev@mstdn.social
tuparev@mstdn.social

@manton

70+ chapters!!!!

Are you writing a competitor of “War and peace”? ✌️😂

BTW, will Kickstarter folks (like me) get a PDF copy?

|
Embed
Progress spinner
manton
manton

@tuparev Short chapters. 🙂 Yes, ePub and PDF.

|
Embed
Progress spinner
rlounsbury@twit.social
rlounsbury@twit.social

@manton This is fantastic! Thank you. :)

|
Embed
Progress spinner
shawnyeager
shawnyeager

@manton Congratulations. I skimmed it; looks great. I look forward to reading it.

|
Embed
Progress spinner
In reply to
njr
njr

@manton Great stuff! You should absolutely publish (print). It’s really good!

|
Embed
Progress spinner
otaviocc
otaviocc

@manton congratulations on the book. It looks really good!

A quick comment about the Micropub chapter. There's an example for pages:

POST /micropub
Authorization: Bearer 123456789
Content-Type: application/json

{
  "type": "h-entry",
  "properties" {
    "content": "Hello",
    "mp-channel": "pages"
  }
}

which might need to be updated. The values should be arrays, if I'm not mistaken. I remember sending "mp-channel": "pages" and not getting a page, but a post created. I had to send "mp-channel": ["pages"] instead. According to the Micropub documentation, should be an array for type, content, name, etc... as well. name might be mandatory, but I not 100% sure about that.

I tried to use the JSON format to create a page, but couldn't make mp-navigation work. It works for the x-www-form-urlencoded version (query items), but ddin't work using JSON (I tried to place it in different places without success).

👏 👏 👏

|
Embed
Progress spinner
manton
manton

@otaviocc Thanks, I'll update the book. I think there are a couple problems: you're right that Micro.blog wants an array for mp-channel. Usually Micro.blog accepts both array and single value, so I'll fix that. I think mp- fields are usually not arrays. Also, mp-navigation is at the root level, not inside properties. (I think mp-channel maybe should be at the root level too, like mp-destination… Need to review that.)

|
Embed
Progress spinner
manton
manton

@njr Thank you! And thinks again for your edit suggestions. (I fixed almost all of them, still have some to go through today.)

|
Embed
Progress spinner
njr
njr

@manton 👌

|
Embed
Progress spinner