<?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>JiveBay</title>
	<atom:link href="http://jivebay.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jivebay.com</link>
	<description>Web Development, Code Snippets, Technology, Reviews and Random Stuff Blog</description>
	<lastBuildDate>Tue, 26 Jan 2010 15:57:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rename Master</title>
		<link>http://jivebay.com/2010/01/26/rename-master/</link>
		<comments>http://jivebay.com/2010/01/26/rename-master/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 15:57:56 +0000</pubDate>
		<dc:creator>blogger</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://jivebay.com/?p=504</guid>
		<description><![CDATA[Rename Master is a free application to help you rename multiple files all at once. You can see a preview of what your changes will look like before you run it.]]></description>
			<content:encoded><![CDATA[<p>Ever have a bunch of files that you needed updated. For instance, perhaps you have a script or program that generates a bunch of incremental files or maybe you need to fix files that were not named with your naming convention. <a href="http://www.joejoesoft.com/cms/showpage.php?cid=108">Rename Master</a> is the free tool that will help you get this done. You can change the case sensitivity, add numbers to the end, replace just part of the name or some letters and more. You can also edit file properties such as MP3 tags, JPEG JFIF and EXIF tags. It also gives you a preview of what your changes will look like, before you implement them. It can be installed or run as a standalone app, so you can put it on a USB flash drive and add it to your arsenal of tools.</p>
<img src="http://jivebay.com/?ak_action=api_record_view&id=504&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jivebay.com/2010/01/26/rename-master/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Player 3.0</title>
		<link>http://jivebay.com/2010/01/25/vmware-player-3-0/</link>
		<comments>http://jivebay.com/2010/01/25/vmware-player-3-0/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 05:45:02 +0000</pubDate>
		<dc:creator>blogger</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://jivebay.com/?p=514</guid>
		<description><![CDATA[VMware Player 3.0 finally lets you create and edit Virtual Machines. No more manually editing VMX files or installing VMware Workstation on another PC and tranferring your VMs back and forth.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vmware.com/support/player30/doc/releasenotes_player3.html">VMware Player 3.0</a> rocks. Finally you can create or edit your virtual machines with just this program and not having to use a site like <a href="http://www.easyvmx.com/">EasyVMX</a> or going through a bunch of hassles hacking together a VHD and VMX that you could boot up into so you could install your OS. I used to install a trial version of VMware Workstation to create any new VMs I needed or if I need to edit them. A few years back I would just have VMware Server 1.0 installed on another machine to do all this, which meant I had to copy over my VMs and then do any creating or editing which was slow and tedious. And don&#8217;t get me started on VMware Server 2.0, the web interface is horrible. Vmware Player is much lighter than Vmware Workstation or Vmware Server, so I really didn&#8217;t want to just use one of those products by itself.</p>
<p>I believe they included the ability to create and edit the VMs in VMware Player for a few reasons. One of which is that they probably noticed people were either getting the trial version of VMware Workstation or just downright pirating it to do the editing or creating of VMs. The other reason is that <a href="http://www.virtualbox.org/">VirtualBox</a> maybe starting to eat into VMware&#8217;s userbase and since it lets you edit, create and use VMs all in one program, it made sense to have VMware Player do the same. And the same could be said about <a href="http://www.microsoft.com/windows/virtual-pc/">Virtual PC</a>. Another benefit is that now that there is a GUI for editing the VMs for probably their most popular free program, there will probably be less people having to search and post on their support forums for configuring it manually by editing the VMX file by hand. Want to expand or contract the Virtual Hard Drive size, it can now be done in VMware Player. Although if you need to convert a VM from another program, you&#8217;ll need <a href="http://www.vmware.com/download/converter/">VMware Converter</a>, but that it makes sense that program is seperate.</p>
<p><strong>New Features</strong></p>
<ul>
<li><strong>Virtual Machine with Easy Install</strong> — Create a virtual machine and install any supported guest operating system with Easy Install.</li>
<li><strong>New User Interface </strong> — Use the new user interface to create virtual machines and edit virtual machine settings.</li>
<li><strong>Windows 7</strong> — Create and run Windows 7 32-bit and 64-bit virtual machines using VMware Workstation. VMware Workstation has been enhanced for performance and to take advantage of the new Windows 7 features including Live Thumbnails and Aero Peek.</li>
<li>	<strong>Aero Glass </strong> — A new Windows Display Driver Model (WDDM) graphics driver has been developed for Windows Vista and Windows 7 virtual machines. The WDDM driver can display the Windows Aero user interface, OpenGL 1.4, and Shader Model 3.0. For more information on the VMware recommended graphics hardware, see the <a href="/pdf/ws7_manual.pdf">VMware Workstation User&#8217;s Manual.</a></li>
<li><strong>Windows XP Mode Compatible</strong> — Import a Windows XP Mode virtual machine using VMware Player 3.0 and run the virtual machine without being prompted to enter a Windows XP license key. VMware Player enables the Windows XP Mode virtual machine to take advantage of more than one processor, render high-end graphics, integrate seamlessly with Unity, and transfer files easily with drag and drop, and shared folders. VMware Player also has the ability to run concurrently with Windows XP Mode.</li>
<li><strong>3D Graphics Improvements for Windows XP guests </strong>— OpenGL 2.1 and Shader Model 3.0 support is now available for Windows XP virtual machines. The XPDM (SVGAII) graphics driver works with Windows XP, Windows Vista, and Windows 7. However, only Windows XP virtual machines<br />
 install the XPDM graphics driver by default. To switch graphics drivers in the guest operating system, see <a href="http://communities.vmware.com/docs/DOC-10124">How to Switch Between SVGAII and WDDM Drivers</a>.
</li>
<li><strong>Multiple-Monitor Display </strong> — Virtual machines can now take advantage of multiple monitors.</li>
<li><strong>Advanced Linux Sound Architecture (ALSA)</strong> — ALSA significantly improves the sound of virtual machines running on a Linux host and streams the audio from each virtual machine on a separate channel so that multiple virtual machines can be heard simultaneously.</li>
<li><strong>Drag and Drop Enhancements</strong> — Drag and drop enhancements include support for new file types including images and formatted text and extend the existing ability to drag and drop files to a broader set of guest and host operating systems.</li>
<li><strong> On-Demand VMware Tools Download</strong> — On-demand download capability provides the latest VMware Tools for the guest operating system. This feature reduces the overall download size of VMware products by downloading only the required set of VMware Tools and enables VMware to release new versions frequently.</li>
<li><strong>Virtual Printing </strong> — Print from virtual machines without mapping network printers or installing printer drivers in the virtual machine. With virtual printing enabled in the virtual machine setting, all of the printers installed on the host operating system are available in the guest operating system. This functionality is enabled through a partnership with <a href="http://www.vmware.com/go/thinprint"> ThinPrint, Inc</a>.</li>
<li><strong>VIX API for VMware Player</strong> — Software vendors can use the VIX functionality to add their own interface to the VMware Player menu bar.</li>
</ul>
<img src="http://jivebay.com/?ak_action=api_record_view&id=514&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jivebay.com/2010/01/25/vmware-player-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calculating the Moon Phase Part 2</title>
		<link>http://jivebay.com/2010/01/04/calculating-the-moon-phase-part-2/</link>
		<comments>http://jivebay.com/2010/01/04/calculating-the-moon-phase-part-2/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 21:54:52 +0000</pubDate>
		<dc:creator>blogger</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://jivebay.com/?p=627</guid>
		<description><![CDATA[Here is some PHP code to calculating the Lunar Phase of the Moon. It also tells the ecliptic latitude and longitude in degrees, the moon's distance in Earth radii, the moon's age in days from new moon and zodiac.]]></description>
			<content:encoded><![CDATA[<p>In an <a href="http://jivebay.com/2008/09/07/calculating-the-moon-phase/">older post about Calculating the Moon Phase</a>, I converted the some code I found to PHP. However the <a href="http://home.att.net/%7Esrschmitt/script_moon_phase.html">Lunar Phase Calculator</a> has some more information (ecliptic latitude and longitude in degrees, the moon&#8217;s distance in Earth radii, etc.), the other one doesn&#8217;t, so I went ahead and converted it from JavaScript to PHP.<br />
<span id="more-627"></span><br />
<code><br />
&lt;?php<br />
/*<br />
Based on the JavaScript<br />
Lunar Phase Calculator<br />
by Stephen R. Schmitt</p>
<p>http://home.att.net/~srschmitt/script_moon_phase.html</p>
<p>which was adapted from a BASIC program from the Astronomical Computing column of Sky &amp; Telescope, April 1994<br />
*/<br />
function isdayofmonth($month, $day, $year)<br />
{<br />
    $dim = array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);<br />
    if ($month != 2)<br />
    {<br />
        if (1 &lt;= $day &amp;&amp; $day &lt;= $dim[$month - 1])<br />
            return true;<br />
        else<br />
            return false;<br />
    }<br />
    $feb = $dim[1];<br />
    if (isleapyear($year))<br />
    {<br />
        $feb++;// is leap year<br />
    }<br />
    if (1 &lt;= $day &amp;&amp; $day &lt;= $feb)<br />
    {<br />
        return true;<br />
    }<br />
    return false;<br />
}<br />
function isleapyear($year)<br />
{<br />
    $a = floor($year - 4 * floor($year / 4));<br />
    $b = floor($year - 100 * floor($year / 100));<br />
    $c = floor($year - 400 * floor($year / 400));<br />
    // possible leap year<br />
    if ($a == 0)<br />
    {<br />
        if ($b == 0 &amp;&amp; $c != 0)<br />
            return false;// not leap year<br />
        else<br />
            return true;// is leap year<br />
    }<br />
    return false;<br />
}<br />
// compute moon position and phase<br />
function moon_posit($month = null, $day = null, $year = null)<br />
{<br />
    $moon = array();<br />
    if(!isdayofmonth($month, $day, $year))<br />
    {<br />
        $moon[&#039;errors&#039;] = &#039;Invalid date&#039;;<br />
    }<br />
    else<br />
    {<br />
        $moon[&#039;errors&#039;] = null;<br />
        $age = 0.0;// Moon&#039;s age in days from New Moon<br />
        $distance = 0.0;// Moon&#039;s distance in Earth radii<br />
        $latitude = 0.0;// Moon&#039;s ecliptic latitude in degrees<br />
        $longitude = 0.0;// Moon&#039;s ecliptic longitude in degrees<br />
        $phase = &#039;&#039;;<br />
        $zodiac = &#039;&#039;;<br />
        $YY = 0;<br />
        $MM = 0;<br />
        $K1 = 0;<br />
        $K2 = 0;<br />
        $K3 = 0;<br />
        $JD = 0;<br />
        $IP = 0.0;<br />
        $DP = 0.0;<br />
        $NP = 0.0;<br />
        $RP = 0.0;<br />
        // calculate the Julian date at 12h UT<br />
        $YY = $year - floor((12 - $month) / 10);<br />
        $MM = $month + 9;<br />
        if ($MM &gt;= 12)<br />
        {<br />
            $MM = $MM - 12;<br />
        }<br />
        $K1 = floor(365.25 * ($YY + 4712));<br />
        $K2 = floor(30.6 * $MM + 0.5);<br />
        $K3 = floor(floor(($YY / 100) + 49) * 0.75) - 38;<br />
        $JD = $K1 + $K2 + $day + 59;// for dates in Julian calendar<br />
        if ($JD &gt; 2299160)<br />
        {<br />
            $JD = $JD - $K3;// for Gregorian calendar<br />
        }<br />
        // calculate moon&#039;s age in days<br />
        $IP = normalize(($JD - 2451550.1) / 29.530588853);<br />
        $age = $IP * 29.53;<br />
        if ($age &lt;  1.84566)<br />
            $phase = &#039;NEW&#039;;<br />
        else if ($age &lt;  5.53699)<br />
            $phase = &#039;Evening crescent&#039;;<br />
        else if ($age &lt;  9.22831)<br />
            $phase = &#039;First quarter&#039;;<br />
        else if ($age &lt; 12.91963)<br />
            $phase = &#039;Waxing gibbous&#039;;<br />
        else if ($age &lt; 16.61096)<br />
            $phase = &#039;FULL&#039;;<br />
        else if ($age &lt; 20.30228)<br />
            $phase = &#039;Waning gibbous&#039;;<br />
        else if ($age &lt; 23.99361)<br />
            $phase = &#039;Last quarter&#039;;<br />
        else if ($age &lt; 27.68493)<br />
            $phase = &#039;Morning crescent&#039;;<br />
        else<br />
            $phase = &#039;NEW&#039;;<br />
        $IP = $IP * 2 * pi();// Convert phase to radians<br />
        // calculate moon&#039;s distance<br />
        $DP = 2 * pi() * normalize(($JD - 2451562.2) / 27.55454988);<br />
        $distance = 60.4 - 3.3 * cos($DP) - 0.6 * cos(2 * $IP - $DP) - 0.5 * cos(2 * $IP);<br />
        // calculate moon&#039;s ecliptic latitude<br />
        $NP = 2 * pi() * normalize(($JD - 2451565.2) / 27.212220817);<br />
        $latitude = 5.1 * sin($NP);<br />
        // calculate moon&#039;s ecliptic longitude<br />
        $RP = normalize(($JD - 2451555.8) / 27.321582241);<br />
        $longitude = 360 * $RP + 6.3 * sin($DP) + 1.3 * sin(2 * $IP - $DP) + 0.7 * sin(2 * $IP);<br />
        if ($longitude &lt;  33.18)<br />
            $zodiac = &#039;Pisces&#039;;<br />
        else if ($longitude &lt;  51.16)<br />
            $zodiac = &#039;Aries&#039;;<br />
        else if ($longitude &lt;  93.44)<br />
            $zodiac = &#039;Taurus&#039;;<br />
        else if ($longitude &lt; 119.48)<br />
            $zodiac = &#039;Gemini&#039;;<br />
        else if ($longitude &lt; 135.30)<br />
            $zodiac = &#039;Cancer&#039;;<br />
        else if ($longitude &lt; 173.34)<br />
            $zodiac = &#039;Leo&#039;;<br />
        else if ($longitude &lt; 224.17)<br />
            $zodiac = &#039;Virgo&#039;;<br />
        else if ($longitude &lt; 242.57)<br />
            $zodiac = &#039;Libra&#039;;<br />
        else if ($longitude &lt; 271.26)<br />
            $zodiac = &#039;Scorpio&#039;;<br />
        else if ($longitude &lt; 302.49)<br />
            $zodiac = &#039;Sagittarius&#039;;<br />
        else if ($longitude &lt; 311.72)<br />
            $zodiac = &#039;Capricorn&#039;;<br />
        else if ($longitude &lt; 348.58)<br />
            $zodiac = &#039;Aquarius&#039;;<br />
        else<br />
            $zodiac = &#039;Pisces&#039;;<br />
        // so longitude is not greater than 360!<br />
        if ($longitude &gt; 360)<br />
            $longitude = $longitude - 360;<br />
        $moon[&#039;age&#039;] = round($age, 2);<br />
        $moon[&#039;distance&#039;] = round($distance, 2);<br />
        $moon[&#039;latitude&#039;] = round($latitude, 2);<br />
        $moon[&#039;longitude&#039;] = round($longitude, 2);<br />
        $moon[&#039;phase&#039;] = $phase;<br />
        $moon[&#039;zodiac&#039;] = $zodiac;<br />
    }<br />
    return $moon;<br />
}<br />
// normalize values to range 0...1<br />
function normalize($v)<br />
{<br />
    $v = $v - floor($v);<br />
    if ($v &lt; 0)<br />
    {<br />
        $v++;<br />
    }<br />
    return $v;<br />
}<br />
?&gt;<br />
</code></p>
<p>And to use it, you can do something like this<br />
<code><br />
&lt;?php<br />
include(&#039;moon2.php&#039;);<br />
$date = time();<br />
$year = date(&#039;Y&#039;, $date);<br />
$month = date(&#039;n&#039;, $date);<br />
$day = date(&#039;j&#039;, $date);<br />
$moon = moon_posit($month, $day, $year);<br />
//debug results<br />
echo &#039;&lt;pre&gt;&#039;;<br />
print_r($moon);<br />
echo &#039;&lt;/pre&gt;&#039;;<br />
if ($moon[&#039;errors&#039;] === null)<br />
{<br />
    //output and format what you want<br />
}<br />
else<br />
{<br />
    //handle error how you want, perhaps give error message and then show today&#039;&#039;s moon info<br />
}<br />
?&gt;<br />
</code></p>
<p>I haven&#8217;t figured out how to get the percentage of illumination of the moon though.</p>
<img src="http://jivebay.com/?ak_action=api_record_view&id=627&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jivebay.com/2010/01/04/calculating-the-moon-phase-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RSS Cron Job</title>
		<link>http://jivebay.com/2009/12/14/rss-cron-job/</link>
		<comments>http://jivebay.com/2009/12/14/rss-cron-job/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 03:45:46 +0000</pubDate>
		<dc:creator>blogger</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://jivebay.com/?p=233</guid>
		<description><![CDATA[Tired of your web host with limited Cron Jobs, slow caching or think the Poor Man's Cron Job sucks? Try creating an RSS feed and then let Google Reader hit your page and force a RSS Cron Job to take place.]]></description>
			<content:encoded><![CDATA[<p> If you are on shared web host, you might not have the ability to run lots of cron jobs or be limited to a certain number per hour or day. You might know about the &#8220;Poor Man&#8217;s Cron Job&#8221;, which is basically not to run a task (usually caching some data or fetching a feed, api, etc.) in the background until someone visits a page. Which isn&#8217;t ideal, because often the page will be slow or sometimes it won&#8217;t be up to date until the second visit (if you run that task after outputting the cached data).</p>
<p>Well one way to get around this is to setup an RSS feed for the data you are caching or outputting and access it with a query string such as &#8220;?rss=2.0&#8243; or <strong>http://example.com/index.php?rss=2.0</strong>. Then you can check to see if the RSS variable was passed and output a RSS feed with just enough data for a feed, no need to put sensitive data in there or anything. I would suggest putting in a <strong>ttl</strong> node in the RSS feed and set it to something the aggregators like <a href="http://www.google.com/reader">Google Reader</a>, should obey (that way they hit your page more or less frequently, depending on your needs). The <strong>item</strong> portion of an RSS feed only needs a title or a description, although its probably a good idea to put some kind of <strong>guid</strong> in there (check the <a href="http://cyber.law.harvard.edu/rss/rss.html">RSS 2.0 spec</a> for more info on creating RSS feeds).</p>
<p>Anyway here is some sample code. It isn&#8217;t complete but gives you an idea what I mean.<br />
<code><br />
if ($_GET[&#039;rss&#039;] == 2.0)<br />
{<br />
	//create RSS 2.0 feed<br />
	header(&#039;Content-Type: text/xml&#039;);<br />
	$output = &#039;&lt;&#039; . &#039;?xml version=&quot;1.0&quot;?&#039; . &#039;&gt;&#039; . &quot;\n&quot;;<br />
	$output .= &#039;&lt;rss version=&quot;2.0&quot;&gt;&#039; . &quot;\n&quot;;<br />
	$output .= &#039;&lt;channel&gt;&#039; . &quot;\n&quot;;<br />
	//...<br />
	//process your data and output it into RSS 2.0 format<br />
	//...<br />
	$output .= &#039;&lt;/channel&gt;&#039; . &quot;\n&quot;;<br />
	$output .= &#039;&lt;/rss&gt;&#039;;<br />
}<br />
else<br />
{<br />
	//process your data as normal<br />
}<br />
</code></p>
<p>Then to make sure the page is hit often, place your RSS feed into <a href="http://www.google.com/reader">Google Reader</a> or <a href="http://www.bloglines.com/">Bloglines</a> or some other RSS aggregator. Then your site will be visited often and forced to update. No one else really needs to know about your RSS feeds, unless you want them to be public as well.</p>
<img src="http://jivebay.com/?ak_action=api_record_view&id=233&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jivebay.com/2009/12/14/rss-cron-job/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Email Exposure</title>
		<link>http://jivebay.com/2009/11/03/wordpress-email-exposure/</link>
		<comments>http://jivebay.com/2009/11/03/wordpress-email-exposure/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 12:52:52 +0000</pubDate>
		<dc:creator>blogger</dc:creator>
				<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://jivebay.com/?p=476</guid>
		<description><![CDATA[WordPress Post via e-mail (which allows for posting blogs by checking a POP email address) has a vulnerability of exposing the email address that sent the email. I show you how you can prevent this.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve noticed WordPress&#8217;s blog by email feature has the possibility of allowing anyone to see other email addresses. This feature can be turned on in the <strong>Admin </strong>in <strong>Settings->Writings</strong> and then <strong>Post via e-mail</strong>. Let&#8217;s say you set that email address as <strong>wordpressposts@example.com</strong>, that address will stay hidden. However anyone that emails that address will can have their address exposed on your blog by going to <strong>http://example.com/wp-mail.php</strong> (assuming that&#8217;s where you have WordPress installed at http://example.com). Chances are most people will have this set to a <a href="http://en.wikipedia.org/wiki/Cron">cron job</a> and have it check it every so often, but it might be possible for others to request the page beforehand. And when you do go to that page, it shows something like this:</p>
<pre>
Author is myworkaddress@example.net

Author: 1

Posted title: Some Blog Post Title

Mission complete. Message 1 deleted.
</pre>
<p>Thus, if you are using your a email address you&#8217;d like to keep private and you are emailing wordpressposts@example.com, that email address has the possibility of showing up to people. Which is not good if you email from the same email address that checks the posts. And even worse if you email from a email address for a user in WordPress and has the rights to post contents because the email will get &#8220;publish&#8221; status rather than &#8220;pending&#8221; and will go live on the site. And if someone has the email address that is a user and has posting rights, they can easily send fake emails from that address, because all WordPress checks is the From or Reply-To line (whichever it finds first).</p>
<p>It&#8217;s easy to prevent it from showing email addresses by opening up <strong>wp-mail.php</strong> and looking for this line of code<br />
<code><br />
echo &#039;&lt;p&gt;&#039; . sprintf(__(&#039;Author is %s&#039;), $author) . &#039;&lt;/p&gt;&#039;;<br />
</code></p>
<p>And this line of code<br />
<code><br />
echo &quot;\n&lt;p&gt;&quot; . sprintf(__(&#039;&lt;strong&gt;Author:&lt;/strong&gt; %s&#039;), esc_html($post_author)) . &#039;&lt;/p&gt;&#039;;<br />
</code></p>
<p>And then you could comment those lines out by putting <strong>//</strong> in front of both of them.</p>
<p>I understand WordPress outputs this information so you can see logged from any cron jobs you have setup or if you visit the page manually, as a way of just knowing whats going on. However, it could be done better to prevent the addresses from being shown to everyone. A simple solution is to setup a query string and have a secretkey (don&#8217;t make this your blog&#8217;s password however). For example, lets say your blog is installed at <strong>http://example.com/</strong>, we are going to know require the following URL to check Posts via e-mail <strong>http://example.com/wp-mail.php?secretkey=abc123</strong>. And if someone doesn&#8217;t send the right secretkey, it won&#8217;t check the email address or echo anything out.</p>
<p>So before this line of code<br />
<code><br />
/** Make sure that the WordPress bootstrap has run before continuing. */<br />
</code></p>
<p>Let&#8217;s add<br />
<code><br />
if ($_GET[&#039;secretkey&#039;] != &#039;abc123&#039;)<br />
	exit();<br />
</code></p>
<p>Feel free to change the secretkey to whatever you wish. You can also change it to be called something other than secretkey. If you have a cron job, you&#8217;ll have to point to that new URL as well <strong>http://example.com/wp-mail.php?secretkey=abc123</strong>. If you use the secretkey method you can leave the lines where it echoes out the email address if you like (the 2 lines I showed you could comment out).</p>
<img src="http://jivebay.com/?ak_action=api_record_view&id=476&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jivebay.com/2009/11/03/wordpress-email-exposure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-matic 2GB MP3 Video Player Review</title>
		<link>http://jivebay.com/2009/10/31/e-matic-2gb-mp3-video-player-review/</link>
		<comments>http://jivebay.com/2009/10/31/e-matic-2gb-mp3-video-player-review/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 14:32:45 +0000</pubDate>
		<dc:creator>blogger</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[electronics]]></category>

		<guid isPermaLink="false">http://jivebay.com/?p=556</guid>
		<description><![CDATA[Full Review of the Ematic 2GB MP3 Video Player (EM102VID) that has a FM Tuner and 1.5" display.]]></description>
			<content:encoded><![CDATA[<p>I few months ago I decided to get a digital MP3 player, rather than relying on my old Rio Volt SP150 CD Player/MP3 Player. Yes, I&#8217;m a late adopter to these devices, but I finally figured I&#8217;d get one. However I didn&#8217;t feel like paying too much for one so the <a href="http://www.apple.com/ipodclassic/">iPod</a> was not one of my options. I came across the <a href="http://www.ematic.us/product_details.php?prodID=39">E-matic 2GB MP3 Video Player (EM102VID)</a> on <a href="http://www.walmart.com/">Wal-Mart&#8217;s web site</a> and there was only a few reviews at the time. It was being sold for about $27 and I figured I would take a chance and order it. I used their <em>Site to Store</em> feature which lets you get your item shipped to a local store for free and you get an email when it arrives to pick it up. They told me it would take about 2-3 weeks, but I got mine in about 8 days.</p>
<div id="attachment_601" class="wp-caption alignnone" style="width: 310px"><img src="http://jivebay.com/wp-content/uploads/ematic_2gb_em102vid-300x300.jpg" alt="Ematic EM102VID 2GB MP3 Video Player" title="ematic_2gb_em102vid" width="300" height="300" class="size-medium wp-image-601" /><p class="wp-caption-text">Ematic EM102VID 2GB MP3 Video Player</p></div>
<p>Anyway, I&#8217;ve had this device for a few months now and it&#8217;s held up. Since then many reviews of this device have had people say that there is no way to browse music except by pressing next and forward. This is not true, what you have to do is press the Power button once (you have to hold Power for a few seconds to turn the device off) and the menu will come up. From the Menu you can pick: Repeat, 6-Band Equalizer (you can use presets or tweak it manually), 3d (I think it attempts to add some dimension to the music), Play Rate (how fast the music plays) and File. Using the File option you can browse through the music in a text based folder layout, it&#8217;s not the most elegant way, but it works good enough. You can put files on the device either by MSC or MTP mode which is activated by pressing the Play button while its connected via USB to your PC. I wasn&#8217;t able to play music on the device while charging, except by browsing to the files on my PC and playing them in an music player (WinAmp or Windows Media Player).</p>
<p>To get back to the other sections (main menu) in the Player you have to hold the Play button for about 2 seconds, then you are greeted with the sections one by one: Music, Photo, Movie, Voice, FM Radio, Mic. Record, E-Book, Settings, Delete and About. I really didn&#8217;t mess with the Photo or Movie options much, it comes with some sample music, photos and a video when you first get the player. I did convert a few videos just to see how they turned out and they were ok, the device comes with a CD with some program you have to use to convert your videos to MTV format. MTV files will be larger than AVI or other video formats and from what I know it&#8217;s basically just a huge collection of images that it plays to simulate the video while the audio plays. But I didn&#8217;t really get this device for photos or video. The FM Radio can automatically create preset stations for you by scanning through. The E-Book feature will remember the last file you opened and has an option to automatically go to the next screen after a few seconds. However I didn&#8217;t find it all that useful, the screen is way too small to read on and long words are broken without any hyphenation to let you know it did so, but it&#8217;s there if you want to try it out. You can change the Microphone Recorder&#8217;s quality in the Settings Menu incase you want smaller files. Audio quality sounded good to me, but you might want some better quality headphones, the ones it comes with aren&#8217;t that great. It will remember what music file it played last and where in the file it stopped (how many minutes and seconds into the audio file). It also has a button shared with the Microphone record button that lets you loop a song by setting a start and end point.</p>
<p>The buttons on the outside: Back, Forward, Play/Pause, Volume Up, Volume Down, Hold (you can lock the device so no accidental pushes on the buttons change anything), Power and Microphone Record. There is also a headphone jack, reset hole, Mini-USB connection and it looks like it might be possible to put some kind of loop or chain on the device at the top. The buttons are raised up so its easy to find them, even if you aren&#8217;t looking at the device. The battery I would say lasts about 7 hours. All and all for $27 this is a good deal, I just wish they offered a 16gb or 32gb model. <img src='http://jivebay.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<ul>
<li>1.5&#8243; Color Display</li>
<li>2GB MP3 Video Player</li>
<li>Holds over 8 Hours of Music, 3 hours of Video or 2,000 Pictures</li>
<li>Built-In Rechargeable Li-Polymer battery</li>
<li>Includes In-ear type earphones</li>
<li>ID3 Tagging and Lyrics synchronization during music playback</li>
<li>Windows 1998/2000/XP Compatible/Vista Ready</li>
<li>MAC Compatible</li>
<li>High Speed USB 2.0</li>
<li>E-Book function allows you to browse ,TXT files</li>
<li>Skip-Free Video and Music Playback</li>
<li>Supports Video Playback of AVI, MP4, MPG, WMV using the included conversion CD</li>
<li>Supports Playback of MP3, WMA, WAV, MTV, BMP, Jpeg, and DRM Protected WMA Music files</li>
<li>Multi-Language User Interface including English, Spanish, and many more</li>
<li>Voice Recording (Built-In MIC)</li>
<li>Flash Storage capabilities</li>
<li>Extended Battery Life</li>
<li>Available in Blue (EM102VIDB), Green (EM102VIDG), Red (EM102VIDR) and Pink (EM102VIDP) (Although their website shows Black (EM102VIDBL), Orange (EM102VIDO), Yellow (EM102VIDY) and Gray (EM102VIDGY) also available)</li>
</ul>
<img src="http://jivebay.com/?ak_action=api_record_view&id=556&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jivebay.com/2009/10/31/e-matic-2gb-mp3-video-player-review/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Never Give Up</title>
		<link>http://jivebay.com/2009/10/31/never-give-up/</link>
		<comments>http://jivebay.com/2009/10/31/never-give-up/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 13:41:46 +0000</pubDate>
		<dc:creator>blogger</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jivebay.com/?p=594</guid>
		<description><![CDATA[2008 Picture of the Year, the Frog that refuses to be eaten by a snake. Never give up.]]></description>
			<content:encoded><![CDATA[<p>I saw this picture of a <a href="http://en.wikipedia.org/wiki/Morelet%27s_Treefrog">Morelet&#8217;s Treefrog</a> trying to fight off a <a href="http://en.wikipedia.org/wiki/Leptodeira">Cat-eyed Snake</a> that was trying to eat him.</p>
<p><img src="http://jivebay.com/wp-content/uploads/frog_vs_snake_2008.jpg" alt="frog_vs_snake_2008" title="frog_vs_snake_2008" width="461" height="307" class="alignnone size-full wp-image-595" /></p>
<p>This picture &#8220;<a href="http://news.nationalgeographic.com/news/2008/10/photogalleries/best-animal-wildlife-photos/photo4.html">Deadlock</a>&#8221; was taken in the rainforest of Belize by David Maitland who was named 2008 Wildlife Photographer of the Year.</p>
<img src="http://jivebay.com/?ak_action=api_record_view&id=594&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jivebay.com/2009/10/31/never-give-up/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS3 Validation Debate Reponse</title>
		<link>http://jivebay.com/2009/09/01/css3-validation-debate-reponse/</link>
		<comments>http://jivebay.com/2009/09/01/css3-validation-debate-reponse/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 14:08:10 +0000</pubDate>
		<dc:creator>blogger</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://jivebay.com/?p=586</guid>
		<description><![CDATA[How to deal with CSS3 Validation Errors from the W3C's CSS Validation service.]]></description>
			<content:encoded><![CDATA[<p>There is a post on <a href="http://www.css3.info/">CSS3.info</a>, <a href="http://www.css3.info/the-big-css3-validation-debate/">The Big CSS3 Validation Debate</a> where I left a comment I figured I&#8217;d make into a post here. It&#8217;s about how adding CSS3 rules to your style sheet result in errors with validation and what we think the W3C should do about it. Anyway, my response is below (edited, because I pressed submit too soon). <img src='http://jivebay.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<hr />
<p>No need to have the W3C mess with their validator just to work with all the possible browser extensions. This would most likely introduce bugs and cause too much of a headache for them.</p>
<p>Here are 2 things you can do to get by the errors</p>
<ol>
<li>Put all your CSS3 rules in a css3.css file and then when you validate everything in your regular .css files should pass and the css3.css should fail.</li>
<li>Or put a /*CSS3*/ comment for each CSS3 rule you have in your style sheet, so when it gives an error you know why. This would work best if you put each css3 rule on a separate line.</li>
</ol>
<img src="http://jivebay.com/?ak_action=api_record_view&id=586&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jivebay.com/2009/09/01/css3-validation-debate-reponse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Irish Spring Body Wash Moisture Blast</title>
		<link>http://jivebay.com/2009/08/10/irish-spring-body-wash-moisture-blast/</link>
		<comments>http://jivebay.com/2009/08/10/irish-spring-body-wash-moisture-blast/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 23:20:36 +0000</pubDate>
		<dc:creator>blogger</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jivebay.com/?p=579</guid>
		<description><![CDATA[I recently a bottle of Irish Spring Body Wash Moisture Blast for a road trip, because I didn&#8217;t want to deal with bringing bar soap and with having it remain all wet in a container. I believe body washes are made for those that don&#8217;t use washcloths. If you try to lather this in a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently a bottle of <a href="http://irishspring.com">Irish Spring Body Wash Moisture Blast</a> for a road trip, because I didn&#8217;t want to deal with bringing bar soap and with having it remain all wet in a container. I believe body washes are made for those that don&#8217;t use washcloths. If you try to lather this in a washcloth it simply won&#8217;t work without using a ton of it. Not only that it leaves you all slimy afterwards. Perhaps its because it has a 8 hr scent system. Next time I&#8217;ll stick with bar soap. I think commercials like to show people not using washcloths, so they end up wasting more of the soap and to show it off better in their ads.</p>
<p><img src="http://jivebay.com/wp-content/uploads/irish_spring_body_wash_moisture_blast.jpg" alt="irish_spring_body_wash_moisture_blast" title="irish_spring_body_wash_moisture_blast" width="200" height="200" class="alignnone size-full wp-image-580" /></p>
<img src="http://jivebay.com/?ak_action=api_record_view&id=579&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jivebay.com/2009/08/10/irish-spring-body-wash-moisture-blast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grooveshark Review</title>
		<link>http://jivebay.com/2009/06/27/grooveshark-review/</link>
		<comments>http://jivebay.com/2009/06/27/grooveshark-review/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 14:35:23 +0000</pubDate>
		<dc:creator>blogger</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://jivebay.com/?p=565</guid>
		<description><![CDATA[Grooveshark is a great way to explore each song from a band's music library. It's not another online web radio station, but one that helps you figure out if you really do like a artist's work.]]></description>
			<content:encoded><![CDATA[<p><a href="http://grooveshark.com/features">Grooveshark</a> is another online music site, however I isn&#8217;t like all the other radio sites online. Let&#8217;s say you find a band you are interested in from <a href="http://www.pandora.com/">Pandora</a> or <a href="http://www.last.fm/">Last.fm</a>. Pandora won&#8217;t let you just listen to one full song from a band in particular, only short clips. Last.fm will let you listen to whatever song you want, but you have to do a lot of clicking to listen to a bunch of them. Even if you add them to a playlist and going through the process of their &#8220;pseudo-popups&#8221;, you still can&#8217;t just tell Last.fm to play each song from the playlist (or at least I was unable to figure out how). This is where Grooveshark comes in. Grooveshark will let you listen to as many songs from a particular band that you want and you can even do it based on one of their albums. This is really great for exploring a band that may have peaked your interest.</p>
<p>However, it is not without faults. The biggest problem right now is that there are duplicate music files, because many songs are spelled differently or differ by a few seconds. It&#8217;s really annoying to try to clean up your queue of the duplicates, because you end up losing how far foward or back you are in the navigation. The other issue is that their music library isn&#8217;t as in depth as Pandora and definitely not as huge as Last.fm&#8217;s. I&#8217;ve also noticed that the &#8220;<strong>Recent songs listened to</strong>&#8221; RSS feed you get will only pull songs if they fit a certain time period, so if you go without using Grooveshark for awhile that feed will be empty, rather than remembering what you last listened to.</p>
<img src="http://jivebay.com/?ak_action=api_record_view&id=565&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jivebay.com/2009/06/27/grooveshark-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
