Skip to main content

Jeremy Cherfas

The ongoing saga of attempting to connect micro.blog to Known

2 min read

More good help from Manton, cleverdevil and others, but alas no nearer (although I may have eliminated some possibilities).

  1. I was allowing both HTTP and HTTPS. There could have been some kind of mismatch, I suppose, but after editing .htaccess to force SSL, it made no difference to micro.blog's OS X app.
  2. Then thought that possibly a different endpoint would help (despite the fact that I know all the same details are on the home page). 
  3. Pointed micro.blog first at /profile and then at /profile/jeremy; still no good.

At this stage, given that Manton managed to get everything working from a clean install of Known out of the box, I think I need to try the same. If that works, well, if nothing else, it works.

I had been fretting about losing data, but if I install into a new sub-domain and it works there, I can always edit the config.ini to point back at the old database. It will be a good opportunity to see how good the instructions are to install at Dreamhost. Last time I managed without any instructions, and I also didn't write up my experiences. This could be an opportunity to pay back.

Jeremy Cherfas

I really want to use micro.blog and WithKnown, but ...

3 min read

I have never yet been able to post from my micro.blog to this stream, although the feed from here is reliably picked up there, and brid.gy reliably pulls replies from there to here. @manton suggested we move my complaints to help@micro.blog, but I can see no way of actually engaging with that account. So this afternoon, I decided to attempt to go back to the beginning.

It was a miserable failure.

Here's how it went:

  1. Revoke all current authorisations for micro.blog
  2. There were four of them, two from yesterday when I last tried.
  3. Launch OS X app
  4. OK!
  5. “If you’re using WordPress or another server, first open the preferences window and enter your web site URL to set it up for posting within the app.”
  6. Roger that. But the old website was still there. Is that going to be a problem?
  7. Start a new post; the old website is there at the bottom. This is going to be a problem.
  8. Same old Same old; Error sending post.
  9. Post does not arrive at micro.blog
  10. Post does not arrive at WithKnown
  11. WithKnown Error log is empty.
  12. Access log shows no sign of anything from recent attempt to post from micro.blog
  13. Check to make sure I have up to date micro.blog app
  14. “Micro.blog can’t be updated when it’s running from a read-only volume like a disk image or an optical drive.” Move Micro.blog to Applications folder using Finder, relaunch it from there, and try again.
  15. Strange. Check path to micro.blog.
  16. Path is “/Applications/Micro.blog.app”.
  17. Check the App Store; disappointed but also content that there is not an update.
  18. Delete web site URL from preferences; quit micro.blog, mostly for superstitious reasons; launch micro.blog.
  19. Very strange; web site URL is still there. Or back? Maybe the app pulls it from micro.blog?
  20. Repeat; same outcome. Superstition justified. Go to my account at micro.blog.
  21. See I have three App tokens. The one for MarsEdit is definitely pointless, as I am not hosted at micro.blog. Remove it.
  22. Throw caution to the winds; remove the tokens for IOS and OS X
  23. OK, IOS now says “Internal Server Error” on attempting to connect. I think I ought to sign out now and then sign back in.
  24. Phew. All is good. And I have a new app token.
  25. On iOS, try to write a new post; insert my Known site; authorise micro.blog; write a test post. Post it.
  26. “Error sending post”. Tear hair out, as now I do not seem to be able to post to micro.blog from iOS app.
  27. Go back to 22; remove iOS app token and authorisation token at WithKnown.
  28. Log back in. Can no longer post without adding WithKnown, and posting gives an error, as at 26.
  29. Try again from OS X; same error as at 8.
  30. Post to WithKnown; feed is picked up.

Any and all suggestions gratefully received.

Jeremy Cherfas

It may well be a known bug, but as it isn't my site that is affected, I cannot investigate in any detail. I feel odd about reporting "issues" that don't affect me directly and that I have only witnessed and wondered about. So I just draw attention to them. I haven't seen similar behaviour on my child of Independent Publisher, I don't think.

If anyone is going to report it, I would think it would be you or James

Jeremy Cherfas

Crossed the wide Pecos ...

1 min read

Playing Lyle Lovett singing Texas River Song, even though I know it's a stretch, to celebrate having eaten a giant bowl of my own dogfood.

A couple of weeks ago I followed Chris Aldrich to reading.am, which is a neat little spot for just putting down a marker for something that you're reading. I wanted more. I wanted to be able to save links to the things I marked. And now, a little over two weeks later, I've done it.

I have a PHP file that fetches the RSS feeds of things I've marked in reading.am, looks for any that are new since the last time the program ran, and then POSTS the results to Known's micropub endpoint. PESOS for my bookmarks!

There is no way I could have done it without amazing help from people on the IndieWeb IRC, and it isn't perfect by any means. There's more work to be done, for sure, before I even think about sharing the code.

But hey, it works.

And, as my main helper said, "Launch early and iterate often".

I'll be doing that.

Jeremy Cherfas

Chris Aldrich is way too kind, but it is the kind of kindness I need. A couple of quick responses:

