Skip to main content

David Mead

Updating Known to Version: 0.12.2

2 min read

With the IndieWeb Summit going on, I thought it a good time to update this blog to the latest version.

Steps

  • backed up the MySQL database for the site
  • copied the site, via FTP, to my local machine
  • downloaded latest zipped file from https://withknown.marcus-povey.co.uk/
  • unzipped and FTP’d new files over to server, apart from the Uploads and Configuration folders
  • refreshed in browser and voila! content is still there
  • revoked all IndiePub account access (not needed but wanted a fresh start on this build) and logged back in to:
  • added back in Food and Listen plugins from my local backup

Going forward

So far so good. OwnYourGram still doesn't want to work with my server for some reason. Nothing is being pulled in to Together so maybe that needs a little time.

The most notable changes are tidying up of the settings and configuration sections which looks great. There's also a new (updated?) editor which is cleaner and works well.

My existing Twitter plugin broke the site, so I pulled down a new version from GitHub.

 

David Mead

Lost digital music

2 min read

As Warren Ellis searches out physical copies of his music collection, I got to thinking of the various digital music products that I can no longer access.

Loscil - Adrift

This first appeared for iOS and I waited to get the Android version. Turns out he couldn't get it through the regular app store, only Amazon's version (size limitations?). I had to install Amazon's store on my Nexus 7, then download it through there.  I liked it, but it never quite worked all the time and would shut off.

Since my Nexus 7 died, this has been lost to me as it won't download to the older Kindle I'm using.

A (non-endless) version of  'Bannockburn',  is on Bandcamp.

Brian Eno & Peter Chilvers - Bloom: 10 Worlds

Again, something released on iOS, Bloom was a great generative music app.  I used to play it on my wife's 1st Gen. iPad, but it never came to Android.  A decade later, 'Bloom: 10 Worlds' appeared in Google Play.

I would set this going then throw it to my Chromecast to have it playing through the TV. When my Nexus 7 died so dit it-unable to run on my newer Pixel 2 phone. Peter Chilvers himself replied when i ran into this...

"Unfortunately there’s an audio glitch that only occurs on the Google Pixel range, so we took the precaution of excluding it until that can be fixed. At time of writing, it seems to be beyond our control, but if we can find a way to work around it, we’ll make it available."

I live in hope.

MUJI - MUJI to Sleep

This was an app that would play nature sounds to help you sleep.  One of the extra cool things it did was...

"Use the smartphone's light and camera to measure your pulse. From countless sound combinations, the best relaxing music for you is created."

It's now branded 'MUJI to Relax', so that's a win.  MUJI has a good article on sleep too.

SSEYO Koan

In the back of my mind I remember a Flash/SSEYO Koan thing too. It was an early generative music player, but I lost that late 90's.

David Mead

More new music, this time from Norway...

1 min read

Putting pay to the fact, as a kid, "Norway = nul points". First up some electro-pop starting with Aurora's 'Churchyard'...

...then Sigrid with 'Sucker Punch'.

An old favourite of mine, Royskopp, have now started to release their "Lost Tapes". 'Church' is very good.

Ending with a more "traditional" track from those proto-Norse folk singers Wardruna — 'Solringen'

 

David Mead

Changing a plugin for Known (coding) #indieweb

2 min read

I wanted to change up how a plugin worked on my blog. Namely the Listen one.

Out-of-the-box

Looking at it after install if allowed me to capture someting I had listened too. I could link to somewhere that'd let others here it, and put in "cover art" and some notes.  All fantastic.

screenshot of Listen post

Couple of things I wanted to change:

  • artist closer to the title, and not after my notes
  • icon indicating song, podcast, etc.
  • definition between my notes and what I had listened to

Breaking stuff

So I "forked the repo" and basically spent today pulling apart and putting back togther PHP code that I had no idea did what.

I found that the 'listen types' weren't being pulled through to assign an icon to, so I commented out a large section and replaced it with a simple <select> element.  This seems to have worked, though I don't know (yet) how to retain what I selected if I edit the post.

I've now got it looking a lot more how I wanted and it sees the listen type and shows the matching icon.

screenshot of new Listen posts

Also did some more changes while I was feeling brave:

  • I added a lot more types including soundtrack and audio book
  • Changed the titles to past tense
  • Updated the edit page by matching labels to fields, wrapping fields in <p>, and changed some of the language used there too

Going forward

I've posted on the IRC that I've made the changes, so I'll see if, and how, anyone wants to merge these into the plugin.

I'd love to get Last.FM and Huffduffer integrated so they post automagically.

 

David Mead

Setting up a blog, using Known, part 2

3 min read

So after part 1, we head into day two of setting up the new blog. I currently have:

  • A new Known blog at my domain root with the last 10 Instagram posts pulled in via OwnYourGram
  • No old WP blog
  • No old blog content
  • No way to syndicate to Twitter
  • No way to pull in comments from Instagram

I had logged into GitHub and filed a couple of issues about plugins and import not working.

Chatting on the IndieWeb IRC channels (a great resource btw) it became apparent that the build on the WithKnown website is out-of-date. Marcus Povey, one of the project contributors, hosts up-to-date builds if you're not familiar with using GitHub.

Also chatted about the Brid.gy profile issue. Thinking was using the new build would clear it up. Barring that, use the profile URL for both OwnYourGram & Brid.gy

Armed with this we try again.

Day Two

  • download build 0.9.9-a from Marcus
  • deleted everything except .htaccess, config.ini, and the Uploads folder using Coda
  • unzipped and moved everything from mapkyca-known-0.9.9-a-2018112001 over to root, except the Uploads folder
  • visited site and all the content seems to still be there from yesterday
  • the IndiePub tab is a nice addition to see what you’ve connected - revoked all so I can revalidate with new build
  • activated twitter+bridgy on the Interactions tab, though I don't remember seeing anything that said it worked
  • signed in and authorized:
    • Quill
    • Teacup
    • Aperture
    • OwnYourSwarm
    • Brid.gy for Instagram (no longer asks for profile page)
    • Brid.gy for Twitter
  • added Twitter plugin (which now worked) - I had an existing app with Twitter from last time I used Known (2015), so edited that and connected
  • created a post on the blog, syndicated to Twitter - Showed up on Twitter, and a "like" from Twitter showed up on my site
  • created post in Quill and it showed up on blog
  • added feeds to Aperture - showed up in Together (feedreader), liked a post and it showed up as an entry on my blog and Twitter
  • created a post on Teacup still did not appear on blog
  • added Listen plugin
  • added Short Profile plugin - works, but most icons don’t now show up in 0.9.9-a where they did in the out-of-date build
  • added KnownEmoji plugin
  • added FooterJS plugin - This is no longer in main build, but does let you insert code into the header & footer of pages, fixing my Aperture link issue
  • tried importing the WP .XML export with the new build

Issues

  • importing WP content still doesn’t work
  • posting from Teacup still doesn’t work
  • checkins from OwnYourSwarm still need to be resent from within the tool

So we’re cutting down on the immediate issues, but still big hurdles.

Consensus is the WP importer still doesn’t work, so I’m going to add my WP blog back on /blog, using the exported .XML to return all my content.  That way I’ll have it there at least, links won’t remain broken, and everything new will be on the Known blog going forward.

Day three, here we come.