johnjohnston
johnjohnston

Micro.blog images that caught my eye.

kids at food counterindustrial sign Bussiness Objectsnew baked loavesPhi abstract photo, tarmac?red squirrelbench againts cracked rendered wallwater fall plant fringed pond digitized 14th c. Dublin Apocalypse - devil and clerics

post made by simple AppleScript

|
Embed
rosemaryorchard
rosemaryorchard

@johnjohnston Unfortunately I'm just seeing the alt text for the images, no images themselves.

|
Embed
In reply to
klandwehr
klandwehr

@johnjohnston I am also not seeing any images

|
Embed
johnjohnston
johnjohnston

@klandwehr @rosemaryorchard me too. I see the same problem on @smokey’s post. I think because I am using, perhaps misusing, the micro.blog thumbnailer. Thinking of options.

|
Embed
Miraz
Miraz

@rosemaryorchard @johnjohnston But what a perfect illustration of this last week’s discussion about alt text for images. 🙂

|
Embed
johnjohnston
johnjohnston

@Miraz it was the discussion that made me do it and hope to try harder in the future. @rosemaryorchard @klandwehr I’ve switched to trying cloudimage.io for the post which will hopefully sort things once micro.blog catches up with my rss.

|
Embed
pratik
pratik

@johnjohnston I can see them just fine. On the web and the iOS app.

|
Embed
johnjohnston
johnjohnston

@pratik thanks. I just changed to using cloudimage to make and serve the thumbnails and changed size to 120. I like that better. I am presuming I will never get out of the free zone on cloudimage 🤞

|
Embed
JohnPhilpin
JohnPhilpin

@johnjohnston I can see them fine ... on iOS app on iPad ... or am I late to the party and all is fixed?

|
Embed
johnjohnston
johnjohnston

@JohnPhilpin I think I've fixed it. I was using the micro.blog thumbnail urls. When mine broke I noticed @smokey's were too. I've now swapped to using cloudimage.io cause I can generated the thumbnails from the html and therefore from AppleScript to make this simple. I think I am sorted for now.

|
Embed
JohnPhilpin
JohnPhilpin

@johnjohnston good stuff ... and like the idea ...I might ‘borrow’ your script on github and do this?

Even fancier version every (say) 5 favorites the script automatically runs ... andposts ... just know that it won’t be me building that... if copy and past doesn’t work I am pretty much dead in the water :-)

|
Embed
johnjohnston
johnjohnston

@JohnPhilpin if it is a WordPress blog you can use XML-RPC to post from AppleScript example not sure how you could work out there had been 5 new favourites since the last one.

|
Embed
smokey
smokey

@johnjohnston @klandwehr @rosemaryorchard The Micro.blog image thumbnailer (photos.micro.blog) seems to go 502 constantly right now, taking down everyone’s Microgram, Sunlit’s Discover tab, and these image roundups. It was convenient when I was writing the AppleScript that inspired John’s, but not very reliable right now, which is why John switched thumbnailers…

|
Embed
smokey
smokey

@Miraz I was thinking last night I needed to add fetching the alt text to my script… 👍

|
Embed
smokey
smokey

@johnjohnston @JohnPhilpin You’d have to have the script poll the favorites URL to see if it’s changed, and then count JSON entries since the last post. You can store the ID of the current (last) entry in a plist each time the script makes a post, then read it back each time it runs, find that entry, and count entries forward in the file from that point to see if there are at least 5 (or see if the list/array item number in a list/array of IDs the “last ID” is ≥5). Only make a new post if it is, and then record the ID of the top post again.

It’s…a bit convoluted, but possible. Or if you have a very scriptable JSONfeed-supporting RSS reader, that could make it easier.

And based on what I understand of the M.b Micropub docs, you should be able to post to a Micropub-enabled blog with some HTTP POSTs via do shell script and curl (not as nice as the built-in XML-RPC support, but we’re in a post-URL Access Scripting world, so…)

|
Embed