Monthly Archive for March, 2008

sync-liferea.sh syncing script


I wrote this liferea syncing script for liferea yesterday. It seems to work as I wanted.. When I’ve got some problems, the backup that this script implements helps me solving the issues. I’m pleased with how this script makes my RSS more joyful.

I hope you can get some good ideas or that this script helps you sync your RSS feeds.
Continue reading ’sync-liferea.sh syncing script’

K2 layout and major upgrade

Today or actually yesterday I started on upgrading my wordpress blog. I found out that I would like to upgrade the wordpress to a newer version, reinstall some plugins and make sure not to tweak to much because that just makes upgrade even harder. I found the K2 to be a nice theme. I said to myself.. Shouldn’t I also move the domain at the same time? Ofcause.. After a hell of a work. I have done all that and even some more.
I’m still not satisfied with the way any of the plugins I have tested for presenting programmingcode/snippets in a easy readable way. I think I will go for the plain console lookalike thing laiter with black background. I guess I could fix that with only the <pre>-tag and some .css editing.

I should probably also install an image-manager and look if I missed out on any important plugins.

Here is a peek back at how the page was looking before the change.

rolfs-no-webpage-before-mars-2008.png rolfs-no-webpage-before-mars-2008-bottom.png rolfs-no-webpage-before-mars-2008-comments.png

I was impressed of the easy way to add widgets after adding new plugins.

I learned something new about favatar and gravatars. It was easy to add in the K2 theme.

Sync Liferea – How to synchronize what items you have read between two pcs

I’m going to make some ideas/thoughts about how to synchronize what you have read of your RSS feeds between two computers. I have wanted to do this for a while now.

First part is if you want to do the sql-stuff to export and import the items that you have marked as read.

Alternative1: Export a list of read items from liferea.db on pc1 and update items in liferea.db on pc2
First, make sure to turn of Liferea on both computers. It locks the sqlite database so it is not possible for us to export the list of items that are read on pc1 or update them on pc2.
Make sure to have backup of both computers. I just say this so you don’t blame me.
Continue reading ‘Sync Liferea – How to synchronize what items you have read between two pcs’

liferea-add-feed – Start Liferea if it is not running to add RSS feed

The bash script /usr/bin/liferea-add-feed is adding the url you send as an argument to your list of rss feeds in Liferea. If liferea is not running it will tell you “Liferea is not running! You need to start it first.” but if you did like me, the url is passed from firefox to the liferea-add-feed -script without you seeing that anything goes wrong. To avoid this, I changed the liferea-add-feed script so it makes sure that liferea is running before trying to add the RSS feed.
Continue reading ‘liferea-add-feed – Start Liferea if it is not running to add RSS feed’