Skip to content

Instantly share code, notes, and snippets.

@rdallaire
Created January 9, 2015 05:18
Show Gist options
  • Save rdallaire/5f669316ec7906c8462e to your computer and use it in GitHub Desktop.
Save rdallaire/5f669316ec7906c8462e to your computer and use it in GitHub Desktop.
test
<!DOCTYPE html>
<html>
<head>
<title>jquery.rss example</title>
<script src="lib/jquery-1.6.4.min.js"></script>
<script src="src/jquery.rss.js"></script>
<script>
jQuery(function($) {
$("#rss-feeds").rss("http://feeds.feedburner.com/dawanda", {
limit: 15,
effect: 'slideFastSynced'
})
})
</script>
<style type="text/css">
body {
font-family: Arial, Verdana, Trebuchet MS, Helvetica, lucida grande, "sans-serif";
font-size: 12px;
}
body > div {
margin: 0px auto;
width: 800px;
}
a {
color: #37D;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}
li {
padding: 10px;
border-top: 1px dashed #AAA;
background-color: #EFEFEF;
}
li:first-child {
border-top: none;
}
li:nth-child(2n) {
background-color: white;
}
</style>
</head>
<body>
<div>
<h1>jquery.rss example</h1>
<div id="rss-feeds"></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment