Last active
September 30, 2016 02:06
-
-
Save scripting/be89904f454086103eb5 to your computer and use it in GitHub Desktop.
Source code for mlbriver.com v2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>mlbriver.com</title> | |
<!-- | |
This is a lightly modified version of the source for mlbriver.com. | |
I took out the hit counting code, because that's specific to the way I run my sites. | |
Thanks to Anton Zuiker for helping test this, suggesting simplifications and fixes. | |
If you have questions how to use this, please post a question on the River4 mail list. | |
https://groups.google.com/forum/?fromgroups#!forum/river4 | |
--> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script src="http://fargo.io/code/jquery-1.9.1.min.js"></script> | |
<link href="http://fargo.io/code/bootstrap.css" rel="stylesheet"> | |
<script src="http://fargo.io/code/bootstrap.min.js"></script> | |
<link rel="stylesheet" href="http://fargo.io/code/fontAwesome/css/font-awesome.min.css"/> | |
<link href="http://fargo.io/code/ubuntuFont.css" rel="stylesheet" type="text/css"> | |
<script src="http://fargo.io/code/node/shared/utils.js"></script> | |
<script src="http://fargo.io/code/strftime.js"></script> | |
<script src="http://fargo.io/code/shared/ga.js"></script> | |
<link rel="stylesheet" href="http://fargo.io/code/shared/rivers.css"/> | |
<script src="http://fargo.io/code/shared/rivers.js"></script> | |
<link href='http://fonts.googleapis.com/css?family=Oswald:400,700' rel='stylesheet' type='text/css'> | |
<link rel="stylesheet" href="http://mlbriver.com/styles.css"/> | |
<!-- Facebook metadata --> | |
<meta property="og:url" content="http://mlbriver.com/" /> | |
<meta property="og:type" content="website" /> | |
<meta property="og:title" content="Major League Baseball River of News" /> | |
<meta property="og:description" content="We subscribe to a few dozen feeds of baseball news sites around the country, covering all the MLB teams. It's a great place to find out what's going on right now in baseball." /> | |
<meta property="og:image" content="http://scripting.com/2015/09/09/charlieHustle.png" /> | |
<meta property="og:site_name" content="mlbriver.com" /> | |
<!-- Twitter metadata --> | |
<meta name="twitter:card" content="summary_large_image"> | |
<meta name="twitter:site" content="@davewiner"> | |
<meta name="twitter:title" content="Major League Baseball River of News"> | |
<meta name="twitter:description" content="We subscribe to a few dozen feeds of baseball news sites around the country, covering all the MLB teams. It's a great place to find out what's going on right now in baseball."> | |
<meta name="twitter:image:src" content="http://scripting.com/2015/09/09/charlieHustle.png"> | |
</head> | |
<body> | |
<div class="divPageContainer"> | |
<div class="divPageTop"> | |
<center> | |
<table cellpadding=4 border=0> | |
<tr> | |
<td> | |
<div class="divProductLogo"> | |
<img src="http://scripting.com/2015/09/09/slugger.png" width="82" height="75" border="0" style="margin-top: 8px;" alt="A picture named slugger.png"> | |
</div> | |
</td> | |
<td> | |
<div class="divNameAndTagline"> | |
<span class="spProductTitle"><a onclick="openAbout ()">mlbriver.com</span></a><br> | |
<span class="spProductTagline">Baseball news and commentary.</span> | |
</div> | |
</td> | |
</tr> | |
</table> | |
</center> | |
</div> | |
<div class="divPageBody"> | |
<div class="divRiverContainer"> | |
<div class="divRiverDisplay" id="idRiverDisplay"> | |
</div> | |
</div> | |
</div> | |
<div class="divPageFooter"> | |
<center> | |
<p>Another fine <a href="http://scripting.com/2014/06/02/whatIsARiverOfNewsAggregator.html">river</a> from <a href="http://davewiner.com/">Dave Winer</a> of <a href="http://scripting.com/">Scripting News</a>.</p> | |
</center> | |
</div> | |
</div> | |
<script> | |
$(document).ready (function () { | |
httpGetRiver ("http://radio3.io/rivers/rivers/mlb.js"); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's some code that implements an "about" dialog.
https://gist.github.com/scripting/a8a867248b08ca93a46c
Might be useful for your river.
Dave