Aggregating – Part 2
So, the challenge was to build an aggregator that could display the life lessons I mentioned on part 1.
When faced with the white canvas I could of done anything. Search for a CMS, build something from scratch ar whatever crossed my deviated mind.
I went with the best platform I know. WordPress. Mainly thanks to me finding a beautiful RSS parsing library called SimplePie. That library enabled me to do whatever I wanted with the feeds. And so I did.
Building a feed reader within WordPress was fun.
First I went for a "live" approach. I just fetched the feeds and presented them. But that proved to be slow and unreliable.
Thus I made the choice to save everything into the DB. That allows me to sort, change, and adapt the content while boosting the performance quite visibly. And there's quite some processing that needs to be done.
For starters the greatest challenge was to make things somewhat usable for the visitors. With over a 100 people aggregating to a single page we had to provide a simple way to sort and find whatever is of interest.
The Solution? Creating filters. If you go into the "Voices" page you'll see 3 dynamic dropdowns (Country, Language and Sport) that allow to get just the content that you are interested in. The same logic will apply, in the near future, to an aggregated feed.
There was quite some degree of learning on the process. For starters I found out that blogspot's feeds are full of rubbish. Also I reinforced the Old Addagio: "IE 6 sucks". I truly believe that that particular browser is the accounts for way too many extra development hours (as the need to "hack" stuff to make it work correctly is a must if you want to build anything somewhat "modern") and a lot of wasted bandwidth.
Also making anything non-that-conventional requires intensive cross-browser testing. Here's a sample of my 3 ThinkPads showing the page on various OSs and Browsers:

(Left to right: Firefox [top] and Konkeror [bottom] under Linux; Opera [left] and IE7 [right] under Windows; Firefox [left] and Safari [right] under Windows. No I don't own a Mac, thank you very much).
I hope you enjoy reading this guys posts and stay tuned, there's a lot more to come.
With some luck I'll leverage part of this efforts and build it into plugins that people can use on their own blogs. (Chances are this wont happen before the end of the games).
PS: In case you wondered why I haven't posted much lately: this is the reason.
Pages
Categories
- AbilTo
- All this and that
- Argentina
- Betas
- Blog Design
- Blogs
- books
- Business
- Design
- funny
- general
- Lenovo
- Linux
- long term thinking
- Marketing
- Marriage
- Media
- Metrics
- Mountain Biking
- myself and I
- personal
- philosophical rant
- Science
- Servers and configs
- Terragen
- ThinkPad Tips
- Uncategorized
- Web
- Work
Blogroll
Archive
- November 2010
- March 2010
- February 2010
- January 2010
- November 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006