Skip to content

Instantly share code, notes, and snippets.

View codepen_button.html
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<form
@mariemosley
mariemosley / pinterest.js
Last active Nov 26, 2018 — forked from 65/pinterest.js
pinterest buttons on every image in a Blogger/Blogspot post using jquery
View pinterest.js
<script type="text/javascript">
$(document).ready(function() {
$('.entry-content img').each(function(){
$permalink = $(this).parents('.post-outer').find('.timestamp-link').attr('href') || $(location).attr('href');
$title = $(this).parents('.post-outer').find('.entry-title').text();
$(this).addClass('pinme').after('<a href="http://pinterest.com/pin/create/button/?url=' + $permalink + '&media=' + $(this).attr('src') + '&description=' + $title + '" class="pin-it-button" count-layout="horizontal"></a>');
});
});
@mariemosley
mariemosley / Pinterest Gadget for Blogger
Last active Aug 22, 2018 — forked from richardmackney/Instagram RSS Image Feed
Display Pinterest images in a "gadget" for Blogspot/Blogger blogs
View Pinterest Gadget for Blogger
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
/**
* Plugin: jquery.zRSSFeed
*
* Version: 1.0.1
* (c) Copyright 2010, Zazar Ltd
*
* Description: jQuery plugin for display of RSS feeds via Google Feed API
* (Based on original plugin jGFeed by jQuery HowTo)
You can’t perform that action at this time.