Skip to content

Instantly share code, notes, and snippets.

View richardmackney's full-sized avatar

Richard Mackney richardmackney

View GitHub Profile
@richardmackney
richardmackney / Linksalpha-to-Posterous
Created February 18, 2012 12:13
Add LinksAlpha to Posterous
<!-- ALL THE SHARING SHIZZLE -->
{block:Sharing}
<iframe id="websites_iframe" height="25px" width="450px" scrolling="no" frameborder="0px" src="http://www.linksalpha.com/social?fblshow=1&fblname=like&fbllang=en_GB&fbsbutton=0&fbsctr=1&twbutton=1&twlang=en&twctr=1&lnkdshow=show&lnkdctr=1&g1button=1&g1lang=en-GB&g1ctr=1&buzzbutton=0&buzzlang=en&buzzctr=1&diggbutton=0&diggctr=1&stblbutton=0&stblctr=1&link={Permalink}&twmention=richardmackney&twrelated1=richardmackney" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" style="border:0;width:550px;height:50px;">
</iframe>
{/block:Sharing}
<!-- ALL THE SHARING SHIZZLE -->
@richardmackney
richardmackney / Feedburner-frame.html
Created July 11, 2011 12:51
iframe for Feedburner
<iframe src="http://dl.dropbox.com/u/1542199/feedburner.html" frameborder="0" style="border:none; overflow:hidden; width:350px; height:170px;"></iframe>
@richardmackney
richardmackney / feedburner.html
Created July 11, 2011 12:27
Add Recent Posts List to Posterous
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Feedburner for Posterous customised at http://richard.mackney.com
Script URL on Dropbox: http://dl.dropbox.com/u/1542199/feedburner.html
Use iFrame code: <iframe src="http://dl.dropbox.com/u/1542199/feedburner.html" frameborder="0" style="border:none; overflow:hidden; width:350px; height:170px;"></iframe>
-->
<head>
<title>Feedburner BuzzBoost</title>
@richardmackney
richardmackney / Instagram RSS Image Feed
Created March 11, 2011 12:34
Display Instagram images using jquery.zRSSFeed via Google Feed API. Made for iframes (Posterous) - images open in new window.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="en" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
/**
* Plugin: jquery.zRSSFeed
*
@richardmackney
richardmackney / Display Shared Items RSS
Created February 18, 2011 12:19
Using jquery to display feed from Google reader
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
var url = "http://www.google.com/reader/public/javascript/feed/http://www.google.com/reader/public/atom/user%2F01019311013388988458%2Fstate%2Fcom.google%2Fbroadcast?callback=?";
$.getJSON(url,
function(data) {
for(var i = 0; i < data.items.length && i < 5; i += 1)
$('.grJSON').append('<li>' + '<h4>' + '<a target="_blank" href="' + data.items[i].alternate.href + '">' + data.items[i].title + '</a>' + '</h4>' + '<br />');
$('.grJSON').wrapInner('<ul></ul>');
});
@richardmackney
richardmackney / twitter.html
Created January 21, 2011 12:59
Using Dropbox to display a Twitter Widget on Posterous
<iframe src="http://dl.dropbox.com/u/1542199/twitter.html" frameborder="0" style="border:none; overflow:hidden; width:260px; height:310px;"></iframe>