<?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>Mac Stuff</title>
	<atom:link href="http://macstuff.beachdogs.org/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://macstuff.beachdogs.org/blog</link>
	<description>A place for all my Macintosh-related scripts, tricks and tips</description>
	<lastBuildDate>Mon, 08 Apr 2013 16:59:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Fixing certificate errors for package installers in 10.7.4 and below</title>
		<link>http://macstuff.beachdogs.org/blog/?p=356</link>
		<comments>http://macstuff.beachdogs.org/blog/?p=356#comments</comments>
		<pubDate>Mon, 25 Feb 2013 19:51:49 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Management]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://macstuff.beachdogs.org/blog/?p=356</guid>
		<description><![CDATA[I recently had to build an installer package that used the Apple Developer ID Installer certificate. This is the first time I have signed an installer package and was interested to see how it worked with Gatekeeper. In PackageMaker you click on the &#8220;Configuration&#8221; tab for the installer then click on &#8220;Certificate&#8221; to select the [...]]]></description>
				<content:encoded><![CDATA[<p>I recently had to build an installer package that used the Apple Developer ID Installer certificate.  This is the first time I have signed an installer package and was interested to see how it worked with Gatekeeper. In PackageMaker you click on the &#8220;Configuration&#8221; tab for the installer then click on &#8220;Certificate&#8221; to select the appropriate one.  Worked exactly as they say, found the cert and added it, no problem.</p>
<p>Next, I tested the installer to make sure it was signed correctly.  You do that in Terminal using the <code><a href="http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/productsign.1.html" target="_blank">spctl</a></code><code></code> command:</p>
<p><code></p>
<p>sudo spctl -a -v --type install /Users/test/Desktop/MyInstaller.pkg<br />
Password:<br />
/Users/test/Desktop/MyInstaller.pkg: accepted source=Developer ID<br />
</code></p>
<p>Now I ran the package on both a 10.8.2 and 10.7.5 machine.  Both of these OS versions have Gatekeeper.  The package ran correctly and showed that the signing certificate was correct.</p>
<p>Now, to be certain I ran the package again on a 10.6.8 machine and a 10.7.4 machine since neither of these have Gatekeeper.</p>
<p>On the 10.7.4 machine I get a certificate error warning.  It says my certificate isn&#8217;t signed by a trusted source and do I want to trust it.  Looking at the certificate chain it all seems correct.  Running a signed Cisco installer on the same system does not generate the same error, even though the root signing CA is exactly the same.  The installer works but has that disturbing error message.</p>
<p>On a 10.6.8 machine the installer runs without a certificate warning but clicking on the cert button in the installer window says the same thing as the 10.7.4 machine, that it isn&#8217;t signed by a trusted source.</p>
<p>Cutting to the chase, the issue is with signing the installer using the GUI version of PackageMaker.  It works just fine for 10.7.5 and up machines but gives all those errors below that.  To get your signed installer to work on all versions of the OS you need to use the <code>productsign</code> tool at the command line.  These instructions assume that you&#8217;ve already installed your Developer ID certificates.</p>
<p>Use the following steps to do that:</p>
<ol>
<li>Use the GUI version of PackageMaker to generate your installer but leave it unsigned.
</li>
<li>Run the following command to sign that package:<br />
<code>productsign --sign "Developer ID Installer: My Company" /Users/test/Desktop/MyInstaller.pkg /Users/test/Desktop/Signed/MyInstaller.pkg</code><br />
	<strong>Note:</strong>If you are signing an older style non-distribution package it will give you the following error:<br />
<code>Could not find appropriate signing identity for "Developer ID Installer: My Company".  An application signing identity (not an installer identity) is required for signing bundle-style products.</code></p>
<p>If you get that error use the following format instead of the one listed above:</p>
<p><code>productsign --sign "Developer ID Application: My Company" /Users/test/Desktop/MyInstaller.pkg /Users/test/Desktop/Signed/MyInstaller.pkg</code></li>
</ol>
<p>To test if you have successfully signed the package use the <code>spctl</code> command:</p>
<p><code>sudo spctl -a -v --type install /Users/test/Desktop/Signed/MyInstaller.pkg<br />
/Users/test/Desktop/Signed/MyInstaller.pkg: accepted source=Developer ID<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://macstuff.beachdogs.org/blog/?feed=rss2&#038;p=356</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mountain Lion 10.8 Apple Training and Certification books</title>
		<link>http://macstuff.beachdogs.org/blog/?p=342</link>
		<comments>http://macstuff.beachdogs.org/blog/?p=342#comments</comments>
		<pubDate>Sun, 06 Jan 2013 20:53:42 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Management]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://macstuff.beachdogs.org/blog/?p=342</guid>
		<description><![CDATA[All of the Mountain Lion 10.8 Apple Certification and Training books are now available as are all the classes. I thought I&#8217;d put up a listing of all the books for those who are looking to get certified or just brush up on their skills. As both an Apple Certified Technical Coordinator and Apple Certified [...]]]></description>
				<content:encoded><![CDATA[<p>All of the Mountain Lion 10.8 Apple Certification and Training books are now available as are all the classes.  I thought I&#8217;d put up a listing of all the books for those who are looking to get certified or just brush up on their skills.  As both an <a href="http://training.apple.com/certification/macosx" target="_blank">Apple Certified Technical Coordinator</a> and <a href="http://training.apple.com/act" target="_blank">Apple Certified Trainer</a> I can honestly say that taking the classes is the best way to learn these skills.  You will get hands on experience and be trained by people who really know their stuff and can answer your questions.  However, these books are a great brush up on your skills or to see how much you really know.  You can also use these as study guides for the Apple Certification exams.  You&#8217;ll also notice that the books are broken down into smaller sections and have all of the exercises.  If you have the equipment at home you can now go through all of the exercises yourself.  <a href="http://macstuff.beachdogs.org/blog/?page_id=302" title="Lion 10.7 Apple Certification and Training Books">Click here</a> if you are interested in the Lion Certification books.   To purchase the books for the discontinued Snow Leopard courses such as Deployment <a href="http://macstuff.beachdogs.org/blog/?page_id=195" title="Snow Leopard 10.6 Apple Certification and Training Books" target="_blank">click here</a>.</p>
<p><a href="http://training.apple.com/pdf/ml101.pdf" target="_blank"><strong>Mountain Lion 101 OS X Support Essentials</strong></a></p>
<p><a href="http://www.amazon.com/gp/product/0321887190/ref=as_li_qf_sp_asin_il?ie=UTF8&#038;tag=macstu06-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=0321887190"><img border="0" src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&#038;Format=_SL160_&#038;ASIN=0321887190&#038;MarketPlace=US&#038;ID=AsinImage&#038;WS=1&#038;tag=macstu06-20&#038;ServiceVersion=20070822" /></a><img src="http://www.assoc-amazon.com/e/ir?t=macstu06-20&#038;l=as2&#038;o=1&#038;a=0321887190" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p><iframe src="https://ws.amazon.com/widgets/q?_encoding=UTF8&#038;tag=macstu06-20&#038;asin=B00A0Q4I8O&#038;size=large&#038;ServiceVersion=20061125&#038;TemplateId=8012" style="width:102px;height:38px;" frameborder="0" scrolling="no"></iframe></p>
<p><a href="http://training.apple.com/pdf/ml201.pdf" target="_blank"><strong>Mountain Lion 201 OS Server Essentials 10.8</strong></a><br />
<a href="http://www.amazon.com/gp/product/0321887336/ref=as_li_qf_sp_asin_il?ie=UTF8&#038;tag=macstu06-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=0321887336"><img border="0" src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&#038;Format=_SL160_&#038;ASIN=0321887336&#038;MarketPlace=US&#038;ID=AsinImage&#038;WS=1&#038;tag=macstu06-20&#038;ServiceVersion=20070822" /></a><img src="http://www.assoc-amazon.com/e/ir?t=macstu06-20&#038;l=as2&#038;o=1&#038;a=0321887336" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p><iframe src="https://ws.amazon.com/widgets/q?_encoding=UTF8&#038;tag=macstu06-20&#038;asin=B00AFX722G&#038;size=large&#038;ServiceVersion=20061125&#038;TemplateId=8012" style="width:102px;height:38px;" frameborder="0" scrolling="no"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://macstuff.beachdogs.org/blog/?feed=rss2&#038;p=342</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick Applescript to check your Mac for the Flashback infection</title>
		<link>http://macstuff.beachdogs.org/blog/?p=323</link>
		<comments>http://macstuff.beachdogs.org/blog/?p=323#comments</comments>
		<pubDate>Thu, 05 Apr 2012 19:54:37 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://macstuff.beachdogs.org/blog/?p=323</guid>
		<description><![CDATA[There is lots of media exposure on the possibility that multiple Macs may be infected by a trojan called &#8220;Flashback&#8220;. This involves a vulnerability in Java that malicious websites can exploit. If you have Java on your Mac you need to make sure you have updated to the latest Java update from Apple to patch [...]]]></description>
				<content:encoded><![CDATA[<p>There is lots of media exposure on the possibility that multiple Macs may be infected by a trojan called &#8220;<a href="http://www.symantec.com/security_response/writeup.jsp?docid=2011-093016-1216-99" target="_blank">Flashback</a>&#8220;.  This involves a vulnerability in Java that malicious websites can exploit.  </p>
<p>If you have Java on your Mac you need to make sure you have updated to the latest Java update from Apple to patch this issue. The easiest way is to just run Software Update on your Mac and get the latest updates from Apple.  You can download them manually as well from Apple:</p>
<ul>
<li><a href="http://support.apple.com/kb/DL1515" target="_blank">Java for OS X Lion 2012-001</a></li>
<li><a href="http://support.apple.com/kb/DL1516" target="_blank">Java for Mac OS X 10.6 Update 7</a></li>
</ul>
<p>If you are concerned that you might already be infected F-Secure has some excellent instructions on how to find out <a href="http://www.f-secure.com/v-descs/trojan-downloader_osx_flashback_i.shtml" target="_blank">here</a>.  The Applescript below will run the commands referenced in the F-Secure article to do a quick and dirty check.  If everything comes back clean it will tell you.  If it comes back as possibly infected it will direct you (or your user) to the website for more detailed information.</p>
<p>I&#8217;m posting it as a script file for download here:<br />
<a href='http://macstuff.beachdogs.org/blog/wp-content/uploads/2012/04/Flashback_checker.scpt_1.zip'>Flashback Checker Script</a></p>
<p>Or you can copy the code from here and paste it into AppleScript Editor to run:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="applescript" style="font-family:monospace;"><span class="co1">--see if this entry exists.  If not an error will occur and be trapped</span>
<span class="kw3">try</span>
	<span class="kw1">do shell script</span> <span class="st0">&quot;defaults read /Applications/Safari.app/Contents/Info  LSEnvironment&quot;</span>
	<span class="co1">--set this variable if this entry exists</span>
	<span class="kw3">set</span> LSE <span class="kw3">to</span> <span class="st0">&quot;true&quot;</span>
<span class="kw3">on</span> <span class="kw3">error</span> errmsg
	<span class="co1">--set this variable if the error contains the message &quot;does not exist&quot;</span>
	<span class="kw3">if</span> errmsg <span class="kw2">contains</span> <span class="st0">&quot;does not exist&quot;</span> <span class="kw3">then</span>
		<span class="kw3">set</span> LSE <span class="kw3">to</span> <span class="st0">&quot;false&quot;</span>
	<span class="kw3">end</span> <span class="kw3">if</span>
<span class="kw3">end</span> <span class="kw3">try</span>
<span class="co1">--search Firefox for infections</span>
<span class="kw3">try</span>
	<span class="kw1">do shell script</span> <span class="st0">&quot;defaults read /Applications/Firefox.app/Contents/Info  LSEnvironment&quot;</span>
	<span class="co1">--set this variable if this entry exists</span>
	<span class="kw3">set</span> FLSE <span class="kw3">to</span> <span class="st0">&quot;true&quot;</span>
<span class="kw3">on</span> <span class="kw3">error</span> errmsg
	<span class="co1">--set this variable if the error contains the message &quot;does not exist&quot;</span>
	<span class="kw3">if</span> errmsg <span class="kw2">contains</span> <span class="st0">&quot;does not exist&quot;</span> <span class="kw3">then</span>
		<span class="kw3">set</span> FLSE <span class="kw3">to</span> <span class="st0">&quot;false&quot;</span>
	<span class="kw3">end</span> <span class="kw3">if</span>
<span class="kw3">end</span> <span class="kw3">try</span>
<span class="co1">--see if this entry exists.  If not an error will occur and be trapped</span>
<span class="kw3">try</span>
	<span class="kw1">do shell script</span> <span class="st0">&quot;defaults read ~/.MacOSX/environment DYLD_INSERT_LIBRARIES&quot;</span>
	<span class="kw3">set</span> DLib <span class="kw3">to</span> <span class="st0">&quot;true&quot;</span>
<span class="kw3">on</span> <span class="kw3">error</span> errmsg
	<span class="co1">--set this variable if the error contains the message &quot;does not exist&quot;</span>
	<span class="kw3">if</span> errmsg <span class="kw2">contains</span> <span class="st0">&quot;does not exist&quot;</span> <span class="kw3">then</span>
		<span class="kw3">set</span> DLib <span class="kw3">to</span> <span class="st0">&quot;false&quot;</span>
	<span class="kw3">end</span> <span class="kw3">if</span>
<span class="kw3">end</span> <span class="kw3">try</span>
<span class="co1">--if all variables are false then the machine isn't infected</span>
<span class="kw3">if</span> LSE <span class="kw3">is</span> <span class="st0">&quot;false&quot;</span> <span class="kw2">and</span> DLib <span class="kw3">is</span> <span class="st0">&quot;false&quot;</span> <span class="kw2">and</span> FLSE <span class="kw3">is</span> <span class="st0">&quot;false&quot;</span> <span class="kw3">then</span>
	<span class="kw1">display dialog</span> <span class="st0">&quot;You are not infected with Flashback&quot;</span>
	<span class="co1">--if any variable is true the machine may be infected and needs closer inspection</span>
<span class="kw3">else</span> <span class="kw3">if</span> LSE <span class="kw3">is</span> <span class="st0">&quot;true&quot;</span> <span class="kw2">or</span> DLib <span class="kw3">is</span> <span class="st0">&quot;true&quot;</span> <span class="kw2">or</span> FLSE <span class="kw3">is</span> <span class="st0">&quot;true&quot;</span> <span class="kw3">then</span>
	<span class="kw1">display dialog</span> <span class="st0">&quot;You may have the Flashback infection&quot;</span> <span class="sy0">&amp;</span> <span class="kw3">return</span> <span class="sy0">&amp;</span> <span class="st0">&quot;Go to following URL for more information:&quot;</span> <span class="sy0">&amp;</span> <span class="kw3">return</span> <span class="sy0">&amp;</span> <span class="kw3">return</span> <span class="sy0">&amp;</span> <span class="st0">&quot;http://www.f-secure.com/v-descs/trojan-downloader_osx_flashback_i.shtml&quot;</span>
<span class="kw3">end</span> <span class="kw3">if</span></pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://macstuff.beachdogs.org/blog/?feed=rss2&#038;p=323</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Creating local snapshots in Time Machine in Lion 10.7</title>
		<link>http://macstuff.beachdogs.org/blog/?p=316</link>
		<comments>http://macstuff.beachdogs.org/blog/?p=316#comments</comments>
		<pubDate>Thu, 17 Nov 2011 19:33:41 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Management]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[shell scripts]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[time machine]]></category>

		<guid isPermaLink="false">http://macstuff.beachdogs.org/blog/?p=316</guid>
		<description><![CDATA[With the release of Lion Apple has added a new, somewhat hidden, ability to Time Machine. The ability to do local snapshots. Basically, when you are away from your Time Machine disc and have this enabled Lion will create your hourly snapshots locally instead of on your backup drive. Once you re-connect the drive it [...]]]></description>
				<content:encoded><![CDATA[<p>With the release of Lion Apple has added a new, somewhat hidden, ability to Time Machine. The ability to do local snapshots.  Basically, when you are away from your Time Machine disc and have this enabled Lion will create your hourly snapshots locally instead of on your backup drive.  Once you re-connect the drive it will move them over to your drive and wipe them off the local disc.</p>
<p>This is a great service for laptop users.  Now you can have those hourly snapshots created no matter where you are.  So, if you make some changes to a document while you&#8217;re away those changes will still be added to your Time Machine backup. </p>
<p>To enable these local snapshots you have use the new command-line tool for Time Machine named <code>tmutil</code>. </p>
<p>To enable local snapshots:</p>
<p><code>sudo tmutil enablelocal</code></p>
<p>To disable them AND clear all the local snapshots:</p>
<p><code>sudo tmutil disablelocal</code></p>
<p>You can confirm that you&#8217;ve enabled local snapshots by opening System Preferences > Time Machine and looking for the line circled in the image.</p>
<p><a href="http://macstuff.beachdogs.org/blog/wp-content/uploads/2011/11/localtmsnaps.png"><img src="http://macstuff.beachdogs.org/blog/wp-content/uploads/2011/11/localtmsnaps-300x200.png" alt="Local Time Machine Snapshots" title="" width="300" height="200" class="aligncenter size-medium wp-image-317" /></a></p>
<p>The <code>tmutil</code> utility has a bunch of other useful commands that allow you to enable or disable backups, start and stop backups, choose a new disk, etc.  Type <code>man tmutil</code> to see the whole list.  I can see this tool being used by lots of system administrators in scripts.</p>
<p>Apple also has a nice KB article explaining this feature <a href="http://support.apple.com/kb/HT4878" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://macstuff.beachdogs.org/blog/?feed=rss2&#038;p=316</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hiding old purchases in the iTunes/Mac App stores</title>
		<link>http://macstuff.beachdogs.org/blog/?p=313</link>
		<comments>http://macstuff.beachdogs.org/blog/?p=313#comments</comments>
		<pubDate>Tue, 15 Nov 2011 17:59:22 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://macstuff.beachdogs.org/blog/?p=313</guid>
		<description><![CDATA[Just about everyone with an iOS device has bought or gotten free apps that they thought would be cool or useful and then decided they didn&#8217;t need it. Deleting from your device is easy but what about your iTunes library? Especially now with iCloud keeping track of everything it&#8217;s not so obvious. It&#8217;s an especially [...]]]></description>
				<content:encoded><![CDATA[<p>Just about everyone with an iOS device has bought or gotten free apps that they thought would be cool or useful and then decided they didn&#8217;t need it.  Deleting from your device is easy but what about your iTunes library?  Especially now with iCloud keeping track of everything it&#8217;s not so obvious.  It&#8217;s an especially annoying thing when you keep seeing updates for all those apps showing up in the various App stores.  With the release of iTunes 10.5 you can now hide those apps from view AND from updating.</p>
<p>The technique is basically the same in iTunes as well as on your device:</p>
<ol>
<li>Click on the iTunes Store</li>
<li>Click the Purchased link on the far right</li>
<li>Pick your content (Music, Books, Apps, etc.)</li>
<li>Hover over the item you want to hide until you see the “X”</li>
<li>Click the “X” to hide that purchase</li>
</ol>
<p>Here are the links to the Apple KB articles on both the iTunes and Mac App stores and how to hide the unwanted apps.</p>
<p><a href="http://support.apple.com/kb/HT4919">iTunes Store: Hiding and unhiding purchases</a></p>
<p><a href="http://support.apple.com/kb/HT4928">Mac App Store: Hiding and unhiding purchases</a></p>
]]></content:encoded>
			<wfw:commentRss>http://macstuff.beachdogs.org/blog/?feed=rss2&#038;p=313</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Viewing or hiding hidden files in the Finder using AppleScript</title>
		<link>http://macstuff.beachdogs.org/blog/?p=293</link>
		<comments>http://macstuff.beachdogs.org/blog/?p=293#comments</comments>
		<pubDate>Fri, 05 Nov 2010 18:30:31 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://macstuff.beachdogs.org/blog/?p=293</guid>
		<description><![CDATA[Mac OS X has a lot of files that are hidden from view in the Finder. They are hidden for a very good reason, which is most of them are system files that you don&#8217;t need to mess with if you want your computer to keep working well. However, there are occasions where it would [...]]]></description>
				<content:encoded><![CDATA[<p>Mac OS X has a lot of files that are hidden from view in the Finder.  They are hidden for a very good reason, which is most of them are system files that you don&#8217;t need to mess with if you want your computer to keep working well.  However, there are occasions where it would nice to be able to view these files in the Finder.  </p>
<p>This script lets you toggle the view on and off.  So, you can turn it on, do what you need and then turn it off.  </p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="applescript" style="font-family:monospace;"><span class="kw3">try</span>
	<span class="kw3">set</span> toggleView <span class="kw3">to</span> <span class="br0">&#40;</span><span class="kw1">do shell script</span> <span class="st0">&quot;defaults read com.apple.Finder AppleShowAllFiles&quot;</span><span class="br0">&#41;</span>
<span class="kw3">on</span> <span class="kw3">error</span>
	<span class="kw3">set</span> toggleView <span class="kw3">to</span> <span class="st0">&quot;NO&quot;</span>
<span class="kw3">end</span> <span class="kw3">try</span>
<span class="kw3">if</span> toggleView <span class="kw3">is</span> <span class="st0">&quot;NO&quot;</span> <span class="kw2">or</span> toggleView <span class="kw3">is</span> <span class="st0">&quot;0&quot;</span> <span class="kw3">then</span>
	<span class="kw3">set</span> br <span class="kw3">to</span> <span class="kw1">display dialog</span> <span class="st0">&quot;Showing hidden files is disabled.&quot;</span> <span class="sy0">&amp;</span> <span class="kw3">return</span> <span class="sy0">&amp;</span> <span class="st0">&quot;Would you like to enable it?&quot;</span> <span class="kw1">buttons</span> <span class="br0">&#123;</span><span class="st0">&quot;Yes&quot;</span>, <span class="st0">&quot;No&quot;</span><span class="br0">&#125;</span> default button <span class="br0">&#123;</span><span class="st0">&quot;No&quot;</span><span class="br0">&#125;</span>
	<span class="kw3">set</span> theAnswer <span class="kw3">to</span> <span class="kw2">the</span> button returned <span class="kw3">of</span> br
	<span class="kw3">if</span> theAnswer <span class="kw3">is</span> <span class="st0">&quot;Yes&quot;</span> <span class="kw3">then</span>
		<span class="kw1">do shell script</span> <span class="st0">&quot;defaults write com.apple.Finder AppleShowAllFiles YES&quot;</span>
		<span class="kw1">do shell script</span> <span class="st0">&quot;killall Finder&quot;</span>
		<span class="kw1">display dialog</span> <span class="st0">&quot;Showing hidden files has been enabled&quot;</span> <span class="kw1">buttons</span> <span class="br0">&#123;</span><span class="st0">&quot;Ok&quot;</span><span class="br0">&#125;</span> giving up <span class="kw2">after</span> 5
	<span class="kw3">end</span> <span class="kw3">if</span>
<span class="kw3">else</span>
	<span class="kw3">if</span> toggleView <span class="kw3">is</span> <span class="st0">&quot;YES&quot;</span> <span class="kw2">or</span> toggleView <span class="kw3">is</span> <span class="st0">&quot;1&quot;</span> <span class="kw3">then</span>
		<span class="kw3">set</span> br <span class="kw3">to</span> <span class="kw1">display dialog</span> <span class="st0">&quot;Showing hidden files is enabled.&quot;</span> <span class="sy0">&amp;</span> <span class="kw3">return</span> <span class="sy0">&amp;</span> <span class="st0">&quot;Would you like to disable it?&quot;</span> <span class="kw1">buttons</span> <span class="br0">&#123;</span><span class="st0">&quot;Yes&quot;</span>, <span class="st0">&quot;No&quot;</span><span class="br0">&#125;</span> default button <span class="br0">&#123;</span><span class="st0">&quot;Yes&quot;</span><span class="br0">&#125;</span>
		<span class="kw3">set</span> theAnswer <span class="kw3">to</span> <span class="kw2">the</span> button returned <span class="kw3">of</span> br
		<span class="kw3">if</span> theAnswer <span class="kw3">is</span> <span class="st0">&quot;Yes&quot;</span> <span class="kw3">then</span>
			<span class="kw1">do shell script</span> <span class="st0">&quot;defaults write com.apple.Finder AppleShowAllFiles NO&quot;</span>
			<span class="kw1">do shell script</span> <span class="st0">&quot;killall Finder&quot;</span>
			<span class="kw1">display dialog</span> <span class="st0">&quot;Showing hidden files has been disabled&quot;</span> <span class="kw1">buttons</span> <span class="br0">&#123;</span><span class="st0">&quot;Ok&quot;</span><span class="br0">&#125;</span> giving up <span class="kw2">after</span> 5
		<span class="kw3">end</span> <span class="kw3">if</span>
	<span class="kw3">end</span> <span class="kw3">if</span>
<span class="kw3">end</span> <span class="kw3">if</span></pre></div></div>
<p>Copy the code into AppleScript Editor and then save it out as an application.  Double clicking on it will bring up a dialog box telling you the current state of viewing hidden files and gives you the option of switching it.  Since you have to restart the Finder after you make this change you&#8217;ll see the Finder quit and restart.</p>
]]></content:encoded>
			<wfw:commentRss>http://macstuff.beachdogs.org/blog/?feed=rss2&#038;p=293</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Opening a FaceTime connection via AppleScript/Automator</title>
		<link>http://macstuff.beachdogs.org/blog/?p=280</link>
		<comments>http://macstuff.beachdogs.org/blog/?p=280#comments</comments>
		<pubDate>Fri, 22 Oct 2010 15:19:08 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://macstuff.beachdogs.org/blog/?p=280</guid>
		<description><![CDATA[The new FaceTime video chat beta is now available from Apple. It allows you to video chat with anyone using that app on any Mac running the service as well as an iPhone 4 or the latest iPod running iOS 4 or better. It&#8217;s extremely easy and I can see a lot of great uses [...]]]></description>
				<content:encoded><![CDATA[<p>The new <a href="http://www.apple.com/mac/facetime/" target="_blank">FaceTime</a> video chat beta is now available from Apple.  It allows you to video chat with anyone using that app on any Mac running the service as well as an iPhone 4 or the latest iPod running iOS 4 or better.  It&#8217;s extremely easy  and I can see a lot of great uses for it.</p>
<p>One of the very cool things about it is that you can use a URL to initiate a FaceTime call.  As described in this <a href="http://hints.macworld.com/article.php?story=20101021131026694" target="_blank">Mac OS X Hints</a> article just use the following syntax:</p>
<ul>
<li>facetime://appleid</li>
<li>facetime://email@address</li>
<li>facetime://phone# as a URL in Safari&#8217;s address bar.</li>
</ul>
<p>Since you can use a URL that means you can use AppleScript to connect to a session or Automator to even schedule and initiate a call using iCal Alarms.</p>
<p>The only line you need is this:</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="pascal" style="font-family:monospace;">open location <span class="st0">&quot;facetime://joe@emailaddress.com&quot;</span></pre></div></div>
<p>Obviously you can use any of the URL syntaxes listed above in place of the email address.  Save it as a script/application/workflow and you&#8217;re ready to chat!</p>
]]></content:encoded>
			<wfw:commentRss>http://macstuff.beachdogs.org/blog/?feed=rss2&#038;p=280</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to back up Address Book automatically</title>
		<link>http://macstuff.beachdogs.org/blog/?p=269</link>
		<comments>http://macstuff.beachdogs.org/blog/?p=269#comments</comments>
		<pubDate>Tue, 19 Oct 2010 17:29:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Automator]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[shell scripts]]></category>

		<guid isPermaLink="false">http://macstuff.beachdogs.org/blog/?p=269</guid>
		<description><![CDATA[For quite a while now you&#8217;ve been able to manually backup your entire Address Book. This has saved many people massive heartache when they&#8217;ve had their machines go down/did an OS re-install or various other scary things (Yeah, I know, if you have MobileMe you don&#8217;t need to do this but most people don&#8217;t). The [...]]]></description>
				<content:encoded><![CDATA[<p>For quite a while now you&#8217;ve been able to manually backup your entire Address Book.  This has saved many people massive heartache when they&#8217;ve had their machines go down/did an OS re-install or various other scary things (Yeah, I know, if you have MobileMe you don&#8217;t need to do this but most people don&#8217;t).</p>
<p>The big issue with backing up this way, as with any backup, is getting people to do it and do it regularly.  To backup your Address Book all you need to do it copy the /Users/&#8221;user name&#8221;/Library/Application Support/AddressBook folder in each users home directory.  Simple, direct and easy.  But you may have noticed that when you do a manual backup via the Address Book application you get a file with the &#8220;.abbu&#8221; extension.  That&#8217;s just the AddressBook folder renamed and getting that extension.  The beauty of having this file is when you want to restore your Address Book via the menu you can just point to this file.  Otherwise you have to drag the backed up folder to the original spot.  Again, not hard to do but some users have problems doing things that go outside of clicking on a menu item.</p>
<p>So, to back up your Address Book and put it in nice &#8220;.abbu&#8221; file for easy restores just do this:<br />
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re2">filedate</span>=<span class="sy0">`/</span>bin<span class="sy0">/</span><span class="kw2">date</span> <span class="st0">&quot;+%m-%d-%y&quot;</span><span class="sy0">`</span>
<span class="kw2">cp</span> <span class="re5">-R</span> <span class="st0">&quot;/Users/username/Library/Application Support/AddressBook&quot;</span> <span class="st0">&quot;/Users/username/Documents/Address Book Backups/Address Book Backup <span class="es2">$filedate</span>.abbu&quot;</span></pre></div></div></p>
<p>Obviously you change the &#8220;username&#8221; section to the name of the home directory.  Also, you can change the backup folder to what ever you want.  This script just appends the current date to the backup so you can keep multiple backups if needed.</p>
<p>To run this you have a bunch of options:</p>
<ol>
<li>You can run it via cron or launchd.  Just put the two lines together and seperated by a &#8220;;&#8221;.
<ul>
You can create the launchd item here &#8211; <a href="http://plist.spotmac.de/" target="_blank">http://plist.spotmac.de/</a></ul>
</li>
<li>You can run it as an Automator iCal plug-in.  Just drag over the &#8220;Run Shell Script&#8221; action and paste in the script.  Then schedule it via iCal.</li>
<li>You can save it as a script and run it from what ever automation application you prefer.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://macstuff.beachdogs.org/blog/?feed=rss2&#038;p=269</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check how much disk space is left using AppleScript</title>
		<link>http://macstuff.beachdogs.org/blog/?p=262</link>
		<comments>http://macstuff.beachdogs.org/blog/?p=262#comments</comments>
		<pubDate>Thu, 14 Oct 2010 19:55:15 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://macstuff.beachdogs.org/blog/?p=262</guid>
		<description><![CDATA[This is a fairly simple one but someone out there may need this. My boss recently had a weird problem where his disk was suddenly filling up. A reboot fixed it but we were having a hard time finding the process that was suddenly eating 15 GB of disk space with no warning. So, I [...]]]></description>
				<content:encoded><![CDATA[<p>This is a fairly simple one but someone out there may need this.  My boss recently had a weird problem where his disk was suddenly filling up.  A reboot fixed it but we were having a hard time finding the process that was suddenly eating 15 GB of disk space with no warning.  So, I came up with this script that just gets how much free space is left on his disk.  We ran it as a cron job every 15 minutes so we could hopefully get some warning before things filled up and became unusable.  The script displays a warning when the disk has 5% or less of free space.  You can edit it for your own uses.  It also has the ability to email the report to you.  Comment out the section you don&#8217;t want to use.  To have it send emails when you are not logged in use something like <a href="http://www.peterborgapps.com/lingon/">Lingon</a> for a launchd item or <a href="http://code.google.com/p/cronnix/">Cronnix</a> for a cron job.  Save your script in the appropriate location and have the launchd/cron job call it using the &#8220;osascript&#8221; command.  So, if the file was saved in the /Users/Shared folder the line would read:</p>
<p>osascript /Users/Shared/disk_check.scpt</p>
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://macstuff.beachdogs.org/blog/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="applescript" style="font-family:monospace;"><span class="kw3">set</span> mysubject <span class="kw3">to</span> <span class="st0">&quot;Disk Usage Report&quot;</span>
<span class="kw3">set</span> myrecipient <span class="kw3">to</span> <span class="st0">&quot;sysadmin@example.com&quot;</span>
<span class="co1">--get the amount of free space</span>
<span class="kw3">set</span> dSize <span class="kw3">to</span> <span class="br0">&#40;</span><span class="kw1">do shell script</span> <span class="st0">&quot;df -h / | grep %&quot;</span><span class="br0">&#41;</span> <span class="kw2">as</span> <span class="kw1">text</span>
<span class="co1">--pull out the percent used from the result</span>
<span class="kw3">set</span> theTotal <span class="kw3">to</span> word 6 <span class="kw3">in</span> dSize <span class="kw2">as</span> <span class="kw1">number</span>
<span class="co1">--if the total used space is 95% or more put up a warning. Comment out if running the email section</span>
<span class="kw3">if</span> theTotal <span class="kw3">is</span> <span class="kw2">greater</span> than <span class="kw2">or</span> <span class="kw2">equal</span> <span class="kw3">to</span> 95 <span class="kw3">then</span>
	<span class="kw1">display dialog</span> <span class="st0">&quot;Your disk is &quot;</span> <span class="sy0">&amp;</span> theTotal <span class="sy0">&amp;</span> <span class="st0">&quot;% full&quot;</span>
<span class="kw3">end</span> <span class="kw3">if</span>
<span class="co1">--comment out this section if no email is desired.</span>
<span class="kw3">set</span> mybody <span class="kw3">to</span> <span class="br0">&#40;</span><span class="st0">&quot;Free Space: &quot;</span> <span class="sy0">&amp;</span> theTotal <span class="sy0">&amp;</span> <span class="st0">&quot;%&quot;</span><span class="br0">&#41;</span>
<span class="kw1">do shell script</span> <span class="br0">&#40;</span><span class="st0">&quot;echo <span class="es0">\&quot;</span>&quot;</span> <span class="sy0">&amp;</span> mybody <span class="sy0">&amp;</span> <span class="st0">&quot;<span class="es0">\&quot;</span> | mail -s <span class="es0">\&quot;</span>&quot;</span> <span class="sy0">&amp;</span> mysubject <span class="sy0">&amp;</span> <span class="st0">&quot;<span class="es0">\&quot;</span> &quot;</span> <span class="sy0">&amp;</span> myrecipient<span class="br0">&#41;</span></pre></div></div>
<p>Click here to download a copy: <a href='http://macstuff.beachdogs.org/blog/wp-content/uploads/2010/10/disk_check.scpt_.zip'>Disk Check script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://macstuff.beachdogs.org/blog/?feed=rss2&#038;p=262</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Disable Directory Listing for User Sites Folder in Macintosh OS X</title>
		<link>http://macstuff.beachdogs.org/blog/?p=247</link>
		<comments>http://macstuff.beachdogs.org/blog/?p=247#comments</comments>
		<pubDate>Thu, 08 Jul 2010 14:51:52 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Management]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://macstuff.beachdogs.org/blog/?p=247</guid>
		<description><![CDATA[I&#8217;ve been using the &#8220;Sites&#8221; folder in my local home directory for some web development testing recently. I had a couple of directories created that didn&#8217;t include an &#8220;index.html&#8221; file. That means that anyone hitting the directory itself could list the contents and see all the other files I was working on in there. Not [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been using the &#8220;Sites&#8221; folder in my local home directory for some web development testing recently.  I had a couple of directories created that didn&#8217;t include an &#8220;index.html&#8221; file.  That means that anyone hitting the directory itself could list the contents and see all the other files I was working on in there.  Not a major problem for what I was doing but a security issue none the less.  After a quick bit of research I found it was quite easy to disable this at the command line.</p>
<p>Open Terminal and type <code>cd /private/etc/apache2/users</code>.  Inside the &#8220;users&#8221; folder will be conf files for each of the users with accounts on the machine. So, if we have a user with the short name of &#8220;joe&#8221; on the machine there will be a file in there named &#8220;joe.conf&#8221;.</p>
<p>To edit this file you need to have root permissions.  So open it using <code>sudo</code>.  I prefer using <code>pico</code> as my editor but use whichever works for you.  The command below assumes you are already in the &#8220;users&#8221; folder.</p>
<p><code>sudo pico joe.conf</code></p>
<p>You&#8217;ll see something like this:<br />
<code><directory "/Users/joe/Sites/"><br />
Options Indexes MultiViews<br />
AllowOverride None<br />
Order allow,deny<br />
Allow from all<br />
</directory><br />
</code></p>
<p>Navigate down to the line <code>Options Indexes MultiViews</code>.  Carefully delete the <code>Indexes</code> part of the line and save the file.  Now restart Apache, either by going to System Preferences and turning off and then back on Web Sharing, or at the command line by typing <code>sudo apachectl restart</code>.</p>
<p>Now navigate to a directory in your &#8220;Sites&#8221; folder that doesn&#8217;t have an index file.  You should get a &#8220;403 No permissions&#8221; error unless you specify a file.  Much more secure.  Note that you&#8217;ll need to do this individually for each account on the machine.  </p>
<p>I&#8217;ve tested this with Snow Leopard and I&#8217;m betting it will work with Leopard.  I&#8217;m not sure if versions of the OS below 10.5 support this feature.</p>
]]></content:encoded>
			<wfw:commentRss>http://macstuff.beachdogs.org/blog/?feed=rss2&#038;p=247</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
