zRSSFeed - Redirecting RSS feed links to another page (Part 2)

This is the result of the redirected link example showing the original article of the feed item that was clicked.

Script

$(document).ready(function () {

	$('#test').attr('src',getParameter('link'));

	function getParameter(paramName) {

		var searchString = window.location.search.substring(1),i, val, params = searchString.split("&");

		for (i=0;i<params.length;i++) {
			val = params[i].split("=");
			if (val[0] == paramName) {
				return unescape(val[1]);
			}
		}
	  	return null;
	}
});

Result