<?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>zieak.com &#187; Scripts</title>
	<atom:link href="http://www.zieak.com/category/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zieak.com</link>
	<description>Ryan McFarland&#039;s website</description>
	<lastBuildDate>Mon, 08 Mar 2010 23:50:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to de-epic-ify the internet</title>
		<link>http://www.zieak.com/2009/11/23/how-to-de-epic-ify-the-internet/</link>
		<comments>http://www.zieak.com/2009/11/23/how-to-de-epic-ify-the-internet/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 22:04:04 +0000</pubDate>
		<dc:creator>Ryan McFarland</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.zieak.com/?p=3710</guid>
		<description><![CDATA[I&#8217;m a dork.  I hate when some words are overused.  Right now i feel like the most overused word on the internet is &#8220;epic.&#8221;  I also dislike when people use the word &#8220;hubby&#8221; instead of &#8220;husband.&#8221;  I imagine you might have your own pet peeves.  Maybe you wish people would write &#8220;haha&#8221; instead of &#8220;lol&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a dork.  I hate when some words are overused.  Right now i feel like the most overused word on the internet is &#8220;epic.&#8221;  I also dislike when people use the word &#8220;hubby&#8221; instead of &#8220;husband.&#8221;  I imagine you might have your own pet peeves.  Maybe you wish people would write &#8220;haha&#8221; instead of &#8220;lol&#8221; or something else.  Well, there is an easily cusomized Greasemonkey script that will do that for you.</p>
<p>Here is a headline from Yahoo&#8217;s homepage today:</p>
<div class="mceTemp">
<dl id="attachment_3711" class="wp-caption alignnone" style="width: 412px;">
<dt class="wp-caption-dt"><a href="http://www.zieak.com/wp-content/uploads/2009/11/20091123114622.png"><img class="size-full wp-image-3711" title="20091123114622" src="http://www.zieak.com/wp-content/uploads/2009/11/20091123114622.png" alt="epic trek" width="402" height="268" /></a></dt>
</dl>
</div>
<p>Yes, their trek may have been epic &#8211; but just like the TV show Alias used &#8220;insane&#8221; in almost every single episode (and 24 seems to come quite close) i feel the need to thin it down.  Here it is after i installed and customized the <a href="http://userscripts.org/scripts/show/41369">Replace Text On Webpages</a> script.</p>
<div class="mceTemp">
<dl id="attachment_3714" class="wp-caption alignnone" style="width: 415px;">
<dt class="wp-caption-dt"><a href="http://www.zieak.com/wp-content/uploads/2009/11/20091123120538.png"><img class="size-full wp-image-3714" title="20091123120538" src="http://www.zieak.com/wp-content/uploads/2009/11/20091123120538.png" alt="trek" width="405" height="265" /></a></dt>
</dl>
</div>
<p>Ahhhh&#8230; much better!  I was only concerned that it might change words that have &#8220;epic&#8221; in the middle such as &#8220;depict&#8221; but a check on the very neat <a href="http://www.morewords.com/contains/epic/">morewords.com</a> list for epic has a blank line where the words should be and all the other words that contain it are unchanged.</p>
<p>By changing the end of the url of the morewords link you can find all kinds of neat stuff.  Like <a href="http://www.morewords.com/contains/fun/">words that contain fun</a>.  Which gives birth to sentences like &#8220;i put the fun in antifungal&#8221; or &#8220;he puts the rape in cameraperson&#8221; &#8211; you get the picture.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zieak.com/2009/11/23/how-to-de-epic-ify-the-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applications are the bane of Facebook</title>
		<link>http://www.zieak.com/2009/11/17/applications-are-the-bane-of-facebook/</link>
		<comments>http://www.zieak.com/2009/11/17/applications-are-the-bane-of-facebook/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 04:37:34 +0000</pubDate>
		<dc:creator>Ryan McFarland</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.zieak.com/?p=3691</guid>
		<description><![CDATA[I have pretty much left Myspace because it became an ugly glitter-graphic factory.  I&#8217;m interested in social websites to keep up with friends &#8211; not to have a ugly St. Patrick&#8217;s Day graphic splashed on my page.  The way that people would set their backgrounds and add images, slideshows, blast music&#8230; I just [...]]]></description>
			<content:encoded><![CDATA[<p>I have pretty much left Myspace because it became an ugly glitter-graphic factory.  I&#8217;m interested in social websites to keep up with friends &#8211; not to have a ugly St. Patrick&#8217;s Day graphic splashed on my page.  The way that people would set their backgrounds and add images, slideshows, blast music&#8230; I just didn&#8217;t like it.</p>
<p>I liked Facebook&#8217;s approach &#8211; you got a feed of your friend&#8217;s new status, uploaded photos&#8230; simple and elegant.  And then all sorts of applications started clogging my feed.  I started using the &#8220;hide&#8221; feature to block them.  Some manage to give me notifications too.  Ooohhh&#8230; how exciting.  I got to wondering how many applications i had blocked from my friend feed.  Here&#8217;s how to find out&#8230;</p>
<p>1. Log into your Facebook page<br />
2. On the left side of the home page click on &#8220;more&#8221; below the &#8220;News Feed&#8221; list.<br />
3. Click on the name of one of the applications in the list.<br />
4. Click on &#8220;edit options.&#8221;<br />
5. Select &#8220;Applications.&#8221;<br />
6. Use your mouse to highlight all of the applications in the list.<br />
7. Copy the selection with a keyboard shortcut or right click for the menu.<br />
8. Open up Word or another robust text editor.<br />
9. Paste the selection in.  This may take a while.  Mine made 137 pages!<br />
10. Use the &#8220;replace&#8221; tool to replace the words &#8220;add to news feed&#8221; with something like &#8220;holy cow!&#8221;<br />
11. When the tool finishes it should tell you how many instances were replaced&#8230;</p>
<p><a href="http://www.zieak.com/wp-content/uploads/2009/11/20091117143621.png"><img class="alignnone size-full wp-image-3692" title="20091117143621" src="http://www.zieak.com/wp-content/uploads/2009/11/20091117143621.png" alt="20091117143621" width="479" height="118" /></a></p>
<p>12. Find a Greasemonkey script to take care of all the work for me&#8230; <a href="http://steeev.freehostia.com/wp/2009/03/19/facebook_purity_cleans_up_the_facebook_homepage/">Here!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zieak.com/2009/11/17/applications-are-the-bane-of-facebook/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hosting a proxy on your website</title>
		<link>http://www.zieak.com/2009/11/11/hosting-a-proxy-on-your-website/</link>
		<comments>http://www.zieak.com/2009/11/11/hosting-a-proxy-on-your-website/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 10:57:56 +0000</pubDate>
		<dc:creator>Ryan McFarland</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.zieak.com/?p=3683</guid>
		<description><![CDATA[I don&#8217;t want to say too much and get banned in anihC (that&#8217;s backwards) but it is SUPER easy to get around government, corporate or school filters that prevent visiting websites with banned material.  
Pepper can&#8217;t access any Blogger sites, nor Wikipedia, CNN, Facebook&#8230; While i was over there i set up an account [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t want to say too much and get banned in anihC (that&#8217;s backwards) but it is SUPER easy to get around government, corporate or school filters that prevent visiting websites with banned material.  </p>
<p><a href="http://www.pepperismyrealname.com" >Pepper</a> can&#8217;t access any Blogger sites, nor Wikipedia, CNN, Facebook&#8230; While i was over there i set up an account on my web host, installed software on my netbook, changed settings in Firefox&#8230; It took me an hour to get all set up and learn it and then i spent two hours trying to get her Mac set to do the same.  </p>
<p>This time around i did the right search. (Which is easier when most of the good results are not blocked!)  I found <a href="http://www.glype.com/">this script</a> called Glype.  It is free.  Just download it, extract the files, make a directory on your website (maybe called &#8220;proxy&#8221; &#8211; hint, HINT!) and upload the contents of the &#8220;upload&#8221; folder from the extracted files.  After finding the php script while in bed on my netbook, i dashed down to my desk, downloaded, extracted, uploaded and tested the service in under 5 minutes.</p>
<p>I should set them up on other sites i host&#8230;</p>
<p>(In order to get Facebook to allow a login i had to use lite.facebook.com)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zieak.com/2009/11/11/hosting-a-proxy-on-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Wordpress to add items to Google Shopping</title>
		<link>http://www.zieak.com/2009/10/26/using-wordpress-to-add-items-to-google-shopping/</link>
		<comments>http://www.zieak.com/2009/10/26/using-wordpress-to-add-items-to-google-shopping/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 02:51:45 +0000</pubDate>
		<dc:creator>Ryan McFarland</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[wordpress google shopping merchant feed rss]]></category>

		<guid isPermaLink="false">http://www.zieak.com/?p=3555</guid>
		<description><![CDATA[Here is how I managed to add blog posts of a certain tag or category to a feed that is then added to Google&#8217;s Merchant (Shopping) service.  See my items here.

Add the Feed Wrangler plugin to your Wordpress installation.
Activate the plugin and add a feed called &#8220;itemsforsale&#8221;
Go to http://www.yourblognamehere.com/?feed=itemsforsale It should be a blank document [...]]]></description>
			<content:encoded><![CDATA[<p>Here is how I managed to add blog posts of a certain tag or category to a feed that is then added to Google&#8217;s Merchant (Shopping) service.  See <a href="http://www.google.com/products?q=b1va-8212&amp;oe=utf-8&amp;hl=en&amp;authorid=6249015&amp;cdn=Zieak+enterprises&amp;lnk=storesugg">my items here</a>.</p>
<ol>
<li>Add the <a href="http://www.ephramzerb.com/projects/feed-wrangler">Feed Wrangler</a> plugin to your Wordpress installation.</li>
<li>Activate the plugin and add a feed called &#8220;itemsforsale&#8221;</li>
<li>Go to <strong>http://www.yourblognamehere.com/?feed=itemsforsale</strong> It should be a blank document &#8211; not missing, just blank.  You may need to edit an old blog post and resave it to update the cache.</li>
<li>Save <a href="http://www.zieak.com/scripts/feed-itemsforsale.txt">this file</a> to your computer but change the file from .txt to .php and open it for editing.</li>
<li>If you want to use a tag or category other than &#8220;itemsforsale&#8221; on your blog posts change that on line 35.<br />
<img class="alignnone size-full wp-image-3558" title="20091026153731" src="http://www.zieak.com/wp-content/uploads/2009/10/20091026153731.png" alt="20091026153731" width="390" height="13" /></li>
<li>Among the last dozen or so lines of code (lines 52-56 below) are some of the specific attributes that Google uses.  Using the same format as those lines (image_link, price, condition, weight, and quantity) add any other attributes you may need to use from <a href="http://www.google.com/support/merchants/bin/answer.py?hl=en&amp;answer=160085">this list</a>.<br />
<img class="alignnone size-full wp-image-3557" title="20091026153220" src="http://www.zieak.com/wp-content/uploads/2009/10/20091026153220.png" alt="20091026153220" width="733" height="80" /></li>
<li>Use your FTP program to copy the file to your theme directory&#8230; /wp-content/themes/your_theme/</li>
<li>Make a test post in your blog.  Name your item and a brief description in the title.  Add more details in the post area.  Tag the post &#8220;itemsforsale&#8221; or whatever you set in step 5.  Then expand the &#8220;Custom Fields&#8221; section below your blog post editor.  Make custom fields for condition, price,  imagelink, etc.  Match the text you used after $key in step six above for the name of the custom field.  For this test item set values for the five attributes included in my template (except for weight they are all required by Google).  For future posts you do not need to recreate the custom field, just pick the field from the dropdown and enter the value.  Do only one item for now to make sure everything works.  Publish your item.<br />
<img class="alignnone size-full wp-image-3560" title="20091026154728" src="http://www.zieak.com/wp-content/uploads/2009/10/20091026154728.png" alt="20091026154728" width="541" height="225" /></li>
<li>Go to <strong>http://www.yourblognamehere.com/?feed=itemsforsale</strong> again.  This time your test post should show up.  Save the page to your computer and make sure it is saved as an .xml file.</li>
<li>Become a <a href="http://www.google.com/merchants/merchantdashboard">Google Merchant</a>.</li>
<li>Make a <a href="http://www.google.com/merchants/newfeed">new feed</a> in Google Merchant.  Data feed type is <strong>googlebase</strong>.  Data feed filename should be <strong>feed-itemsforsale.xml</strong>.  Save Changes.</li>
<li>Do a manual upload of your file that was saved in step 9 above.</li>
<li>Wait for a little while for the file to process.  After it has completed click on the data feed name to check for errors.</li>
<li>Be familiar with the <a href="http://www.google.com/support/merchants/bin/answer.py?answer=160074&amp;hl=en_US">Program Policies</a>.  They stipulate things like &#8220;All item pages must be able to accept electronic payments and process transactions securely online (SSL-protected).&#8221; You might want to consider setting up <a href="http://checkout.google.com/sell/">Google Checkout as a merchant</a>.</li>
<li>If you get it working please consider making a donation to me or at the very least a nice comment here!<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="9210502" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /><br />
</form>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.zieak.com/2009/10/26/using-wordpress-to-add-items-to-google-shopping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The aurora forecast</title>
		<link>http://www.zieak.com/2009/02/25/the-aurora-forecast/</link>
		<comments>http://www.zieak.com/2009/02/25/the-aurora-forecast/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 09:14:04 +0000</pubDate>
		<dc:creator>Ryan McFarland</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[alaska]]></category>
		<category><![CDATA[aurora]]></category>
		<category><![CDATA[northern lights]]></category>

		<guid isPermaLink="false">http://www.zieak.com/?p=2947</guid>
		<description><![CDATA[I need to face the facts.  I look at a computer screen more than i look at the sky.  Sometimes i wish i would remember to at least check the Aurora Forecast page at least daily just in case there is a good chance of a strong display.  But i don&#8217;t.  [...]]]></description>
			<content:encoded><![CDATA[<p>I need to face the facts.  I look at a computer screen more than i look at the sky.  Sometimes i wish i would remember to at least check the Aurora Forecast page at least daily just in case there is a good chance of a strong display.  But i don&#8217;t.  And believe it or not, they don&#8217;t have an rss feed to show the forecast on your newsreader. So i made one.</p>
<p>I used the <a href="http://feed43.com/">Feed43</a> service to scrape content from the site &#8211; the day, level and image of the forecast.  So if you have a newsreader and just want the rss feed <a href="http://feed43.com/aurora_forecast.xml">you can grab it here</a>.</p>
<p>I am not savvy enough to have my iGoogle page display the image with the feed so i used <a href="http://www.widgetbox.com/">Widgetbox</a> to make a widget and did some tweaking of the settings to get the image to load. </p>
<p><script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('ee3f7c83-edbb-43ef-8f35-316b4b51015b');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/the-geophysical-institute-auroral-forecast-page">The Geophysical Institute Auroral Forecast Page</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript></p>
<p>Just click on &#8220;Get Widget&#8221; at the bottom to easily add this bit of information to all kinds of sources.  </p>
<p>If there is interest I can easily make a widget that shows the forecast from a less Alaska-centric perspective.  This one covers North America nicely&#8230;</p>
<p><img src="http://www.gedds.alaska.edu/AuroraForecast/images/NorthAmerica_6.png" alt="Aurora forecast" /></p>
<p>In fact&#8230; that perspective is so nice I think i&#8217;ll whip it up right now&#8230;</p>
<p><script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script>if (WIDGETBOX) WIDGETBOX.renderWidget('e119ff93-aed2-4761-8147-0d115e020872');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/the-geophysical-institute-auroral-foreca-zieak">The Geophysical Institute Auroral Forecast Page</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript></p>
<p>And <a href="http://feed43.com/aurora_na.xml">here&#8217;s the rss feed</a> for that one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zieak.com/2009/02/25/the-aurora-forecast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add today&#8217;s date and holiday to Wordpress blogs</title>
		<link>http://www.zieak.com/2009/01/14/add-todays-date-and-holiday-to-wordpress-blogs/</link>
		<comments>http://www.zieak.com/2009/01/14/add-todays-date-and-holiday-to-wordpress-blogs/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 03:08:30 +0000</pubDate>
		<dc:creator>Ryan McFarland</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[holiday]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.zieak.com/?p=2701</guid>
		<description><![CDATA[Years ago i spent hours collecting odd holidays and putting them into a script that would display the date and the day&#8217;s holiday (serious and silly) on my site.  After years without it on my blog i decided to resurrect the script and add it to zieak.com once again.  It is surprisingly easy to do [...]]]></description>
			<content:encoded><![CDATA[<p><em>Years ago</em> i spent hours collecting odd holidays and putting them into a script that would display the date and the day&#8217;s holiday (serious and silly) on my site.  After years without it on my blog i decided to resurrect the script and add it to zieak.com once again.  It is surprisingly easy to do with Wordpress widgets.</p>
<ol>
<li>Log into the administration area of your blog at something like  www.myblogaddress.com/wp-admin/</li>
<li>On the left hand column part way down select <strong>&#8220;Widgets&#8221;</strong> under <strong>Appearance</strong>.<br />
<div id="attachment_2702" class="wp-caption aligncenter" style="width: 167px"><a href="http://www.zieak.com/wp-content/uploads/2009/01/20090114151210.png"><img class="size-full wp-image-2702" title="Widgets" src="http://www.zieak.com/wp-content/uploads/2009/01/20090114151210.png" alt="Select &quot;Widgets&quot;" width="157" height="125" /></a><p class="wp-caption-text">Select &quot;Widgets&quot;</p></div></li>
<li>In the center area of the Widget page click on <strong>&#8220;Add&#8221;</strong> next to <strong>Text</strong>.<br />
<div id="attachment_2703" class="wp-caption aligncenter" style="width: 486px"><a href="http://www.zieak.com/wp-content/uploads/2009/01/20090114151401.png"><img class="size-full wp-image-2703" title="Add text widget" src="http://www.zieak.com/wp-content/uploads/2009/01/20090114151401.png" alt="Add text widget" width="476" height="120" /></a><p class="wp-caption-text">Add text widget</p></div></li>
<li>On the right side of the screen a new blue bar should appear with the label <strong>&#8220;Text&#8221;</strong> at the bottom of the list of <strong>Current Widgets</strong>.<br />
<div id="attachment_2704" class="wp-caption aligncenter" style="width: 303px"><a href="http://www.zieak.com/wp-content/uploads/2009/01/20090114151629.png"><img class="size-full wp-image-2704" title="New text widget" src="http://www.zieak.com/wp-content/uploads/2009/01/20090114151629.png" alt="New text widget" width="293" height="106" /></a><p class="wp-caption-text">New text widget</p></div></li>
<li>Click on &#8220;Edit&#8221; and label the widget &#8220;Today is&#8230;&#8221; or something similar.<br />
<div id="attachment_2705" class="wp-caption aligncenter" style="width: 451px"><a href="http://www.zieak.com/wp-content/uploads/2009/01/20090114151956.png"><img class="size-full wp-image-2705" title="Name of the widget" src="http://www.zieak.com/wp-content/uploads/2009/01/20090114151956.png" alt="Name of the widget" width="441" height="132" /></a><p class="wp-caption-text">Name of the widget</p></div></li>
<li>Open my <a href="http://www.zieak.com/scripts/holidays.js">holiday script</a> and copy all of the text.  Then paste it into the next field.  Then click on <strong>&#8220;Done.&#8221;</strong><br />
<div id="attachment_2706" class="wp-caption aligncenter" style="width: 446px"><a href="http://www.zieak.com/wp-content/uploads/2009/01/20090114152314.png"><img class="size-full wp-image-2706" title="Paste holiday script into widget" src="http://www.zieak.com/wp-content/uploads/2009/01/20090114152314.png" alt="Paste holiday script into widget" width="436" height="460" /></a><p class="wp-caption-text">Paste holiday script into widget</p></div></li>
<li>Drag the blue bar to the spot you would like the widget to appear in the sidebar of your blog.<br />
<div id="attachment_2707" class="wp-caption aligncenter" style="width: 296px"><a href="http://www.zieak.com/wp-content/uploads/2009/01/20090114152449.png"><img class="size-full wp-image-2707" title="Drag the widget" src="http://www.zieak.com/wp-content/uploads/2009/01/20090114152449.png" alt="Drag the widget" width="286" height="158" /></a><p class="wp-caption-text">Drag the widget</p></div></li>
<li> Click on &#8220;Save Changes&#8221; at the bottom of the right column of widgets.<br />
<div id="attachment_2708" class="wp-caption aligncenter" style="width: 308px"><a href="http://www.zieak.com/wp-content/uploads/2009/01/20090114152724.png"><img class="size-full wp-image-2708" title="Save changes" src="http://www.zieak.com/wp-content/uploads/2009/01/20090114152724.png" alt="Save changes" width="298" height="133" /></a><p class="wp-caption-text">Save changes</p></div></li>
<li>Republish your blog and you should now have a widget that displays the current date and at least one holiday for the day.<br />
<div id="attachment_2710" class="wp-caption aligncenter" style="width: 240px"><a href="http://www.zieak.com/wp-content/uploads/2009/01/20090114164320.png"><img class="size-full wp-image-2710" title="Holiday and date displayed" src="http://www.zieak.com/wp-content/uploads/2009/01/20090114164320.png" alt="Holiday and date displayed" width="230" height="201" /></a><p class="wp-caption-text">Holiday and date displayed</p></div></li>
</ol>
<p>If you would like to have any holidays added to the script you can do it yourself by adding to the right line of the code (note that January is month zero so the rest are offset by one) or you can let me know and i&#8217;ll add it to the script for an updated version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zieak.com/2009/01/14/add-todays-date-and-holiday-to-wordpress-blogs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The re-modified myspace home page</title>
		<link>http://www.zieak.com/2007/03/20/the-re-modified-myspace-home-page/</link>
		<comments>http://www.zieak.com/2007/03/20/the-re-modified-myspace-home-page/#comments</comments>
		<pubDate>Wed, 21 Mar 2007 06:47:46 +0000</pubDate>
		<dc:creator>Ryan McFarland</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.zieak.com/2007/03/20/the-re-modified-myspace-home-page/</guid>
		<description><![CDATA[There is some new crap on the &#8220;home&#8221; page on myspace.  More &#8220;cool new videos&#8221; and featured filmmaker, comedy, music and books.  I don&#8217;t like any of that stuff.  So use Firefox, install Greasemonkey and this script.  Or if you have the script already installed just add these lines by clicking [...]]]></description>
			<content:encoded><![CDATA[<p>There is some new crap on the &#8220;home&#8221; page on myspace.  More &#8220;cool new videos&#8221; and featured filmmaker, comedy, music and books.  I don&#8217;t like any of that stuff.  So use <a href="http://www.spreadfirefox.com/?q=affiliates&#038;id=29303&#038;t=218">Firefox</a>, install <a href="http://greasemonkey.mozdev.org/">Greasemonkey</a> and <a href="http://userscripts.org/scripts/show/5034">this script</a>.  Or if you have the script already installed just add these lines by clicking on <strong>tools</strong>, <strong>greasemonkey</strong>, <strong>manage user scripts</strong>, <strong>A re modified user homepage</strong>, <strong>edit</strong> and then <strong>save</strong>.</p>
<p><code>var b = document.getElementById("home_coolNewVideos");<br />
if (b) {b.parentNode.removeChild(b);}</code></p>
<p>var b = document.getElementById(&#8220;home_featured_filmmaker&#8221;);<br />
if (b) {b.parentNode.removeChild(b);}</p>
<p>var b = document.getElementById(&#8220;home_featured_comedy&#8221;);<br />
if (b) {b.parentNode.removeChild(b);}</p>
<p>var b = document.getElementById(&#8220;home_featured_music&#8221;);<br />
if (b) {b.parentNode.removeChild(b);}</p>
<p>var b = document.getElementById(&#8220;home_featured_books&#8221;);<br />
if (b) {b.parentNode.removeChild(b);}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zieak.com/2007/03/20/the-re-modified-myspace-home-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Making the &#8220;Share This&#8221; Wordpress Plugin valid</title>
		<link>http://www.zieak.com/2007/03/20/making-the-share-this-wordpress-plugin-valid/</link>
		<comments>http://www.zieak.com/2007/03/20/making-the-share-this-wordpress-plugin-valid/#comments</comments>
		<pubDate>Wed, 21 Mar 2007 03:44:55 +0000</pubDate>
		<dc:creator>Ryan McFarland</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.zieak.com/2007/03/20/making-the-share-this-wordpress-plugin-valid/</guid>
		<description><![CDATA[I try my best to keep this site up to web standards.  Since i&#8217;m always tweaking it i have to check the W3C validation service every now and then to check the pages.  Silktide&#8217;s Sitescore currently looks at the validator for compliance (although they promise an update to their service this month).  [...]]]></description>
			<content:encoded><![CDATA[<p>I try my best to keep this site up to web standards.  Since i&#8217;m always tweaking it i have to check the <a href="http://validator.w3.org/check/referer">W3C validation service</a> every now and then to check the pages.  Silktide&#8217;s Sitescore currently looks at the validator for compliance (although they promise an update to their service this month).  The <a href="http://alexking.org/projects/wordpress">Share This</a> plugin that allows readers to submit the content to bookmarking or social websites or to email your post to others is a great plugin.  It does not pass validation though.  Make these changes to the code of share_this.php which should be in the share-this folder of your plugins directory of your Wordpress installation.  On lines 476 and 477 replace &#8220;<strong><code>onClick</code></strong>&#8221; with &#8220;<strong><code>onclick</code></strong>&#8221; and from lines 45 through 120 after every &#8220;&amp;&#8221; put &#8220;<strong><code>amp;</code></strong>&#8221; and your page should validate.   There should be 23 instances of &#8220;&amp;&#8221; that you need to replace in version 1.4 of the plugin.  Thanks to <a href="http://alexking.org/">Alex King</a> for the excellent plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zieak.com/2007/03/20/making-the-share-this-wordpress-plugin-valid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Directory redirect in .htaccess</title>
		<link>http://www.zieak.com/2007/03/18/directory-redirect-in-htaccess/</link>
		<comments>http://www.zieak.com/2007/03/18/directory-redirect-in-htaccess/#comments</comments>
		<pubDate>Sun, 18 Mar 2007 23:13:49 +0000</pubDate>
		<dc:creator>Ryan McFarland</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.zieak.com/2007/03/18/directory-redirect-in-htaccess/</guid>
		<description><![CDATA[I&#8217;ve been using Google Webmaster tools to keep an eye on a few of my site statistics.  It shows 404 errors, robots.txt problems, and other things that Google comes across that users might be hitting also.  I have been using my .htaccess file to repair some of the problems.  Unfortunately part of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="https://www.google.com/webmasters/tools/siteoverview">Google Webmaster tools</a> to keep an eye on a few of my site statistics.  It shows 404 errors, robots.txt problems, and other things that Google comes across that users might be hitting also.  I have been using my .htaccess file to repair some of the problems.  Unfortunately part of the <a href="http://www.zieak.com/2007/01/04/registerfly-domain-renewals-are-horrible/">Registerfly/Enom issues</a> seems to have created a dynamic problem.  While the site was down a placeholder page was shown and somehow Google is being directed to pages on zieak.com that do not exist as a result.</p>
<p><img src="http://www.zieak.com/wp-content/uploads/2007/03/screencap-138.png" title="404 error pages" alt="404 error pages" height="113" width="381" /></p>
<p>What i think is happening is that the placeholder pages for &#8220;expired&#8221; domains redirect to each other to try and increase page rank for items that consumers look for online.  Eventually they point to a site that the registrar makes money off of.  Fortunately zieak.com is no longer part of that network but for some reason Google is finding links to these ghost pages.</p>
<p>I had manually entered permanent redirect instructions on my .htaccess file like for each page that was showing as not found.</p>
<blockquote><p>Redirect 301 /get/christening/favor/gifts/gifts.htm http://www.zieak.com</p></blockquote>
<p>Unfortunately, my site currently has almost 100 of these www.zieak.com/get/bla/bla/bla.htm pages in the list of pages not found.  Copying and pasting them in was becoming tedious.  I finally found the solution to my problem in <a href="http://ask.metafilter.com/58651/Id-like-to-redirect-an-entire-directory-to-one-specific-file">this thread about using a wildcard for a redirect</a> in your .htaccess file.  So now i can redirect Google (or any other bot or human) to my main page instead of a file not found notice.</p>
<blockquote><p>RedirectMatch 301 ^/get/ http://www.zieak.com</p></blockquote>
<p>It seems that all of the problems coming in are for /get/ and /buy/ directories on my site.  I&#8217;ll just be sure to never structure my directories to use those folders.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zieak.com/2007/03/18/directory-redirect-in-htaccess/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Redirects on Myspace to login-sm.info</title>
		<link>http://www.zieak.com/2007/01/31/redirects-on-myspace-to-login-sminfo/</link>
		<comments>http://www.zieak.com/2007/01/31/redirects-on-myspace-to-login-sminfo/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 18:54:06 +0000</pubDate>
		<dc:creator>Ryan McFarland</dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.zieak.com/2007/01/31/redirects-on-myspace-to-login-sminfo/</guid>
		<description><![CDATA[I was just trying to send a message to a friend on Myspace and noticed that the person&#8217;s entire profile area was trying to redirect me to login-sm.info via google.  That page is down but it probably went to a &#8220;You must be logged in to do that&#8221; page that looked like it was [...]]]></description>
			<content:encoded><![CDATA[<p>I was just trying to send a message to a friend on Myspace and noticed that the person&#8217;s entire profile area was trying to redirect me to login-sm.info via google.  That page is down but it probably went to a &#8220;You must be logged in to do that&#8221; page that looked like it was Myspace &#8211; luring more people into the spiral.</p>
<p><img src="http://www.zieak.com/wp-content/uploads/2007/01/20070131094306.png" alt="login-sm.info" /></p>
<p>Looking at the source of their page it looks like their &#8220;Who I&#8217;d like to meet:&#8221; section was compromised which is floating a transparent gif over part of their page.  It is a pretty brilliant way to dupe someone into clicking out of myspace and into the world of &#8220;mystery&#8221; bulletins that the victim &#8220;didn&#8217;t post&#8221; and spammy comments posted to friend&#8217;s pages.</p>
<p><code>
<div style="position:absolute;left:0px;top:0px;font-size:13px;<br />
filter:alpha(opacity=01);-moz-opacity:0.01; opacity:0.01; -khtml-opacity:0.01;"><br />
<a href="http://www.google.com/url?q=http://www.login-sm.info/"><br />
<img src="http://img413.imageshack.us/img413/8882/thegifhb8.gif" width="1000"<br />
height="10000" border="1"></a> </style>
<p></code></p>
<p>If you fall victim just log in, change your password, and remove anything in your &#8220;Who I&#8217;d like to meet:&#8221; section.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zieak.com/2007/01/31/redirects-on-myspace-to-login-sminfo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
