Tag Archives: applescript

Exiting audioboo(m) part 1⤴

from @ wwwd – John's World Wide Wall Display

AudioBoom is closing its free tier:

If you take no action, then after 2nd October 2017, you will no longer be able to upload new content and your account will become private. We will continue to enable distribution of your existing content for a period of a month so all your RSS feeds and web embeds will continue to work for that period. If you choose to move to another podcast provider, let us know by emailing us at support@audioboom.com and we will redirect your RSS feeds for you. We’ll need at least 5 working days to comply with your request. After 36 months from 30th August 2017, your account will be deleted (including your old podcasts and your RSS feeds, so we recommend that you arrange for redirection of your RSS feeds, download your old podcasts and back them up elsewhere, before that period expires.

from: Subscription Changes

Which is depressing news for me and for Edutalk. I have 50 odd boos which range over field recording, audio recorded for Edutalk and some microcast type posts. Edutalk has had several hundred contributions from many different people over the years.

The situation at Edutalk is more worrying. I could pay $9.99 a month to keep my own account alive. But Edutalk has had contributions from many different people, we could not expect them to pay up for the privilege of having their content syndicated onto Edutalk.

AudioBoom did not provide any export that would help with importing into WordPress (or anything else). This differs from the posterous closedown which did give a WordPress export option.

We do have a while to sort this out. There is a month until the accounts become private.

AudioBoom does have an API, and we used it before.

I am not intending to rush, so this is the plan.

  1. Download the information about the posts using the API
  2. Download all the mp3s by parsing the JSON the api provides.
  3. Delete all the posts on edutalk that have been syndicated from AudioBoom.
  4. Upload all the mp3s
  5. Create posts that embed all these mp3s with the matching titles and descriptions etc.

Today I managed to download the json files and the mp3 I used AppleScript as I find it easier to get stuff done with that than pure shell scripting.

Thank goodness for the JSON helper for AppleScript which worked a treat.

I’ve put the script here:

in case anyone is interested.

I had to run it 10 times, I guess I could have just made a loop but as I ended up downloading 890 mp3 for a total of 2.6 GB batches of 100 files at a time seemed like a good idea.

I am a wee bit worried that there are 2186 posts syndicated from audioboo on the Edutalk site, but there does seem to be a lot of duplication presumably caused by FeedWordPress.

Next Steps

I’ve now got all of the data and the mp3 files I can get.

I know how to post to WordPress from AppleScript, but I’ve discovered a couple of hurdles. I don’t seem to be able to add an enclosure with AppleScript and I can’t see how to ad multiple tags to a post.

The first is probably not a problem. These posts are all so old that they will not feature in our RSS feed. I would like to include all of the tags. I may end up creating a WordPress export file or try one of the csv import plugins. There is now not such a rush. I can test these approaches on this blog with my own boos.

I guess the main lesson to be learnt here is about the temporary nature of the free layer of the web. The AudioBoo app and service were wonderful in their day but reliance on free services costs.

The featured images is a gif captured with Licecap, of a mp3 download.

wwwd – John's World Wide Wall Display 2017-05-08 20:21:15⤴

from @ wwwd – John's World Wide Wall Display

I’ve been beta testing micro.blog. There is a new page here for status type posts, these get sent to micro.blog/johnjohnston and to twitter.

This has renewed my interest in finding different ways to post to the blog especially for short posts that would have previously gone straight to twitter.

On iOS there is the nice micro.blog app, editorial or drafts and workflow. On my mac I’ve used AppleScript to post to blogs before, but needed to figure out how to add a category for the micro blog. I also wanted to not have a title, use the format of status and the note kind. The categories and kinds were the tricky bit, they need to be in a strut within a strut in the datas sent to the xml-rpc end point (I am a wee bit wobbly on the vocabulary here).

The following script does the trick. It is fairly limited as I hard code various things into it:

  • user name
  • password – this is probably not the greatest idea.
  • the category micro
  • the post format and kind
  • an empty title

It should be obvious how to change most of these things and make the script fit other needs or to generalise it.

I also wanted to be able to post from any application, so this script is for Alfred. In a workflow this is triggered by a hotkey which sends the currently selected text to the script. The script passes on the returned info, the post id, to a notification.

So to post a quick stratus method I select some text  hit cmd-alt-control-m and that test gets posted here.

Of interest to micro.blogista is the comment_status:"open" bit. I am thinking of all sorts of ways to extend this, perhaps for use in FastScripts to grab the selecting and link from Safari. I’d have probably used FastScripts for this, but I can’t figure out how to get the selection from any text in plain AppleScript, I needed Alfred for that.

Microcast 5: Choices⤴

from @ John's World Wide Wall Display

IMG_7438.jpeg

Some thoughts about making choices about the software and systems you use, they may have hidden positives or negatives.

Featured image, iPhone screenshot, edited in snapseed