»
more content in German | mehr Inhalt auf deutsch
blog ideas
Videos of the Week (2010/17)
- Arguably the song of the week – Tim Minchin’s Pope Song (NSFW). Here in a subtitled version; see the Skepchicks (via) for full lyrics below the video.
And if you’re upset about how the pope’s treated here, you better listen to the lyrics more closely…
- What? Contradictions in the bible? Is this possible?^^ See this cartoon quiz show (via Pharyngula):
Changes
Blogroll with images
I’ve seen it last year here and there, but somehow lost sight of it – Maya (eisitu) and Luigi (hartgekochtes) reminded me, and so I’ve now added screenshots made by websnapr to my blogroll. It’s actually quite simple: Register at websnapr, wait for your key and then access the images with the appropriate URL:
http://images.websnapr.com/?size=X&key=XXXXXXXXXXXX&url=http://XXX
There’s s=202×152 and t=90×70 available for the size – given how large my blogroll is, I’ve picked the 90×70 version. If you’re using standard functions, you have to add these image URLs to the links in the WP admin area; since I’m using my own theme function for the blogroll anyway, I simply could add this functionality there automatically.
Opinion?
Single-language posts
No more “Sorry, this post is not available in English” for posts I only wrote in German (in the future and for a couple weeks back; I didn’t reassign all the old ones) – those posts get now assigned to a special category which then is excluded in the English setting. They won’t show up in the feed nor on index and archive pages (except for category archives). They’re still included when clicking through single posts.
Frank Bültge wrote about it here for feeds, I’ve changed it accordingly:
function ag_cat_exclude($query) {
global $langswitch_lang_pref;
if (!$query->is_category) {
if ($langswitch_lang_pref=="en") { $query->set('cat','-385'); } else
if ($langswitch_lang_pref=="de") { $query->set('cat','-386'); }
}
return $query;
}
add_filter('pre_get_posts','ag_cat_exclude');
If you want to do it without Langswitch (the language switching plugin I’m using here), leave out those parts; 385 and 386 are my category IDs of “German only” and “English only”. Other variables besides is_category are is_single, is_page, is_archive, is_date, is_year, is_month, is_day, is_time, is_author, is_tag, is_tax, is_search, is_feed, is_comment_feed, is_trackback, is_home, is_404, is_paged, is_admin, is_attachment, is_singular, is_robots, is_posts_page. If you got any questions, just ask.
Links of the Week (2009/03)
- Spontis’s Top 10 of the most extraordinary female singers (part 1, part 2; German, but with videos).
- Several Simpsons movie references.
- Again phantastic photos at The Big Picture, this time Earth from space.
- How much are a million pennies? Or a trillion? Or…? The MegaPenny Project helps to understand these numbers (to some extent)… (via Bad Astronomy).
Now another feed gone from my reader. Bye from someone who liked to read the feed!