Micro.blog images that caught my eye.
post made by simple AppleScript
@johnjohnston Unfortunately I’m just seeing the alt text for the images, no images themselves.
@johnjohnston I am also not seeing any images
@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.
@rosemaryorchard @johnjohnston But what a perfect illustration of this last week’s discussion about alt text for images. 🙂
@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.
@johnjohnston I can see them just fine. On the web and the iOS app.
@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 🤞
@johnjohnston I can see them fine … on iOS app on iPad … or am I late to the party and all is fixed?
@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.
@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 🙂
@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.
@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…
@Miraz I was thinking last night I needed to add fetching the alt text to my script… 👍
@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…)
do shell script
Your email address will not be published. Required fields are marked *
Notify me of follow-up comments by email.
Notify me of new posts by email.
This site uses Akismet to reduce spam. Learn how your comment data is processed.
To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)