How cool to see @davewiner in the Observer this morning. It is like seeing someone you know (though obviously I don’t). John Naughton ends “So why not log off social media get yourself an RSS reader and wise up?” online version.
These are some notes on getting some of Dave Winer’s web tools that use node running on a Raspberry pi.
I’d originally posted these on the pi, but the SD card was corrupted and I’d no back up (I’ve had that lesson a few times).
These note are not likely to be of interest to many and are somewhat abrupt.
A little blue sky thinking, or borrowing some ideas from @davewiner & @mrkrndvs
I wonder if a WordPress plugin could ape pngWriter and create images for twitter cards with the text from the excerpt on the image used by twitter.
Like this, but with less fireworks.
I’ve been thinking about twitter again.
I think I’d have preferred twitter to be just text rather than being expanded to include all the media and ‘twitter cards’. I’d rather the reading flow would be twitter for short stuff and link to more visual or longer material out on your blog. That would perhaps make reading a little deeper and avoid the problem of folk just seeing the main point of an article and reacting to that 1.
But that cat left the bag a while ago. Now when I look at my twitter stream it is full of images. I occasionally use OneShot to grab and crop out interesting bits of text to share and surmount the 140 char limitation too.
I am not sure if this is a great idea
@everythingabili this buffoon (blush) wonders if blog post with text as a featured image( twitter:image meta ) and in body would be better?
— john johnston (@johnjohnston) November 27, 2016
Recently I’ve watched Dave Winer experimenting with pngWriter (see the about page: About pngWriter). This creates images of blocks of text and sends them out in a tweet. It also creates an RSS feed of the text (pngWriter is not open for use at the moment).
This reminded me of how Aaron uses featured images in his blog: Creative Commons Starts with Making – A Reflection on Creating and Sharing – Read Write Respond
So I am kicking round a couple of ideas.
- If you used pngWriter you could pull the rss into your blog. You could do it in WordPress with the FeedWordPress plugin.
- A plugin could be made that would do the same sort of thing in WordPress, take the except text from a post and make an image for twitter from that.
Here is how I imagine that working
- Using an html5 canvas to automatically create an image of the post’s excerpt.
- Auto upload that to WordPress media library.
- Make it the featured image of the post
Alternatively (better?) make it the content of the twitter:image metatag for the post, that means that the featured image on the post would not have the text, visitors could read the post.
Or make a copy of the posts featured image, add the text and make that the twitter card image (I can imagine that might be different to get the text readable.).
- They comment on other people’s posts.
- They like other people’s posts.
- They share them.
Click through to see all 12 points from Dave Winer who should know, having blogged as long than anyone.
From a education PoV good advice for reading and responding to pupils post, but applicable everywhere.
I’ve been following the work of Dave Winer for a while now. His pioneering work with RSS, blogging and podcasting is central to my use of the web. I’ve even dipped my toes into and blogged about Fargo his outliner tool a few times, I tried myword.io a couple too.
The product I am most interested in was the Rivers project. This is a take on RSS readers, where you view collections of RSS in a stream, rather than a folder structure.
In the past I set up River3 and River4. These products really need a server that goes a bit further than web hosting. I had some working locally but this was not ideal. The instructions for using the previous version of River tended to involve Amazon Web Services and a server elsewhere.
River5 changes all of this, it is designed to keep everything in the same place, one server. The only difficulty is that it requires a server running node.
What is very nice indeed is that you can add feeds you want to read in several different formats opml (handy for export from other RSS readers), json and plain text. There is a set of example feeds provided that will let you see everything is working.
I wanted to be able to have the rivers running all the time and be accessible from other computers. For that I need a server that I could install and run node on. Turns out I have one, john’s pi server. That sits on my window sill mostly taking pictures of the sky. It was running a twitter bot but that is broken at the moment.
Setting up River5 on a Raspberry Pi
I do most things on my pi via the terminal on a mac or iPad, suing ssh to logon.
I had installed node on the pi a while back.
Download the latest:
sudo dpkg -i node_latest_armhf.deb
I seem to have done that a while back when I was failing to get something else up and running.
All I need to do to get River5 installed was to download the files from github and upload them to the pi with scp.
I then unzipped them went into the folder and ran these two commands:
This set everything up, a plie of stuff streams by in the terminal and all looked ok. (I had problems the first time I tried but an update came out immediately that fixed things for Linux servers. I got a very quick response on the River5 Forum).
My Pi already has a sub domain so I visited http://pi.johnj.info:1337 and could see the rivers flowing with Dave’s Feeds.
I’ve now removed the original ones and replace them with lists of feeds of my own.
After that I went to bed, next morning I tried the link and it was down. The problem is I need to keep the application up and running even when I am not logged onto the server. I recalled reading on Dave’s blog about Forever. As usual google found the instructions to install and use: Keep a node.js server up with Forever.
This is pretty simple you install Forever with:
sudo npm install forever
After it is installed we can start up the river5 with:
forever start river5.js and it keeps going.
Mine has been running for a few days now on the pi without any problems.I’ve been enjoying an alternative view of some of my RSS feeds. My next steps are probably to move things around a bit so that I don’t relay on the built in node server, and can pull the river json over to here.
I am pretty amazed by the ease of doing this. The software has been made to be very easy to install and the Raspberry Pi turns out to be a very capable wee box.