14 thoughts on “Caught my eye WE 9-2-19

  1. @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.

  2. @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 🙂

  3. @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…

  4. @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…)

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.