Modified Feed2js

Feed2js is great. It uses Magpie for the backend RSS feed parsing, which I guess is really where you could say most of its problems stem from.

Magpie is stupid simple with no kind of intelligence and only an elementary compensation for nesting.  Feed2js is its enabler.  I felt that I had to make a few changes to Feed2js for it to even be usable. By default, Magpie shoves all title tags into one for each item.  This is a problem as most modern feeds use a title tag for the article as well as the source.  This, consequently, resulted in:

TitleSource

Which, we can all agree is an awful outcome.  Scowering through the nicely organized spaghetti code of Magpie, I made an alteration to 3 functions to get the source title and info into another 'source' array.  This way all the data within the source tag is accessible in Feed2js.

I just hacked in a "via $item[source][title]" next to the date and voila! Check out the results at:

My Feed2JS : http://www.beautifultags.com/feed2js