colinwalker
colinwalker
I've written a quick AppleScript (go me) to grab the contents of the clipboard and post it as the content of a new status using curl but can't work out how to stop it from converting > to > I simply assign the contents of the clipboard to a variable set content to the clipboard - previe... colinwalker.blog
|
Embed
Progress spinner
In reply to
Bruce
Bruce

@colinwalker When is the conversion happening? ">" shows up as > in the Timeline. Also, when I looked at @danielpunkass's MarsEdit traffic to Micro.blog, the same conversation happened (if I'm remembering correctly). Could it be on @manton's end?

|
Embed
Progress spinner
colinwalker
colinwalker

@Bruce This is when going directly to WordPress (that post was done manually and not via this process.) The conversion is either happening when curl executes the POST or by WordPress when it's received but I don't think it's the latter as it works when using curl via PHP.

|
Embed
Progress spinner
Bruce
Bruce

@colinwalker Hmmm. You're using the WordPress REST API?

|
Embed
Progress spinner
colinwalker
colinwalker

@Bruce That's right.

|
Embed
Progress spinner
Bruce
Bruce

@colinwalker My initial impulse is that it's unlikely to be AppleScript. When I made my old script to transfer bookmarks from my private pinboard to my blog's pinboard, I had to encode ">" as ">" for pinboard's API. Seems odd that WordPress isn't rendering it correctly though. Especially as Micro.blog's Timeline is doing so.

|
Embed
Progress spinner