New webhost - installing wordpress

After leaving my bill unpaid at my old webhost, changing DNS-servers for my domain, and setting up a new webhosting account, the site is back up again on the new webhost, kapsi.fi. It went down sometime in the afternoon on Friday, and it started working again at noon on Sunday.

I will install the plugins, upload pictures/attachments, and restore the database from the old site over the next few days...

WordPress install:

  • Downloaded latest wordpress as a zip-file, unzipped on laptop and uploaded with FileZilla/FTP to webhost.
  • Edited wp-config.php by adding MySQL server name, database name, username, and password.
  • completed wordpress install by going  /wp-admin/install.php  and entering some info
  • Trying the Black-LetterHead 1.5 theme.

Plugins:

  • Akismet ships with wordpress, just have to activate it, and dig up my old API-key. akismet.com now seems a bit more aggressive in wanting money than it did a few years back..
  • Latex for wordpress allows writing mathematical stuff like this:

  • WP-Syntax should make any C/C++ or python code I blog about more readable.
import this # try this in your python shell!
  • Google Analytics allows tracking roughly how many visitors the site has. I have used google-analytics since about 2007, and the graph of visitors looks like this. I should sometime analyse if those traffic-peaks coincide with interesting posts, or being linked to on some popular page.

File+Database restore:

  • I backed up the whole of /public_html from the old site. Have now restored most of the /wp-content directory which holds all pictures and attached files (PDF, movies, etc). This is about 1.5 Gb in total.
  • On the old wodpress-install I exported all posts, pages, and comments into an XML file which is about 7.5 Mb in size. This is now imported into the new site. This is 848 Posts, 8 Pages, 27 Categories, 384 Tags, and 750 Comments.
  • I'm not sure if everything went smoothly. In some cases it appears that images show up correctly in posts, in other cases the images/gallery is missing. This appears to be related to the wordpress Media Library being completely empty on the new site! Even though I uploaded all files to the same directories, and then did the XML-file import it seems that the Media Library is not imported correctly.
  • Update: it appears that the Import function chokes and I get "Internal server error" if the XML file is too large. I have now manually split the XML file into chunks of 1 Mb or less, and now the import function works better. I now have 2113 images and 2 videos in the Media Library. However they are all "Unattached", i.e. it appears wordpress doesn't know what images belong to what posts.

blog stats

blog_popularity
This screenshot from google analytics shows visitor statistics from about the two past years. The youtube video I made with Ilkka about his board in July 2008 somehow got posted on some popular surfing or kite-boarding site and suddenly got 2-3000 views. The solar eclipse from August 1st 2008 also seems popular.

Anyway, I seem to have a steady stream of 2-300 daily readers, so thanks for stopping by! And keep commenting and emailing - it helps to know someone actually reads or views these pages!

Aggregating and Filtering Feeds

I'm trying to keep up with the ever increasing volume of scientific publications in my own and related fields. I've been using the Biophysical Journal's email based service for some time, but lately it has been very unreliable - often alerting me about supposedly 'new' papers that have been published in 1994 or so. Another way is to subscribe to the RSS/Atom feeds many journals provide, and I've been doing that also with Google reader, but it easily means wading through 100s of papers per week.

It's clear I need a better solution, something that first aggregates all the new papers into one big feed from the journals I am interested in, and then in a second step filters the big feed down to the few new papers that contain interesting keywords. Yahoo pipes could do that, but the LabVIEW-ish editor doesn't scale very well to a situation where you have 20+ feeds and 20+ keywords you are looking for. There's also google-mashup, but it isn't open for the public yet.

A complex solution would be to set up my own Planet, but it doesn't have web-based setup and administration so requires tinkering with config files etc. which I want to avoid.

So far I've only come up with this Thunderbird-based solution:

On the left I've subscribed to a number of journal feeds and put them in a folder of their own. On the right is a list of filters I am running. Each journal feed needs its own 'dummy filter' which does nothing but moves all the entries into the 'all papers' folder. Then I can run a filter of my own that looks for things in the subject or body of the paper. It's simple, ugly, but seems to work somehow.

Please tell me there is a simpler way to do this in Thunderbird! Or is there already a good web-based service like this around?

My requirements would be:

  • able to read and aggregate: RSS/Atom etc. (whatever the journals provide)
  • set up filters that look for keywords in any field or in only one field (title, author, abstract etc.)
  • output an RSS feed with all papers, and the filtered papers that I can read with Thunderbird or Google-reader.

So far I haven't found anything that would do this in a pain-free way. The aggregation part is handled by most web-based services, but there aren't many that allow searching/filtering and can provide the results as a separate feed.

Something like this is already going on with 'virtual-journals' that aggregate papers across journals in one field (e.g. Virtual Journal of Biological Physics Research or Virtual Journal of Nanoscale Science & Technology). Papers get selected to these 'VJs' by their editors, but I'm thinking my aggregator+filter idea will be able to cover a broader range of journals and look for more specific search terms.

wp-cache

To make the site a bit faster I've downloaded and installed wp-cache. It's supposed to cache frequently accessed pages (like the front page) and potentially speed up the site a lot. Hope it works, you can comment below if you think the site is slower or faster than before.

This seems like something so central to wordpress that it should come with the default install?

WordPress 2.3 etc.

There's a new version of WordPress available, so I've upgraded. Unlike brand new buggy closed-source commercial software, I've found no problems with 2.3 "Dexter".

I've been browsing through a lot of scientific papers lately, and was struck by just how bad Nature's doi resolving sometime is. Try this for example: http://dx.doi.org/10.1038/nature04268
You get to a page with the article title, the authors, and the reference. But no sign of a link to the abstract, the HTML article, or the pdf article!?

I've also found a discussion on various pdf/paper archiving services. I'd like something that integrates well with EndNote, any ideas?

WordPress 2.2 with Widgets

I've upgraded to the latest WordPress, which now includes drag and drop customization of the sidebar using widgets. A nice new addition to the default install is the 'Recent Comments' widget.

I had to switch to the new default theme that comes with 2.2, but after the usual mods the look of the site is back to normal.

I'm also experimenting with MiniPosts to create a side-blog, or Asides, for short comments/links.

In the future I'd like to include a tag-cloud and maybe some stats-listing in the sidebar.

WordPress 2.1

I've upgraded to the latest WordPress, release 2.1

Hopefully everything works as before.

Funnily, the biggest new thing (besides 'boring' security fixes) advertized with 2.1 is a new visual editor for posts. But to my surprise I found it was not enabled by default! In the admin panel you need to go Users/Your Profile and check the "Use the visual editor when writing" tickbox to get the new and improved editor.

There's also a new spell-checker, but for me it errors out with a cryptic message "Could not execute AJAX call, server didn't return valid a XML."

For some reason I also needed to replace my <code>.htaccess</code> file for everything to work.

Update: I'm still finding it quite annoying that WordPress creates posts with no ALT tag when I insert images and don't bother to include some text in the ALT field. This results in errors when doing XHTML validation. So I've filed a WordPress bug report. Let's see what happens!