» deutsch more content in German | mehr Inhalt auf deutsch

RSS feed for this tagTag Archives:

blog ideas

Links and Video of the Week (2010/21+22)

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…

 

Changes

obamiconme1 Two little changes here:

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)

“Goodbye and sorry” ← just a quote, don’t worry!

Recently in my feed reader1, after about only 30 words of post text (my translation):

[Now only a small appetizer as feed. Bye and sorry to all who like to read the feed!]

Feed cup Now another feed gone from my reader. Bye from someone who liked to read the feed!

There are only a few blogs who manage to still be subscribed to by me despite of their abbreviated feed… but you, too, are more “endangered” than others. :)

It certainly happens that I read less of you than if your feed were delivering complete posts, because I don’t click on every post. It’s also a matter of the time it takes, you know. Especially if the short text doesn’t really show what the post is about and what one can expect (depends on its length, of course; one blog, for instance, used to have not even one complete line). Just wanted to mention that…

Or how do you think about shortened feeds?2


Feed icon from the Smashing Magazine

 


  1. if you don’t know what that is: see Wikipedia []
  2. Yes, this is the typical “question at the end of the post asking for comments”. ;) []