<?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>Covered &#187; wordpress</title>
	<atom:link href="http://www.ryanbarr.com/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ryanbarr.com</link>
	<description>Options, Economics, Futures, Politics and a bit of the Barr Family scattered in between</description>
	<lastBuildDate>Sat, 12 Mar 2011 05:57:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>My Journey to WordPress &#8211; Part 5</title>
		<link>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-5</link>
		<comments>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-5#comments</comments>
		<pubDate>Tue, 08 Jan 2008 04:57:21 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-5</guid>
		<description><![CDATA[Part 5 in my never ending series on My Journey to Wordpress.  It took less time to port the site than to write these articles!  This installment is about plug-ins and widgets.  Enjoy!<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-5' addthis:title='My Journey to WordPress &#8211; Part 5' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>Part 5&#8230; Man, my fingers are tired.  This is a lot of typing, thank God I don&#8217;t write code anymore!</p>
<h2> Writing Code</h2>
<p>Oh wait&#8230; Maybe I do it now and again!  This part of my wordpress series is all about writing code and some cool plug-ins.  There are two major pieces that I&#8217;ll go over here.</p>
<ol>
<li><em>Widgetizing </em>an existing plug-in</li>
<li>My favorite wordpress plug-ins</li>
</ol>
<p>After those two topics, I&#8217;m sure my fingers will be spent for the day so I&#8217;ll go into the creation of my own plug-in in part six &#8211; (is this ever going to end?)</p>
<h2><em>Widgetizing </em>an existing plug-in</h2>
<p>Widgets are cool!  Unfortunately not every plug-in has been setup to be a widget.  The thing about widgets that I like so much are that they give you lots of flexibility with the items in your sidebar.  If you&#8217;re working on a new site and have yet to decide what the sidebar order should be, the widgets make it simple to move things around and get things <em>just right</em>. Granted, moving function calls around in php is pretty simple as well!</p>
<p>Okay, so off to the widgetizing world.  If you want to make it really, really easy &#8211; go download 
<a  href="http://www.erik-rasmussen.com/blog/2006/11/30/widgetize-anything/" onclick="javascript:pageTracker._trackPageview('/external/www.erik-rasmussen.com/blog/2006/11/30/widgetize-anything/');" >this tool</a>. If you want to go and do it the<em> long </em>way and actually create a widget, I&#8217;m going to help my tired fingers out and send you to some really good tutorials / resources &#8211; so here they are:</p>
<ol>
<li>
<a  href="http://automattic.com/code/widgets/" title="Wordpress Widgets" onclick="javascript:pageTracker._trackPageview('/external/automattic.com/code/widgets/');" >WordPress Widgets &#8211; Automattic</a></li>
<li>
<a  href="http://http://wpbits.wordpress.com/2007/06/16/simple-widgets-widgets-101/" title="Simple widgets" onclick="javascript:pageTracker._trackPageview('/external/http//wpbits.wordpress.com/2007/06/16/simple-widgets-widgets-101/');" >Simple widgets &#8211; from wpbits</a></li>
<li>
<a  href="http://lonewolf-online.net/computers/knowledgebase/wordpress-how-to-create-widgets/" title="How to Create WordPress Widgets" onclick="javascript:pageTracker._trackPageview('/external/lonewolf-online.net/computers/knowledgebase/wordpress-how-to-create-widgets/');" >How to Create WordPress Widgets &#8211; from lonewolf</a></li>
<li>
<a  href="http://codex.wordpress.org/Plugins/WordPress_Widgets#Resources" title="Wordpress Widgets Codex" onclick="javascript:pageTracker._trackPageview('/external/codex.wordpress.org/Plugins/WordPress_Widgets?Resources');" >WordPress Widgets Codex</a></li>
</ol>
<p>Why didn&#8217;t I write my own tutorial? Simple, these ones are really good!  Personally, I used the files from Automattic, pulled up the Google example and started to hack away.  The rest of the resources I found while I was hacking around after building the site.</p>
<h2>My favorite plug-ins</h2>
<p>Okay, so here are the plug-ins that I think totally rock!</p>
<ul>
<li><strong>
<a  href="http://www.acmetech.com/blog/adsense-deluxe/" title="Visit plugin homepage" onclick="javascript:pageTracker._trackPageview('/external/www.acmetech.com/blog/adsense-deluxe/');" >Adsense-Deluxe</a></strong></li>
<li><strong>
<a  href="http://www.arnebrachhold.de/redir/sitemap-home/" title="Visit plugin homepage" onclick="javascript:pageTracker._trackPageview('/external/www.arnebrachhold.de/redir/sitemap-home/');" >Google XML Sitemaps</a></strong></li>
<li><strong>
<a  href="http://www.neato.co.nz/wordpress-things/inline-tag-thing" title="Visit plugin homepage" onclick="javascript:pageTracker._trackPageview('/external/www.neato.co.nz/wordpress-things/inline-tag-thing');" >Inline Tag Thing</a></strong></li>
<li><strong>
<a  href="http://www.netconcepts.com/seo-title-tag-plugin/" title="Visit plugin homepage" onclick="javascript:pageTracker._trackPageview('/external/www.netconcepts.com/seo-title-tag-plugin/');" >SEO Title Tag</a></strong></li>
<li><strong>
<a  href="http://www.neato.co.nz/wordpress-things/tag-managing-thing" title="Visit plugin homepage" onclick="javascript:pageTracker._trackPageview('/external/www.neato.co.nz/wordpress-things/tag-managing-thing');" >Tag Managing Thing</a></strong></li>
<li><strong>
<a  href="http://www.neato.co.nz/wordpress-things/tag-suggest-thing" title="Visit plugin homepage" onclick="javascript:pageTracker._trackPageview('/external/www.neato.co.nz/wordpress-things/tag-suggest-thing');" >Tag Suggest Thing</a></strong></li>
<li><strong>
<a  href="http://orderedlist.com/wordpress-plugins/wp-tiger-administration/" title="Visit plugin homepage" onclick="javascript:pageTracker._trackPageview('/external/orderedlist.com/wordpress-plugins/wp-tiger-administration/');" >Tiger Style Administration</a></strong></li>
<li> <strong>
<a  href="http://lesterchan.net/portfolio/programming.php" title="Visit plugin homepage" onclick="javascript:pageTracker._trackPageview('/external/lesterchan.net/portfolio/programming.php');" >WP-DBManager</a></strong></li>
<li><strong>
<a  href="http://codex.gallery2.org/Integration:WPG2" title="Visit plugin homepage" onclick="javascript:pageTracker._trackPageview('/external/codex.gallery2.org/Integration:WPG2');" >WPG2</a></strong></li>
<li><strong>
<a  href="http://www.ryanbarr.com/webdevelopment/inline-stock-quote-plugin" title="Visit plugin homepage">InlineStockQuote</a></strong></li>
<li><strong>
<a  href="http://andy.hillhome.org/blog/code/stockquotesidebar" title="Visit plugin homepage" onclick="javascript:pageTracker._trackPageview('/external/andy.hillhome.org/blog/code/stockquotesidebar');" >StockQuoteSB </a></strong></li>
</ul>
<p>Okay, now that I&#8217;ve listed them all down lets run through why I love em&#8230;</p>
<p><strong>Adsense-Deluxe</strong></p>
<p>This is just a really cool plug-in.  You can configure your adsense ad units in the config pane and then reference them in the theme or directly in an article.  Pretty nice if you have adsense running on your blog.</p>
<p><strong>Google XML Sitemaps</strong></p>
<p>If you don&#8217;t know about Google Sitemaps you need to do a bit of research.  Once you&#8217;ve gotten with the times and have decided that they are important for your site and search rankings, then download this plugin to have them created automatically!</p>
<p><strong>Inline Tag, Tag Managing, and Tag Suggest Things</strong></p>
<p>These are awesome.  The ultimate tag warrior looked like a phenominal plug-in prior to native tag support in wordpress.  Now these three plug-ins provide all of the extra tag management that you could ask for!</p>
<p><strong>SEO Title Tag</strong></p>
<p>Title tags are <strong>very</strong> important.  Download this now.</p>
<p><strong>Tiger Style Administration</strong></p>
<p>I&#8217;ll admit it, I&#8217;m very picky about the way my tools look.  This plug-in fixes the hideous default wordpress admin style.  It has a few quirks, but it&#8217;s much nicer than the regular style.</p>
<p><strong>WP-DBManager</strong></p>
<p>Backup, backup, backup&#8230; I can&#8217;t say it enough.  You must have backups.  This will take care of it for you.</p>
<p><strong>WPG2</strong></p>
<p>I wrote a whole post about this thing&#8230; it is quite possibly the reason that I switched to wordpress.</p>
<p><strong>InlineStockQuote</strong></p>
<p>I wrote it!  I better like it!</p>
<p><strong>StockquoteSB</strong></p>
<p>This is a pretty cool tool.  I tweaked it quite a bit for my site.  The original is nice and does everything you would need.</p>
<p>So there you have it.  Links to some great widgetizing resources, and my list of favorite plug-ins.  Next time I&#8217;ll talk about the creation of my plug-in the InlineStockQuote.</p>
<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-5' addthis:title='My Journey to WordPress &#8211; Part 5' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Journey to WordPress &#8211; Part 4</title>
		<link>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-4</link>
		<comments>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-4#comments</comments>
		<pubDate>Thu, 03 Jan 2008 04:48:36 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[vslider3]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wpg2]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-4</guid>
		<description><![CDATA[The next article in a the series "My Journey to Wordpress."  In this article I discuss my tweaks to the vSlider theme, including how to get the lightbox script to work just right...<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-4' addthis:title='My Journey to WordPress &#8211; Part 4' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>Holy crap, this is getting long!  I figured when I started writing about my journey it would maybe be 3 articles, max.  I&#8217;m easily going to hit five now.</p>
<p>Well, onto the journey&#8230;</p>
<h2>Customizing vSlider3</h2>
<p>I&#8217;ll be totally honest here &#8211; I decided to make the switch after installing the vSlider3 theme.  This thing has to be the coolest, most customizable theme I have ever seen.  I was flat out blown away!</p>
<p>When you install this theme, there is an entire <em>Options</em> pane that allows you to change all of the colors, icons, headers, footers, sidebars and just about everything else!  Not only that, you can setup &#8220;color schemes&#8221; for the site so that with a click of a button you can go from theme A to theme B.</p>
<p>It is very, very cool. However&#8230; not everything is completely customizable.  So I hacked away a bit <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The key things that you&#8217;ll likely want to change with the vSlider theme are the fonts.  I wasn&#8217;t thrilled with the default package of fonts, so I went in search of the typography settings.  Unfortunately they are buried in a bunch of different style sheets.  The good news is that they are commented quite nicely.  You&#8217;ll find the fonts in the default stylesheet.css file, along with all of the .css files in the styles folder in the theme.  Most of the stuff you&#8217;ll be looking for will be in the style_post.css and style_header.css <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Header</h2>
<p>The vSlider3 theme has a ton of header customizations available.  You can toggle the header border, enable the &#8220;rotating&#8221; header images and a bunch of other stuff.  However, by default the navigation links at the top are not in the rounded border.  I didn&#8217;t like the way this looked so I had to make a few tweaks.</p>
<p>In order to get the nav links in the right spot, you need to open up the header.php file as well as it&#8217;s supporting .css files.  I&#8217;d be happy to send my copies out of you need a sample to support your needs, <strike>they are fairly specific to this site so I didn&#8217;t upload them</strike>. 
<a  href="http://www.ryanbarr.com/wordpress/wp-content/uploads/2008/02/ryanbarrcom_headercss.zip" title="Header Files for ryanbarr.com" onclick="javascript:pageTracker._trackPageview('/downloads/wordpress/wp-content/uploads/2008/02/ryanbarrcom_headercss.zip');" >Click here to download the Header Files for ryanbarr.com.</a></p>
<p>These are very specific for my site, so please look through them and clean them up as you see fit.</p>
<p>If you want to include the rss link (as I did here on my site) make sure to copy the code out of the sidebar.php file to take advantage of the customizable icons.  It is pretty nice when tweaking the theme.</p>
<h2>Lightbox</h2>
<p>Enabling lightboxing was a little trickier.  The vSlider theme supports the lightbox script out of the box, WPG2 supports lightbox out of the box.  However, vSlider and WPG2 don&#8217;t use the same lightbox configurations.  If you download and install the lightbox plugin as recommended by the vSlider webpage, you&#8217;ll have a mess on your hands.</p>
<p>I&#8217;m sure this isn&#8217;t the <em>best<strong> </strong></em>way to fix it &#8211; but this is what I did! Enable lightboxing in the WPG2 plugin -&gt; lightbox configuration page.  Turn it on for everything!  Then, open up the file in theme.inc in your gallery vSlider3 theme. Do a search for $theme['lightbox_plugin_active'].  Delete whatever is on that line and replace it with $theme['lightbox_plugin_active']  = true;</p>
<h3>Handling multiple picture sizes in the lightbox&#8230;</h3>
<p>Now, if you are uploading big monster files, you&#8217;ll probably notice right away that the vSlider theme is picking up your <em>huge</em> version for the lightbox.  Here at ryanbarr.com I have gallery configured to create 3 versions of each file, a 640&#215;480, 800&#215;600 and 1024&#215;768 version, I&#8217;d like to show the 800&#215;600 version in the lightbox.</p>
<p>To accomplish this, you need to change two things.</p>
<p>In the theme.inc file you&#8217;ll need to add the following to the end of the loadWordpressOptions function, right after $theme['columnWidthPct'] = floor(100 / $params['columns']):</p>
<pre> /* Add resizedId to child values, required for Lightbox JS */
    if ( $theme['children'] ){
	foreach ( $theme['children'] as $key =&gt; $value ){
	if ( $value['id'] ){
	    list($ret,$resizedIds) =
    GalleryCoreApi::fetchResizesByItemIds(array($value['id']));
	    if ($ret)
	    return $ret;
	}
	$theme['children'][$key]['resizedId'] = $value['id'];
	if ( $resizedIds ){
	    /* Find the best resized option
	     *
	     * Use width/height max=800; */
	    $lboxMaxEdge = 800;
	    $resizedEdge = NULL;
	    $resizedId = NULL;
	    foreach ( $resizedIds[$value['id']] as $resize ){
	    $width = $resize-&gt;getWidth();
	    $height = $resize-&gt;getHeight();
	    $edge = ( $width &gt; $height )? $width : $height;
	    if ( $edge &lt;= $lboxMaxEdge ){
		if ( !isset($resizedEdge) ){
		$resizedId = $resize-&gt;getId();
		$resizedEdge = $edge;
		} else if ( $edge &gt; $resizedEdge ){
		$resizedId = $resize-&gt;getId();
		$resizedEdge = $edge;
		}
	    }
	    }
	    $theme['children'][$key]['resizedId'] = $resizedId;
	}
	}
    }
/* end add resizedId to child values, required for Lightbox JS */</pre>
<p>Then, make a copy of the album.tpl file (located in gallery/themes/vSlider3/templates) and put in in gallery/themes/vSlider3/templates/local.</p>
<p>In that file, change <em>href=&#8221;{g-&gt;url arg1=&#8221;view=core.DownloadItem&#8221; arg2=&#8221;itemId=`$child.id`&#8221;}&#8221;</em> on line 46 to <em>href=&#8221;{g-&gt;url arg1=&#8221;view=core.DownloadItem&#8221; arg2=&#8221;itemId=`$child.resizedId`&#8221;}&#8221;</em></p>
<p>That should fix your the lightbox issues.  If you&#8217;d like a size other than 800&#215;600 as your lightboxed image, just change this <em>$lboxMaxEdge = 800; </em>to the right size in theme.inc.</p>
<p>Be careful when upgrading the vSlider3 theme!  The theme.inc file has been changed, and your &#8220;local&#8221; copy of album.tpl will override the new copy that you download.</p>
<p><em>Another note&#8230;.<strong> </strong></em>somehow, my theme.inc had extra lines at the end of it.  If yours does &#8211; <strong>delete them</strong>. They will only cause problems</p>
<h3>More lightbox stuff</h3>
<p>If you want to put a ton of pictures in a single post, but not show them all&#8230; You&#8217;ll need to do just a bit more work.</p>
<p>Add this to your stylesheet.css file:</p>
<pre>.hidden_lightbox_image {
     display: none;
}</pre>
<p>Then add hidden_lightbox_image as a custom class on the WPG2 -&gt; G2Image options page.</p>
<p>Then&#8230; when you want to put all of those photos into a post do the following</p>
<ul>
<li>For the item that you want to show on the page.  Click the G2Image button in your editor, pick the photo, chose your style (Normal, Left, Right etc&#8230;) and insert it.</li>
<li>Then, for all of the rest of the photos&#8230; Somewhere in the post (at the end is probably best) select all of those photos from the G2Image chooser and set the style to hidden_lightbox_image.</li>
</ul>
<p>I pulled this from the old Gallery Forums at 
<a  href="http://www.galleryembedded.com/forums/viewtopic.php?p=38666" title="Lightbox Forum Entry" onclick="javascript:pageTracker._trackPageview('/external/www.galleryembedded.com/forums/viewtopic.php');" >this link</a>.</p>
<h2>Sidebar</h2>
<p>I didn&#8217;t like the way that the theme setup the default sidebar.  You can choose to either &#8220;disable&#8221; the default sidebar through the theme options, or go in and hack the php.  I chose the php route as I liked a few of the things the vSlider3 theme did out of the box.</p>
<p>This one is really straight forward, so I&#8217;m not going to go into depth here.  It was a case of delete this, keep that, move the other thing.  Nothing big here, but plenty of tweaking happened.  Again &#8211; <em>upgrades beware!</em></p>
<h2> Plug-ins&#8230;</h2>
<p>Well, now that that theme is tweaked and I like what I see it&#8217;s time to deal with my stockquote stuff.  In my next article on My Journey to WordPress I&#8217;ll talk about plug-ins.  Developing a plugin, tweaking an existing one to make it a <em>widget</em> and a few of the fun tools I&#8217;m using on ryanbarr.com</p>
<p>Stay tuned!</p>
<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-4' addthis:title='My Journey to WordPress &#8211; Part 4' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-4/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>My Journey to WordPress &#8211; Part 3</title>
		<link>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-3</link>
		<comments>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-3#comments</comments>
		<pubDate>Wed, 02 Jan 2008 02:56:54 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[textpattern]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-3</guid>
		<description><![CDATA[Sections&#8230; I loved sections! Textpattern has it right using sections. For those of you that are wordpress junkies, let me explain&#8230; In textpattern, a section is almost like it&#8217;s own little site within your site. When done right, sections in textpattern allow you to separate and manage all of the different content areas in the [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-3' addthis:title='My Journey to WordPress &#8211; Part 3' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><h2>Sections&#8230;</h2>
<p>I loved sections!  Textpattern has it right using sections.  For those of you that are wordpress junkies, let me explain&#8230; In textpattern, a section is almost like it&#8217;s own little site within your site.  When done right, sections in textpattern allow you to separate and manage all of the different content areas in the website.  Each section, is assigned a stylesheet and template.  You can of course use one set of css and templates for all sections, but you don&#8217;t have to.</p>
<p>All of the posts to the CMS are assigned to sections.  So, in my old textpattern install &#8211; I would have posted this into the articles section.  The post would also get the textpattern and website categories.  The cool thing with sections &#8211; you can separate your content &#8211; truly separate it.</p>
<p>For ryanbarr.com I had a few sections in my textpattern install.  I won&#8217;t go through each of them but I&#8217;ll talk about three of them, and why I miss them dearly&#8230;</p>
<ol>
<li>Articles</li>
<li>Trading</li>
<li>Pictures</li>
</ol>
<p>In my <em>articles </em>section, Megan and I put all of the &#8220;standard&#8221; fair content.  Stuff about the family, any random thoughts etc&#8230; This was the area of the site that folks who know us and are interested in what we are doing could come to. On the navigation, we had a link to the <em>Barr Family Blog </em>and this was really just a link into the <em>articles</em> section.</p>
<p>The <em>articles </em>section of the site was setup without all of Ryan&#8217;s stock information.  When a visitor clicked into the section homepage, the page was rendered using our standard theme, just without the business stuff.  The same thing would happen when a visitor clicked into a posting in the section.  However, the <em>list</em> of postings was also limited to the <em>articles</em> section!  That means that folks interested in the family, but who don&#8217;t care about options aren&#8217;t stuck seeing all the posts I have about options etc&#8230;</p>
<p>The <em>trading</em> section was just the opposite. It was really my business, investing, options, iron condor playground.  I put the papermoney trades in here, all of my random market commentary, and everything else to do with business in the trading section.  Posts in here had the addition of stock quotes on the page, and targeted ads.  it was pretty nice.  I didn&#8217;t place ads or stock quotes in the <em>articles</em> section because they didn&#8217;t really fit.</p>
<p><em>Pictures</em>, well it was just that pictures!</p>
<p>Certain sections were allowed to show on the homepage, and then once in the <em>section</em> you were really in a specific part of a total website.  Quite nice really.</p>
<p><em>WordPress does not do this</em> <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />   Or at least I haven&#8217;t yet figured out how to make wordpress do this without a ton of php hacking.</p>
<h2>Making it work&#8230;</h2>
<p>Since I decided to move to wordpress I had to make this work.  In wordpress you have pages (static content), categories (posts), and tags (pages and posts) &#8211; alas, no sections.</p>
<p>Currently, ryanbarr.com is divided between really two, possibly three major topic areas.  The <em>family</em> area, the <em>business</em> area and the <em>pictures</em> area. Taking pictures out to there own part of the site was a snap using the Gallery and wordpress setup that I have running here.  Part one solved.</p>
<p>Breaking out family and business just didn&#8217;t seem possible.  So for the site we&#8217;ve taken a little different approach. Rather than using a ton of categories as most blogs tend to do, ryanbarr.com will only have a few categories, and we will make judicious use of tags.  Thankfully, wordpress now has native support for tags so that should help out a bit. A few pieces have been broken out into pages, that will also help as well.</p>
<p>The one thing with this setup that I&#8217;m not too happy about is the fact that wordpress doesn&#8217;t really support viewing posts by category.  You have the archive pages, which I am using, but once in an article, the segregation goes away.</p>
<p>I&#8217;ve also lost the ability to really support the &#8220;two&#8221; major rss feeds I used to send.  With the new setup, I can do rss feeds by category, author, tag etc.. however, I haven&#8217;t figured out how to send an rss feed for a <em>group</em> of categories.  If I could set this up, that would be perfect.  Until then, we&#8217;ve decided to just use the main rss feed only.  It will muddle the content a little bit, but it&#8217;s not horrible.</p>
<p>I&#8217;m still looking for a way to fix this, so if you know of something &#8211; post a comment please!</p>
<h2>Importing Data</h2>
<p>Now that Meg and I have decided on an organizational strategy, it&#8217;s time to bulk load some testing data so that I can make sure everything is working correctly.  Off to Manage -&gt; Import&#8230;</p>
<p>First things first, the textpattern import into wordpress is broken.  It doesn&#8217;t take categories in correctly.  And <em>please<strong> </strong></em>make sure that you change the name of your admin user before you do this import.   Here are the things to watch out for&#8230;</p>
<ol>
<li>Categories do <strong>not</strong> import correctly.  They show up in the list without any problem, but the association of post -&gt; category somehow gets lost in the shuffle.</li>
<li>When you import users, their password is reset.  Make sure you rename the admin account in either textpattern or wordpress before running the import script.  <em>If you don&#8217;t you will be kicked out of the import and have to do a password reset&#8230; it is a pain.</em></li>
<li>Posts (articles) are imported in <em>plain text</em>, ie: textile.  If you don&#8217;t want to use textile in wordpress, this is a problem.  You will lose all of your formatting.</li>
<li>WordPress doesn&#8217;t have sections, sections do not get imported.  If you&#8217;ve used sections in textpattern they will be lost <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
</ol>
<p>To fix a couple of these annoying problems, I hacked my textpattern.php import file.  I&#8217;ll post a copy of it on this post, just note that it doesn&#8217;t work perfectly &#8211; <em>it was a hack for my use and I don&#8217;t plan to support it.  Please use at your own risk. </em>This script met my needs so I left it alone after that. Here are the things that I fixed/added.</p>
<ol>
<li>Added a Section import into the Categories import part of the script</li>
<li>Added a button to <em>skip</em> the user import, you can still import users if you want</li>
<li>Changed all of the posts to import the Body_html and Excerpt_html, that fixes the annoying little plain text thing</li>
<li>Made the section a category for the post</li>
</ol>
<p>The only thing that I can see that still doesn&#8217;t work is the normal category assignment.  I looked at it, the code appeared to be correct, but still no dice.  Since I decided to get rid of my textpattern categories and redo things with tags, this was okay with me and I didn&#8217;t bother to fix it.</p>
<h2>I&#8217;ve got data!</h2>
<p>So now I&#8217;ve got data! Everything in the development instance is running pretty well.  I had to run the data import script a few times to get everything fixed, but after a bit of debugging we are good to go.</p>
<p>Now that I&#8217;ve got data&#8230; oh man, the site still needs work.</p>
<p>The vSlider3 theme is pretty cool, but it has a few goofy things that I wasn&#8217;t happy with.  In the next post I&#8217;ll run through the things that I tweaked in the vSlider theme to adjust the way that Gallery 2 works, as well as some of the things in wordpress.</p>
<p>Oh yeah, here is the import script (from wordpress 2.3.1):  
<a  href="http://www.ryanbarr.com/wordpress/wp-content/uploads/2008/01/textpattern-import-script.zip" title="My textpattern import script" onclick="javascript:pageTracker._trackPageview('/downloads/wordpress/wp-content/uploads/2008/01/textpattern-import-script.zip');" >download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-3/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My Journey to WordPress &#8211; Part 2</title>
		<link>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-2</link>
		<comments>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-2#comments</comments>
		<pubDate>Mon, 31 Dec 2007 22:30:22 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[textpattern]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wpg2]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-2</guid>
		<description><![CDATA[For part two of &#8220;My Journey to WordPress&#8221; I&#8217;m going to talk about setup and configuration. I mentioned that my host does a simplified installation of both wordpress and gallery. It made the first part of this really, really easy. I literally, log into my administration web-panel, then click install. After about 5-10 minutes I [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-2' addthis:title='My Journey to WordPress &#8211; Part 2' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>For part two of &#8220;My Journey to WordPress&#8221; I&#8217;m going to talk about setup and configuration.  I mentioned that my host does a simplified installation of both wordpress and gallery.  It made the first part of this really, really easy.   I literally, log into my administration web-panel, then click install.</p>
<p>After about 5-10 minutes I had emails in my inbox letting me know that the software was up and running.  <em>Excellent!</em> I logged into wordpress, and it was setup in no time flat, gallery was a little more cumbersome, but  still quite simple to setup really.</p>
<p>With the gallery setup, a few of the plugins needed additional configuration so they didn&#8217;t work right out of the box.  But that was no big deal.  Now that gallery and wordpress were both <em>independently</em> working, it was time to hook them together and then pass off the site.</p>
<p>To install the WPG2 plugin, just download, unzip, ftp/ssh/sftp/whatever the files over to your wordpress plugins directory.  After installing, enable the plugin then head over the to the WPG2 tab in the admin interface.</p>
<p>General configuration of the WPG2 was pretty straight forward.  The URL rewrites section gave me a little bit of trouble, so make sure to enable and disable it in Gallery <em>first</em>.  Then try it in WPG2.  You&#8217;ll also need to download two additional Gallery plugins per the WPG2 docs.  That process was very straightforward in the Gallery admin panel, click on plugins then the second tab <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , download, activate, enjoy.</p>
<p>Now the trouble begins&#8230;</p>
<p>I had this great setup all ready to go, Gallery 2 integrated with wordpress!  It was perfect. I clicked on the WPG2 page and saw this horrible theme that didn&#8217;t fit into wordpress at all!  <em>Uh-oh</em></p>
<p>I figured that I must have missed something.  Being the a developer type, and a guy, I didn&#8217;t bother to read the instructions,  I just stared clicking and watching the error messages.  So I figured, what the heck, let&#8217;s see what the docs have to say.   A quick google for WPG2 takes me to the old plugin homepage, put luckily there was a link to the &#8220;new&#8221; 
<a  href="http://codex.gallery2.org/Integration:WPG2_QuickStart" target="_blank" title="WPG2 Plugin Homepage" onclick="javascript:pageTracker._trackPageview('/external/codex.gallery2.org/Integration:WPG2_QuickStart');" >homepage </a>via wordpress.org.  On the homepage I see a quickstart guide &#8211; <em>perfect!</em> Or not&#8230;</p>
<p>The quickstart said to to exactly what I did! I&#8217;ve got wordpress and gallery integrated, heck I can even use the snazzy gallery picker while writing my articles&#8230; but the page looks horrible!</p>
<p>I figure that it must be a theme thing or something, so now it is time to go and figure that one out.  Back to google.  I did a quick search for &#8220;wpg2 wordpress theme&#8221; and came up with a few interesting hits.</p>
<ul>
<li>The first a site with a bunch of modified wordpress themes that are &#8220;optimized&#8221; for gallery&#8230; I have no idea what that means, it wasn&#8217;t in the quickstart&#8230; I didn&#8217;t realize you needed to <em>optimize</em> for this integration&#8230;  Bookmark it, comeback later.</li>
<li>Next, that old help forum&#8230; it rules in the google search so be careful!  Just a bunch of php nonsense.  I don&#8217;t know php &#8211; and I don&#8217;t want to know it!  That is what I loved about textpattern&#8230; <em>wordpress is beginning to piss me off</em>.</li>
<li>Next, another site from the old forum&#8230; Didn&#8217;t they move all of this stuff?!!? <em>Wait!! Something that might be useful!<br />
</em></li>
</ul>
<blockquote><p><span style="text-decoration: underline">Before you begin</span></p>
<ul>
<li><span class="postbody">  &#8211; if you need to modify the header.php file of the WordPress theme to suite your needs, try to do this before proceeding<br />
- it&#8217;s recommended that you use a Gallery2 theme which is optimized for WordPress integration, like the 
<a  href="http://www.galleryembedded.com/forums/viewtopic.php?t=2636" title="Wordpress Embedded" target="_blank" class="postlink" onclick="javascript:pageTracker._trackPageview('/external/www.galleryembedded.com/forums/viewtopic.php');" >WordPressEmbedded Gallery2 Theme</a> for Gallery 2.1 or the 
<a  href="http://www.galleryembedded.com/forums/viewtopic.php?t=625" title="Wordpress Gallery2 Theme" target="_blank" class="postlink" onclick="javascript:pageTracker._trackPageview('/external/www.galleryembedded.com/forums/viewtopic.php');" >WordPress Gallery2 Theme</a> for Gallery 2.0.x. </span></li>
</ul>
</blockquote>
<p><strong>Aha! </strong>There is some sort of wordpress embdeded Gallery 2 theme.  That makes sense&#8230; Since I&#8217;m using a version of Gallery 2 that is above 2.1 that might just be the ticket.  <em>Download, install.</em></p>
<p>Okay, so now gallery has a new theme.  It&#8217;s pretty boring, but what the heck, I haven&#8217;t seen it in wordpress yet.  That site at the Gallery 2 old forum mentioned something about the header.php file&#8230; Whatever, lets see what we get <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em>Not good&#8230;</em> Okay, so it&#8217;s not totally plug and play.  This is becoming painfully obvious.   And what happened to the quick start, <em>this isn&#8217;t feeling so quick now</em>!</p>
<p><strong>Stop!  </strong>I&#8217;m working on my friends site&#8230; this isn&#8217;t going to work.  The site looks like crap, I&#8217;m hacking a live version and this just isn&#8217;t good&#8230; <em>Detour</em>.  Reset my development instance of ryanbarr.com.  Install of the the files from my host, re-configure and walk through the steps I&#8217;ve taken so far&#8230; <em>a while later&#8230;</em> <strong>Resume</strong>, on my development instance of my personal site.</p>
<blockquote><p><em>Now you see how I got roped into this whole mess&#8230; Since I&#8217;m already working on it to figure it all out&#8230; </em></p></blockquote>
<p>Next step, lets try hooking into the &#8220;bookmarked&#8221; link I found earlier.  I download a few of the &#8220;optimized&#8221; themes, activate and suddenly all is well in the world. The blog, and the gallery are working perfectly <em>together</em> &#8211; but why?  I realize that I have no idea why this is suddenly working, the <em>quick start</em> guide wasn&#8217;t so quick and now I&#8217;m lost.  Okay, time to read some more.</p>
<p>Back to the 
<a  href="http://codex.gallery2.org/Integration:WPG2" target="_blank" title="Gallery 2 Integration" onclick="javascript:pageTracker._trackPageview('/external/codex.gallery2.org/Integration:WPG2');" >official homepage of the plugin</a>. Under <em>WPG2 Operations</em> I finally find a few pieces of what I&#8217;m looking for.  But it is sparse to and sort of fragmented.  Again, no mention of this elusive Gallery 2 theme I found while googling, the only thing close was a page that was &#8220;under construction,&#8221; it linked back to the place I found my Galley 2 theme&#8230; So I guess if you look hard enough it is there, not <em>not</em> obvious.</p>
<p>Well, At this point I&#8217;m still a little lost, and don&#8217;t really have any desire to learn php <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (I do happen to know about 13 other programming/scripting languages, so i guess another one can&#8217;t hurt).  What I really want it a customizable theme that doesn&#8217;t require me to re-do all of the work I just did in textpattern!</p>
<p><em>The support forums&#8230;</em> Lets see, click, click, click, there we go&#8230; Found them! The support forums are 
<a  href="http://gallery.menalto.com/forum/81" title="Gallery 2 Plugin Support Forum" target="_blank" onclick="javascript:pageTracker._trackPageview('/external/gallery.menalto.com/forum/81');" >located here</a>.  There are three options, if your looking for help with themes etc&#8230; go to 
<a  href="http://gallery.menalto.com/forum/84" title="Themes etc..." target="_blank" onclick="javascript:pageTracker._trackPageview('/external/gallery.menalto.com/forum/84');" >WPG2 CSS/Layout Support</a>.  Don&#8217;t bother with the other areas, they will help if you have other integration issues <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The forums are excellent!  The guys that work the plugins seem to have answered all of the questions quickly and I was able to find what I needed&#8230; My theme 
<a  href="http://irui.ac/cool-stuff/vslider3/" title="vSlider3" onclick="javascript:pageTracker._trackPageview('/external/irui.ac/cool-stuff/vslider3/');" >vSlider3</a> this particular theme seemed to have it all.  Customization, integration into gallery, options, configuration, no php required! <em>Download, install!</em></p>
<p><em>Why didn&#8217;t I start at the support forums&#8230;</em> Oh yeah, they are buried in the google results!  That will work itself out with time&#8230;</p>
<p>Now I&#8217;ve installed vSlider3 and have a working site!  Excellent!</p>
<p>Okay&#8230; now that this is all working, lets see about getting all of our content back into wordpress like it was in textpattern.  Off to the admin panel, manage -&gt; import -&gt; textpattern -&gt; <em><strong>oh crap</strong>.</em></p>
<p>In my next installment&#8230; Read about the joys of importing data from textpattern, and what I did about sections&#8230; <strong>What do you mean wordpress doesn&#8217;t have sections?!?!?!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Journey to WordPress &#8211; Part 1</title>
		<link>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-1</link>
		<comments>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-1#comments</comments>
		<pubDate>Sun, 30 Dec 2007 20:21:37 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[textpattern]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wpg2]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-1</guid>
		<description><![CDATA[Wow&#8230; I never thought I would do this, but I&#8217;ve dumped textpattern. It actually came about rather quickly and I&#8217;m quite happy after doing it. Just a few weeks ago, Megan and I began the process of re-vamping the website. She really wanted to start blogging some more, and well, I needed to stop slacking [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-1' addthis:title='My Journey to WordPress &#8211; Part 1' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>Wow&#8230;</p>
<p>I never thought I would do this, but I&#8217;ve dumped textpattern.  It actually came  about rather quickly and I&#8217;m quite happy after doing it.   Just a few weeks ago, Megan and I began the process of re-vamping the website.  She really wanted to start blogging some more, and well, I needed to stop slacking off and start really blogging again.  We talked about the options and figured that a re-design of ryanbarr.com was the way to go.  It&#8217;s been quite a journey.  One that I&#8217;ll probably split over a few posts so that this one isn&#8217;t obscenely long!</p>
<p>Anyhow, here is the story&#8230; I started off by <em>completely </em>re-doing the site in textpattern.  I nabbed a pretty nice theme from 
<a  href="http://www.textplates.com" title="Textpattern Themes - Textplates.com" onclick="javascript:pageTracker._trackPageview('/external/www.textplates.com');" >textplates.com</a>, and then dove in. After working out with Megan how we should manage the whole site, we decided to move a ton of content around (which of course wreaked havoc on my  google placements) and totally reset the way a bunch of things were handled. I installed a ton of new textpattern plug-ins to try and make the administration a little more user friendly and even wrote a few myself to handle some stock quote functionality I was looking for.  After spending a few weekends working on it, we finally had it ready to go.</p>
<p>Then a good friend of mine asked me to help her setup a new website &#8211; 
<a  href="http://www.michellerenephotography.com" title="Michelle Rene Photography" onclick="javascript:pageTracker._trackPageview('/external/www.michellerenephotography.com');" >michellerenephotography.com</a>.</p>
<blockquote><p>My response: No problem! I&#8217;d be happy to help you out.  Lets get a domain setup, I&#8217;ve got a great host that you can work with etc&#8230;</p></blockquote>
<p>Then the kicker&#8230; &#8220;We&#8217;ll you know, it&#8217;s a photography site.   I&#8217;d really like to have some serious image management.  Really, I&#8217;d like it to be a gallery first, then a blog second.&#8221;</p>
<p><em>Serious image management?</em></p>
<p>I wasn&#8217;t quite sure how to approach it. I&#8217;ve been using textpattern for quite some time, and have built quite a few client sites using it. Textpattern is a great CMS, but <em>serious image management</em> is <strong>not </strong>it&#8217;s strong point.   So, like any good open source kinda guy I went in search of an existing project.  I happened to stumble upon a project called Gallery 2, and a wordpress plug-in called WPG2.  Interesting&#8230; a full image management studio with pre-existing integration into wordpress.  This could be worth a try.</p>
<p>The only hangup that I had was, well&#8230; I&#8217;d never used wordpress, and the last time I looked at it customization and theme&#8217;s were all handled through php hacks.  Not nearly as elegant a design as textpattern.</p>
<p>I was a little more than skeptical, but I figured what the heck.  It&#8217;s her site and  if I can get her started I&#8217;m sure she can finish it off.  So, after a bit more research, I was ready to install.  Given that 
<a  href="http://www.michellerenephotography.com" title="Michelle Rene Photography" onclick="javascript:pageTracker._trackPageview('/external/www.michellerenephotography.com');" >michellrenephotography.com</a> is a brand new site, I put the tools up and started hacking away.</p>
<p>My host does a cool quick install of both wordpress and gallery2 so we were off to the races quickly.  I got the two systems up and running, did a bit of quick configuration and then went about getting the plug-in working.  That is when I realized that there was no way on earth she was going to get this all figured out without some serious help.  Permissions, themes, configuration, ssh, linux and a ton of other things that are way to <em>geeky</em> for her to understand.  Well, I figured I&#8217;d better dig in&#8230;</p>
<p>As I worked on getting things working, I found that wordpress had evolved quite a bit since the last time I took a look.  Quite frankly, I was  downright impressed with it!  I&#8217;ll walk through my challenges and learning through this hole process over the next few posts&#8230;</p>
<p>Stay tuned to hear about the configuration and setup of the WPG2 plug-in.  The core of the blog/gallery setup that runs ryanbarr.com <img src='http://www.ryanbarr.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/my-journey-to-wordpress-part-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inline Stock Quote Plugin</title>
		<link>http://www.ryanbarr.com/webdevelopment/inline-stock-quote-plugin</link>
		<comments>http://www.ryanbarr.com/webdevelopment/inline-stock-quote-plugin#comments</comments>
		<pubDate>Sat, 29 Dec 2007 09:08:21 +0000</pubDate>
		<dc:creator>Ryan Barr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ryanbarr.com/wordpress/inline-stock-quote-plugin</guid>
		<description><![CDATA[Add In-line Stock Quote Data to your Posts. Based on the StockQuoteTT Plug-in by Andrew Hill. I took the framework that Andrew Hill put together and instead of setting up stock quote tool tips, which were driving me nuts based upon my sites design, I pulled in the current data from yahoo.com and placed it [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.ryanbarr.com/webdevelopment/inline-stock-quote-plugin' addthis:title='Inline Stock Quote Plugin' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p></p><p>Add In-line Stock Quote Data to your Posts.  Based on the 
<a  href="http://andy.hillhome.org/blog/code/sqtt" title="StockQuoteTT" onclick="javascript:pageTracker._trackPageview('/external/andy.hillhome.org/blog/code/sqtt');" >StockQuoteTT Plug-in by Andrew Hill</a>.  I took the framework that Andrew Hill put together and instead of setting up stock quote tool tips, which were driving me nuts based upon my sites design, I pulled in the current data from yahoo.com and placed it in-line.</p>
<p>This is my first WordPress plug-in, so I welcome any commentary on improvements etc&#8230;</p>
<ul>
<li>Version: 0.2</li>
<li>Tested on WordPress versions: 2.3.1, 2.3.2</li>
</ul>
<h2>Usage</h2>
<p>To use the plug-in, simply extract the files from the zip and drop it into your plug-ins folder.  There is a sample .css file included that you can place into your style-sheet for customization.</p>
<p>After you extract the files and activate the plug-in, it would be best to sneak over to the &#8216;Options&#8217; section and configure the plug-in.   From there, you should be good to go.  The plug-in acts as a content filter so you don&#8217;t really need to do anything else.</p>
<p>Enjoy!</p>
<h2>Change Log</h2>
<ul>
<li>0.1  &#8211; Initial Release</li>
<li>0.2 &#8211; Enhancements for page load speed and protection against timeout
<ul>
<li>Added support for CURLOPT_CONNECTTIMEOUT parameter via the options control page.</li>
<li>Moved query to global function and usage of global variables to reduce the number of queries made to the yahoo engine and speed up page load time.</li>
</ul>
</li>
</ul>
<h2>Download</h2>
<p>Version 0.1 &#8211; 
<a  href="http://www.ryanbarr.com/wordpress/wp-content/uploads/2007/12/inlinequote.zip" title="Inline Stock Quote Plugin Version 0.2" onclick="javascript:pageTracker._trackPageview('/downloads/wordpress/wp-content/uploads/2007/12/inlinequote.zip');" >Inline Stock Quote Plugin Version 0.2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryanbarr.com/webdevelopment/inline-stock-quote-plugin/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

