Apr 27 2007
PunchCard 1.3 Released Today
Changes
- Faster Page Loads With Image Concatenation
- Updated the code to use version 1.1.2 of the jQuery library (bundled)
Files
(the greeny thing below this line is a punchcard)
I'd like there to be no software patents at all,
and to back off from the ones that have been issued (Ewald Detjens)
Apr 27 2007
(the greeny thing below this line is a punchcard)
Feb 01 2007
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.
</head> tag, add the following code right before it, and then close and save the file:<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>
<p class="postmetadata"> tag, add the following code right before it, and then close and save the file:<?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>
That’s all.
Following this fast guide you’ll get a PunchCard at the bottom of each post, like mine. Each PunchCard will reference your post (title and URL).
Feel free to play with the PunchCard stylesheet and setup for customizing your punchcards.
Jan 28 2007
(the greeny thing below this line is a punchcard)