mirror of
https://github.com/wahyd4/rss-visualizer.git
synced 2026-08-09 04:56:25 +10:00
55 lines
1.4 KiB
HTML
55 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>RSS Visualizer</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="css/style.css">
|
|
<script src="js/jquery.min.js"></script>
|
|
<script src="js/jsapi.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="container" class="title_only">
|
|
|
|
<div id="loading">
|
|
RSS Visualizer Loading...
|
|
</div>
|
|
|
|
<div id="main" role="main">
|
|
|
|
<article id="a1">
|
|
<span class="from"></span>
|
|
<h2></h2>
|
|
<div class="content"></div>
|
|
</article>
|
|
|
|
<article id="a2" class="hide">
|
|
<span class="from"></span>
|
|
<h2></h2>
|
|
<div class="content"></div>
|
|
</article>
|
|
</div>
|
|
<footer>
|
|
|
|
</footer>
|
|
</div>
|
|
<script type="text/javascript" src="js/main.js"></script>
|
|
<script type="text/javascript">
|
|
google.load("feeds", 1);
|
|
var urls = [
|
|
"http://www.guao.hk/feed",
|
|
"http://cn.engadget.com/rss.xml",
|
|
"http://news.ycombinator.com/rss",
|
|
"http://blogs.thoughtworks.com/rss20.xml"
|
|
];
|
|
$(function() {
|
|
var visualizer = new RSSVisualizer(urls);
|
|
visualizer.start(urls);
|
|
setInterval(function() {
|
|
visualizer.restart();
|
|
}, 30 * 60 * 1000);
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|