Just found out about Rojo, a web-based feed reading service like Bloglines, from this comment on Anne's weblog. Trying it out now. I like it so far. May switch.
Update: Not a fan. The interface is too cluttered, and I really have no use for the social features. The tagging input box between the title and content for each post is particularly irritating. Also, for some reason they emphasize only the post title and deemphasize the blog the post came from. It's important for me to know who's writing a post so I can put the post in context of what I already know about the author. Also, when posts from different authors are interspersed like Rojo does it it's hard for me to context switch, particularly because the author is deemphasized, not appearing on the page until after the post title.
So, I'm sticking with Bloglines, but I did just notice that Feedlounge just added a "river of news" view, which is probably what they're calling the type of view that Bloglines has. I've never liked the type of reader that treats RSS like e-mail, where each post is an item. I like Bloglines' view where I can see everything unread for a particular category or a particular feed in one page without having to click on every item. Scrolling is key. I may sign up for the beta test.
I've found this simple clipWords function I wrote to be really handy. I use it for my quotes thing to generate page titles and such. Check your browser bar on this page, for example.
<?php
function clipWords($str, $word_count){
preg_match('/^\W*(\b\w+\b\W*){0,'.$word_count.'}/', $str, $matches);
return trim($matches[0]);
}
?>
You can use code like this to generate an elipsis:
<?php
$short = clipWords($full, 7);
if(strlen($short) < strlen($full))
$short .= '...';
?>
Update: Or, alternately:
<?php
function clipWords($str, $word_count){
return join(' ', array_slice(preg_split('/\s+/', trim($str)), 0, $word_count));
}
#or
function clipWords($str, $word_count){
return join(' ', array_slice(preg_split('/\s+/', trim($str), $word_count+1), 0, -1));
?>
Perl 6 1.0 in March?
Doh, my mistake. I'm aware of therelation between Parrot and Rakudobut I'...
Keith: Dec 2, 1:03am