$(document).ready(function() {
	$.ajax({
		type: "GET",
		url: "/blog.html",
		dataType: "html",
		success: function(html) {
			// Darstellung der 2 aktuellsten Blog-Titel
			var anz = 2;
			var blog_title = "<h2>Aktuelle Themen im Enterprise Search Blog:</h2>";
			$("h1 a",html).each(function(i) {
				if (i<anz) {
					var href    = $(this).attr("href");
					var title   = $(this).text();
					blog_title += "<a href='" + href + "' class='link_more'>" + title + "</a>"
				}
			});
			$("#blog").empty();
			$("#blog").append(blog_title);
		}
	});
});