I will indeed tweak the regex as you suggest. That behaviour by reading.am does rather spoil using it as a repository for links I want to go back to, but hey ho. On posting to Wayback Machine, I thought I saw a blog post from Reading that this was now done automatically for all saved posts. Getting things into my Known stream is on the horizon, but I will have to learn a lot more about how to use the web publish tools.

The webmention form is now looking good and working well, and I think I may even have got email notifications up and running, thanks once again to great help from the IndieWeb community. I'm not happy submitting anything to the original plugin, because it is so very different in scope and approach. But I am definitely thinking about creating a plugin of my own, which would also make it very easy to send the notification email. That's definitely on the cards. Putting it all on the wiki is next on my list.

And thanks again for being a guide and an encouragement.

Jeremy Cherfas

Test of Audiogram upload directly to Known

This is a clip produced with Audiogram.

The episode with the full story is It’s putrid, it’s paleo, and it’s good for you.

Jeremy Cherfas

Owning my audio clips

3 min read

In the past couple of days, prompted by Marty McGuire's write-up, I raved about the potential of Audiogram to help promote the podcast by making it easier to share audio clips to social media -- by turning them into video clips. This afternoon, having managed to get tomorrow's episode edited early, and having had to chop quite a few interesting digressions, I thought I would have a serious play.

Tl;dr: It worked. I'd show you here, but I haven't found an easy way to upload video to Known yet. If you want to see the result, you can go to Patreon right now.

Installing Audiogram was not entirely plain sailing. Marty used Docker, and so despite warnings from other IndieWeb friends, I tried the same. All went well out of the gate, but then fell at the first. Something to do with virtualbox. So I switched to Homebrew and that did the needfull. Even then, though, Audiogram wouldn't start, but the error message made it clear that I needed to update node.js and npm. That done, it still wouldn't start.

Turned out I already had a local server running, via MAMP, and that was getting in the way. Switching off that server, and all was good.

That was two days ago. Today, I tried to use it for serious, and although there were plenty of hiccups along the way, I got there.

The instructions for modifying the theme are very straightforward, and with a bit of trial and error I was able to create a background for any future clips.

Uploading the audio, inserting the caption, all that was dead simple thanks to Audiogram's editor. Actually generating the videos, though, generated error after error, and some of them scrolled through several screens. But I kept my nerve, turned to search engines and StackOverflow and eventually got there.

Some of the fixes seemed to be pure voodoo. There's an invisible file that one of the Audiogram developers suggested deleting. The first time I tried that, it worked beautifully. The second time, not so much. Nor the third. But then, it worked again, at which point I called a halt, for now; a wise decision in my opinion.

I'm looking forward to seeing whether clips will attract listeners to the podcasts in their entirety. I put the first one on Patreon because the episode is not yet public, although Patreons have received it. I'll probably use clips there as bait and see how it goes. Once episodes are public I'll send clips to Twitter and, maybe, Facebook which will, I think make it relatively easy to trace any impact. And if the whole process isn't too hard (getting to the first video uploaded took almost three hours today) then I can imagine it might be useful to promote older epsiodes too, when there is a news peg.

So, grateful thanks to Marty McGuire and WNYC.

Jeremy Cherfas

Thanks Chris. I'm using 0.9.9 The likes with stars are from Quill, those without are bookmarks from Known directly.

Jeremy Cherfas

The continuing saga of marking up status updates in @WithKnown

2 min read

I’ve been reminded by Chris Aldrich of something I think I knew before:

[M]ost major CMSes (including Known) strip out or severely limit (for security reasons) the html that is accepted in comment fields. … Many also will mark as spam comments that have one or more URLs in them. As a result doing fancy or even mildly complicated html or markdown in replies is something for which most platforms just don’t build.

That’s fair enough. As ever, spammers are spoiling things for everyone. I do have an objection, though. If I am legitimately signed into my own site which, in the , is where I will be if replying to some other site, then I’m unlikely to inject malicious code. And if I’m a spammer, and signed in under a false flag, then I’m not likely to need such subterfuges.

A really helpful CMS would, surely, allow me to do all the formatting I want on something I am generating myself, regardless of the specific type of entry.

Chris makes another point:

The other issue in status updates and replies is that they’re often syndicated to other platforms and it’s a more difficult issue to properly do this with each snowflake social media silo depending on how they individually handle html/markdown (or not).

Well, yes. But that’s not my problem on my site. Let them strip all they want, frankly, as long as the leave the link to my reply alone. As Chris acknowledges …

Either way, the end result on the other person’s site isn’t something I can ever control for, so I try not to sweat it too much. :)

For now, I think I’ll sweat this just a little, and add the u-in-reply-to by hand, and hope that does the needful.

Jeremy Cherfas

> I pray that you've known this all along, you'll forgive my "indiesplain", and that I'm not catching the subtlety of your original post.

[That post is here](http://stream.jeremycherfas.net/2017/why-the-indieweb).

Thanks to Chris Aldrich for reminding me of the bookmarklet, which I do sometimes use, and which I sometimes forget to use.

I do seem to vaguely remember that there was a bit of a problem with Markdown. So let me test that here, with some **bold** and *italics*.

Seconds later: As I feared ...

I probably have to abandon Markdown. But why should I have to? People have been asking for the ability to switch on a per post basis forever.