<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Notes Log &#187; PunchCard</title>
	<atom:link href="http://noteslog.com/category/punchcard/feed/" rel="self" type="application/rss+xml" />
	<link>http://noteslog.com</link>
	<description></description>
	<lastBuildDate>Sun, 05 Feb 2012 14:41:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PunchCard 1.3 Released Today</title>
		<link>http://noteslog.com/post/punchcard-13-released-today/</link>
		<comments>http://noteslog.com/post/punchcard-13-released-today/#comments</comments>
		<pubDate>Fri, 27 Apr 2007 19:20:44 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[PunchCard]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/post/punchcard-13-released-today/</guid>
		<description><![CDATA[Changes Faster Page Loads With Image Concatenation Updated the code to use version 1.1.2 of the jQuery library (bundled) Files download all in a zip read the manual (the greeny thing below this line is a punchcard)]]></description>
			<content:encoded><![CDATA[<h5>Changes</h5>
<ul>
<li><a href="http://borkweb.com/story/faster-page-loads-with-image-concatenation" target="_blank">Faster Page Loads With Image Concatenation</a></li>
<li>Updated the code to use version 1.1.2 of the jQuery library (bundled)</li>
</ul>
<h5>Files</h5>
<ul>
<li><a href="/personal/projects/punchcard/1.3/punchcard-1.3-all.zip" onclick="javascript:urchinTracker('/downloads/punchcard-1.3');">download all in a zip</a></li>
<li><a href="/punchcard/">read the manual</a></li>
</ul>
<p align="center">(the greeny thing below this line is a punchcard)</p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/punchcard-13-released-today/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to add a PunchCard to each WordPress post</title>
		<link>http://noteslog.com/post/how-to-add-a-punchcard-to-each-wordpress-post/</link>
		<comments>http://noteslog.com/post/how-to-add-a-punchcard-to-each-wordpress-post/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 18:25:26 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[PunchCard]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=109</guid>
		<description><![CDATA[WhatÂ you findÂ in the PunchCard ManualÂ is valid in general for any html page and blog system, but if youÂ need aÂ 5 minutesÂ guide forÂ adding a properly formatted PunchCardÂ to eachÂ WordPress post, here itÂ is. download PunchCard 1.2, and extract it to a local folder locateÂ the file jquery-1.1.1.pack.js and upload it to the remote folder / wp-content / jquery / uploadÂ all [...]]]></description>
			<content:encoded><![CDATA[<p>WhatÂ you findÂ in the <a href="/punchcard/">PunchCard Manual</a>Â is valid in general for any html page and blog system, but if youÂ need aÂ 5 minutesÂ guide forÂ adding a properly formatted PunchCardÂ to eachÂ WordPress post, here itÂ is.</p>
<ol>
<li>download PunchCard 1.2, and extract it to a local folder</li>
<li>locateÂ the file <u>jquery-1.1.1.pack.js</u> and upload it to the remote folder <u>/ wp-content / jquery /</u></li>
<li>uploadÂ all the other filesÂ to the remote folder <u>/ wp-content / jquery / punchcard /</u></li>
<li>editÂ theÂ remote file <u>/ wp-content / themes / default / header.php</u>,Â <br />
locate the <code class="html">&lt;/head&gt;</code>Â tag, add the following code right before it, and then close and save the file:<br />
<script type="text/javascript" 
	src="<?php bloginfo('siteurl'); ?>/wp-content/jquery/jquery-1.1.1.pack.js">
	</script>

<script type="text/javascript" 
	src="<?php bloginfo('siteurl'); ?>/wp-content/jquery/punchcard/punchcard-1.2.pack.js">
	</script>

<script type="text/javascript">
PunchCard.icons = "/aercolino/punchcard/icons/";
PunchCard.styles = "<?php bloginfo('siteurl'); ?>/wp-content/jquery/punchcard/";
</script></li>
<li>edit theÂ remote file <u>/ wp-content / themes / default / index.php</u>,Â <br />
locate the <code class="html">&lt;p class="postmetadata"&gt;</code>Â tag, add the following code right before it, and then close and save the file:<br />
<?php 
ob_start();
the_title();
$title = ob_get_contents();
ob_clean();
the_permalink();
$permalink = ob_get_contents();
ob_end_clean();
?>

<div style="text-align:center;" class="pc_MINI"><div class="punchcard">
	<object>
	<param name="punchcard" value='{
		title: "<?php echo $title; ?>"
		, url: "<?php echo $permalink; ?>"
		, id : "<?php $pieces = explode( "?", $permalink ); echo $pieces[1]; ?>"
	}'/>
	</object>
</div></div></li>
</ol>
<p>That&#8217;s all.</p>
<ul>
<li>you can repeat step 5. for the file <u>/ wp-content / themes / default / single.php</u></li>
<li>if you are not using the default theme, remember to appropriately change the path to the theme folder in the previous steps</li>
</ul>
<p>Following this fast guide you&#8217;ll get a PunchCard at the bottom of each post, like mine. Each PunchCard will reference your post (title and URL).</p>
<p>Feel free to play with the PunchCard stylesheet and setup for customizing your punchcards.</p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/how-to-add-a-punchcard-to-each-wordpress-post/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PunchCard 1.2 Released Today</title>
		<link>http://noteslog.com/post/punchcard-12-released-today/</link>
		<comments>http://noteslog.com/post/punchcard-12-released-today/#comments</comments>
		<pubDate>Sun, 28 Jan 2007 18:27:21 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[PunchCard]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=107</guid>
		<description><![CDATA[Changes Simplified the inclusion of the PunchCard code in a page The configuration of a widget is now by means of a metaboject, and is compliant with XHTML 1.0 Strict Updated the code to use version 1.1.1 of the jQuery library (bundled) The example.html file shows how to put on the same page as many [...]]]></description>
			<content:encoded><![CDATA[<h5>Changes</h5>
<ul>
<li>Simplified the inclusion of the PunchCard code in a page</li>
<li>The configuration of a widget is now by means of a metaboject, and is compliant with <u>XHTML 1.0 Strict</u></li>
<li>Updated the code to use version 1.1.1 of the jQuery library (bundled)</li>
<li>The <u>example.html</u> file shows how to put on the same page as many widgets as you like. Each of them can have it&#8217;s own style</li>
<li>Simplified the stylesheets. Add new styles for colors and shapes of the widgets to the <u>punchcard.css</u> stylesheet (compare with <u>example.html</u>)</li>
</ul>
<h5>Files</h5>
<ul>
<li>download all in a zip</li>
<li><a href="/punchcard/">read the manual</a></li>
</ul>
<p align="center">(the greeny thing below this line is a punchcard)</p>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/punchcard-12-released-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PunchCard 1.1 Released Today &#8211; updated</title>
		<link>http://noteslog.com/post/punchcard-11-released-today/</link>
		<comments>http://noteslog.com/post/punchcard-11-released-today/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 21:11:18 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[PunchCard]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=85</guid>
		<description><![CDATA[Changes implemented a different format for widgets configurations: now it&#8217;s xhtml compliant Files download all in a zip read the manual]]></description>
			<content:encoded><![CDATA[<p><strong>Changes</strong></p>
<ul>
<li>implemented a different format for widgets configurations: now it&#8217;s xhtml compliant</li>
</ul>
<p><strong>Files</strong></p>
<ul>
<li>download all in a zip</li>
<li><a href="/?page_id=86">read the manual</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/punchcard-11-released-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PunchCard 1.0 Released Today &#8211; updated</title>
		<link>http://noteslog.com/post/punchcard-10-released-today/</link>
		<comments>http://noteslog.com/post/punchcard-10-released-today/#comments</comments>
		<pubDate>Tue, 14 Nov 2006 14:09:03 +0000</pubDate>
		<dc:creator>Andrea Ercolino</dc:creator>
				<category><![CDATA[PunchCard]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://noteslog.com/?p=84</guid>
		<description><![CDATA[see the PunchCard category for updates Features A jQuery widget for displaying in a small area a lot of social bookmarking sites, like del.icio.us, digg, technorati&#8230; (there are 45 now) Punchcard metaphore Every button is a tiny mark in a punchcard When the mouse hovers the punchcard a tooltip pops up The tooltip shows icon [...]]]></description>
			<content:encoded><![CDATA[<p>see the <a href="/?cat=17">PunchCard</a> category for updates<strong> </strong></p>
<p><strong>Features</strong></p>
<ul>
<li>A jQuery widget for displaying in a small area a lot of social bookmarking sites, like del.icio.us, digg, technorati&#8230; (there are 45 now)</li>
<li>Punchcard metaphore
<ol>
<li>Every button is a tiny mark in a punchcard</li>
<li>When the mouse hovers the punchcard a tooltip pops up</li>
<li>The tooltip shows icon and name of the site</li>
<li>If the user punches the mark, the site opens in a new window, and</li>
<li>The punchcard gets a new hole which stays put</li>
</ol>
</li>
</ul>
<p align="left">{[.test]}</p>
<ul>
<li>You can add as many punchcards as you like to the same page, each one for submitting a different content: the holes belong to that content</li>
<li>Easy to add
<ol>
<li>Use a div element with a &#8216;punchcard&#8217; class</li>
<li>Set its &#8216;title&#8217; and &#8216;id&#8217; attributes to the title and URL of your contentFor example, this is the html code used to display the above punchcard</li>
</ol>
</li>
</ul>
<p><center>
<div class="punchcard" title="PunchCard 1.0 Released Today" 
id="/?p=84"></div>
</center></p>
<ul>
<li>Easy to install
<ol>
<li>HEAD: reference all the needed scripts and stylesheets</li>
<li>BODY: set the path of the icons folder (relative to your domain)</li>
</ol>
</li>
</ul>
<p>HEAD<script type="text/javascript" src="jquery-1.0.3.pack.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<script type="text/javascript" src="cooltip.js"></script>
<link rel="stylesheet" type="text/css" href="cooltip.css" />
<script type="text/javascript" src="crc32.js"></script>
<script type="text/javascript" src="punchcard.js"></script>
<link rel="stylesheet" type="text/css" href="punchcard.css" />BODY<script language="JavaScript">
PunchCard.icons = "/punchcard/icons/";
</script></p>
<ul>
<li>Easy to customize<br />
Change everything from colors to links, directly in the code and stylesheet files.</li>
</ul>
<p><strong>Files</strong></p>
<ul>
<li>download all in a zip</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://noteslog.com/post/punchcard-10-released-today/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

