<?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>Chris Pirillo &#187; carp</title>
	<atom:link href="http://chris.pirillo.com/tag/carp/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris.pirillo.com</link>
	<description>News and Reviews! Geek, Internet Entrepreneur, Hardware Addict, Software Junkie, Book Author, Once TV Show Host, Technology Enthusiast, Shameless Self-Promoter, Tech Conference Coordinator, Early Adopter, Idea Evangelist, Tech Support Blogger, Bootstrapper, Media Personality, Technology Consultant, Thicker Quicker Picker Upper.</description>
	<lastBuildDate>Tue, 14 Feb 2012 05:40:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>New Flickr Photo Header</title>
		<link>http://chris.pirillo.com/testing-ig-syntax-hiliter/</link>
		<comments>http://chris.pirillo.com/testing-ig-syntax-hiliter/#comments</comments>
		<pubDate>Sun, 21 May 2006 10:08:38 +0000</pubDate>
		<dc:creator>Chris Pirillo</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[blog-header]]></category>
		<category><![CDATA[carp]]></category>
		<category><![CDATA[code_displays]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[photo_thumbnail]]></category>
		<category><![CDATA[php_script]]></category>
		<category><![CDATA[template_design]]></category>

		<guid isPermaLink="false">http://chris.pirillo.com/2006/05/20/testing-ig-syntax-hiliter/</guid>
		<description><![CDATA[<p><p><a href="http://chris.pirillo.com/testing-ig-syntax-hiliter/">New Flickr Photo Header</a></p><p>Apologies for everybody who saw this post before it was fully baked. I was testing the style for the iG-Syntax Hiliter plugin. Seems to be working okay, and even though I can tweak the options under the appropriate tab in my admin panel, I think there&#8217;s some other page I can use to tweak specific [...]</p></p><p><a href="http://chris.pirillo.com/testing-ig-syntax-hiliter/">New Flickr Photo Header</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://chris.pirillo.com/testing-ig-syntax-hiliter/">New Flickr Photo Header</a></p><p>Apologies for everybody who saw this post before it was fully baked. I was testing the style for the <a href="http://blog.igeek.info/still-fresh/category/wp-plugins/igsyntax-hiliter/">iG-Syntax Hiliter</a> plugin. Seems to be working okay, and even though I can tweak the options under the appropriate tab in my admin panel, I think there&#8217;s some other page I can use to tweak specific settings (as the plugin comes with a set of images that I don&#8217;t see surfaced anywhere). No matter, the plugin came in handy here &#8211; and will definitely be used again in future code displays.</p>
<p>I hate big-ass blog headers. The first thing I do when I see a gigantic image sitting front an center on a Web page is flick my scroll wheel to move down to the meat of the page. Yes, they can be aesthetically pleasing &#8211; but they can also be a gigantic waste of space. As such, I haven&#8217;t really ever had an interesting blog header. My most recent design (admittedly limited due to the overly-complicated template design of BlogWare&#8217;s system) had all the important and relevant information sitting there. You know who I am, right? This time, I wanted to do something a bit more dynamic &#8211; a bit more interesting. To get what I wanted, I needed to slap two few tools together: a simple photo thumbnail repository engine and a syndication format interpreter. </p>
<p>I&#8217;ve been looking around for a great RSS plugin for WordPress, and still can&#8217;t find anything close to satisfactory (read: configurable, powerful). I&#8217;ve been a registered <a href="http://www.geckotribe.com/rss/carp/">CaRP</a> user for years, and (what do you know) it also happens to be a PHP script. I&#8217;ve gotta convince Antone to turn CaRP into a full-blown WordPress plugin, though it has abolutely no UI to begin with. I know how to use CaRP, I&#8217;m learning how to work within WordPress, and I know just about enough PHP to tweak what I need to tweak in a script. </p>
<p>You&#8217;ve seen a few images show up inline in recent days, having been posted through email via the <a href="http://www.economysizegeek.com/wp-mail/">Postie plugin</a>. It&#8217;s not generating thumbnails (or RSS, let alone an album), so I&#8217;m turning to <a href="http://www.flickr.com/photos/lockergnome/">my friend Flickr</a>. Unfortunately, it only outputs 8 square thumbnail images per feed pull (and I really wanted 10). No matter, Flickr and CaRP have helped me get the job done. For CaRP, I&#8217;m employing these options:</p>
<p>[php]CarpConf(&#8216;cborder&#8217;,&#8221;);<br />
CarpConf(&#8216;iorder&#8217;,'image&#8217;);<br />
CarpConf(&#8216;maxitems&#8217;,12);<br />
CarpConf(&#8216;bitems&#8217;,&#8217;
<div class="headerwrapper">&#8216;);<br />
CarpConf(&#8216;aitems&#8217;,&#8217;<span class="headertext"><a href="/">Chris Pirillo</a></span></div>
<p>&#8216;);<br />
CarpCacheShow(&#8216;http://www.flickr.com/services/feeds/photos_public.gne?id=49503157467@N01&#038;format=rss_200&#8242;);[/php]</p>
<p>Of course, now I needed to define the CSS. Putting the images there (alone) is nifty enough, but I&#8217;m the kind of guy who loves combining fun with functionality. My name needs to be there, but I&#8217;m still not sold on slapping up a tagline in that position. As a visitor, I&#8217;d expect to click the name to return to the root of this site &#8211; so it had to be hyperlinked. Cake. Almost. I ran into some issues with positioning of my small nav icons, but (amazingly enough) the code works in both browsers. I think I&#8217;m the only blogger who optimizes his pages for IE, though? Anyway, here&#8217;s the CSS:</p>
<p>[css].headertext { font: 75px Georgia; left: 0px; position: absolute; text-decoration: none; }<br />
.headertext a, .headertext a:hover { color: #FFFFFF; text-decoration: none; }<br />
.headerwrapper { left: 50px; position: absolute; top: 15px; }<br />
.headerwrapper img { border: 0px; float: left; margin: 0px; padding: 0px; }[/css]</p>
<p>The result is what you see at the top of my blog. As I upload a new image, the older ones will get pushed off to the right (and eventually pushed out altogether). Been looking for a way to rip 10+ images out of my feed without futzing with the API. Anyway, it&#8217;s there now &#8211; and you&#8217;re more than welcome to take this code and do it on your site, too (although you&#8217;ll have to adapt the PHP script if you don&#8217;t use CaRP). That should be easy enough to do, even if you have to work backwards from the source of any given page here.</p>
<p><a href="http://chris.pirillo.com/testing-ig-syntax-hiliter/">New Flickr Photo Header</a></p>]]></content:encoded>
			<wfw:commentRss>http://chris.pirillo.com/testing-ig-syntax-hiliter/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/11 queries in 0.721 seconds using disk: basic
Object Caching 457/475 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: s3.pirillo.com

Served from: chris.pirillo.com @ 2012-02-14 06:26:49 -->
