You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.7 KiB

<!DOCTYPE html>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width; initial-scale=1.0;">
<link rel="stylesheet" href="css/reset.css" media="all" />
<link rel="stylesheet" href="css/single-col.css" media="all" />
<link rel="alternate" type="application/rss+xml" title=" Podcast" href="" />
<h1><span>Welcome to </span>!</h1>
<h2><span>these are the blogs...</span></h2>
<article class="cols">
<ul id="bloglist"></ul>
<div class="footer">
powered by <a style="color: red; text-decoration: none" href=""></a>
var serverProtocol = location.protocol;
var serverHost = location.hostname;
var serverPort = location.port;
var serverURL = serverProtocol + '//' + serverHost + ':' + serverPort;
var blogListURL = serverURL + '/blogs.html';
var blogListReq = new XMLHttpRequest();
blogListReq.onload = renderList;'GET', blogListURL, true);
function renderList(){
var blogs = this.responseText;
var bloglist = document.getElementById('bloglist');
bloglist.innerHTML = blogs;