<?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>Surgical Diversions &#187; blogging</title>
	<atom:link href="http://thefragens.com/blog/tag/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://thefragens.com/blog</link>
	<description>My time out of the operating room.</description>
	<lastBuildDate>Sun, 13 May 2012 18:52:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Snailjacked</title>
		<link>http://thefragens.com/blog/2009/05/snailjacked/</link>
		<comments>http://thefragens.com/blog/2009/05/snailjacked/#comments</comments>
		<pubDate>Tue, 12 May 2009 15:25:53 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=621</guid>
		<description><![CDATA[Well, I&#8217;ve found out that someone is hijacking my posts with no attribution and no permission. I&#8217;m not even sure I understand the logic as there isn&#8217;t even any advertising there &#8212; yet. If you&#8217;re seeing anything on the domain &#8230; <a href="http://thefragens.com/blog/2009/05/snailjacked/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve found out that someone is hijacking my posts with no attribution and no permission. I&#8217;m not even sure I understand the logic as there isn&#8217;t even any advertising there &#8212; yet.</p>

<p>If you&#8217;re seeing anything on the domain computersoftware.snailjack.com, it&#8217;s a rip off from somewhere else. Do me a favor and don&#8217;t click on any links, don&#8217;t support there advertising and just don&#8217;t go on their site.</p>

<p>Other than restricting my RSS feed I&#8217;m not sure what I can do to stop it.</p>

<p>Don&#8217;t support anything from the domain SNAILJACK.COM!</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2009/05/snailjacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VoodooPad Pro Blogging</title>
		<link>http://thefragens.com/blog/2009/05/voodoopad-pro-blogging/</link>
		<comments>http://thefragens.com/blog/2009/05/voodoopad-pro-blogging/#comments</comments>
		<pubDate>Thu, 07 May 2009 21:54:59 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[mac-osx]]></category>
		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=619</guid>
		<description><![CDATA[Please note that VoodooPad Pro has been renamed to VoodooPad. It&#8217;s time to package up all my VoodooPad blogging scripts and assorted web export plugins so that I can Remember what the heck I was thinking. Remember what all these &#8230; <a href="http://thefragens.com/blog/2009/05/voodoopad-pro-blogging/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2006/11/voodoopad-automation/' rel='bookmark' title='VoodooPad Automation'>VoodooPad Automation</a> <small>I&#8217;ve finally gotten it working. I&#8217;ve now got a Ruby...</small></li>
<li><a href='http://thefragens.com/blog/2006/07/voodoopad-web-export-goodness/' rel='bookmark' title='VoodooPad Web Export Goodness'>VoodooPad Web Export Goodness</a> <small>As laziness is the mother of invention, or something like...</small></li>
<li><a href='http://thefragens.com/blog/2006/11/voodoopad-blogging/' rel='bookmark' title='VoodooPad Blogging'>VoodooPad Blogging</a> <small>Well, it&#8217;s not really VoodooPad blogging but it&#8217;s pretty close....</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Please note that VoodooPad <span style="text-decoration: line-through;">Pro</span> has been renamed to VoodooPad.</p>

<p>It&#8217;s time to package up all my <a href="http://flyingmeat.com/voodoopad/">VoodooPad</a> blogging scripts and assorted web export plugins so that I can</p>

<ol>
<li>Remember what the heck I was thinking.</li>
<li>Remember what all these pieces were supposed to accomplish as a whole.</li>
<li>Provide some sort of reference to others interested in this stuff.</li>
</ol>

<p><strong>Concept:</strong> To use VoodooPad as a CMS for a web site, allowing for static sites and inclusion of blog-style concatenated page. The blog-style page was originally intended as a &#8220;News&#8221; page of a static business site. SEO optimization necessitating the addition of a page with re-newing content. <em>Google likes it more.</em></p>

<p>Disclaimer: I like <a href="http://daringfireball.net/projects/markdown/">Markdown</a> and built these scripts around the fact that the VP document is essentially always formatted in plain text. Images need to be added using links.</p>

<p>I will include a <a href="http://thefragens.com/pub/sample-project.zip">sample package</a> that contains a VP document, a web export plugin and several script plugins. The site the sample is based upon is at.</p>

<p>VoodooPad is a requirement as the meta data and triggers are necessary in the creation of the files. My workflow is as follows.</p>

<ol>
<li>Create new page/post.</li>
<li>Run script plugin <code>Blog &gt; Meta Markup - HomepageMeta</code> on new page.</li>
<li>Run script plugin <code>Blog &gt; Make Homepage and Feed</code></li>
<li>Run web export.</li>
<li>FTP files up to site. I use <a href="http://www.panic.com/transmit/">Transmit</a>. It&#8217;s also a great app.</li>
</ol>

<p>The script will move all the created files into a folder structure so that the file structure on the computer will match the web site structure.</p>

<p><strong>VoodooPad document</strong>
<strong>Item meta</strong> data is contained in the <code>HomepageMeta</code> page of the document. This is where most of the personalized info on the site is contained.</p>

<p>In the VP document, <em>tags</em> are used to create a pseudo-folder structure. This means that a page may only have one tag. Some pages are not exported but are used as reference, ie. links in the sidebar or the HomepageMeta page. Pages that are to be rendered at the root level of the site are tagged <code>main</code>.</p>

<p><strong>Triggers</strong> can be used to include certain information into specific pages or info on every page. I use this for things like Google Analytics which needs to be on every page or the analytics confirmation that is only on the index.html page.</p>

<p><strong>The Web Export Plugin</strong>
Some customization of these files will be necessary for your specific site.</p>

<p>&gt; Images are kept in the web export plugin. Files like <code>robots.txt</code> that need to be at the root level are kept in a <code>root</code> folder inside the web export plugin.</p>

<ul>
<li><p><code>preflight.sh</code> - creates the actual folder hierarchy, the folders are created in the <code>preflight.sh</code> script. The <code>preflight.sh</code> script also copies files like images to the export folder.</p></li>
<li><p><code>postflight.sh</code> - can be used to rename pages that may be PHP based from <code>.html</code> to <code>.php</code></p></li>
<li><p><code>deleteVPExtra.sh</code> - deletes the <em>extra</em> pages that VoodooPad creates during a web export. No changes to this file are needed.</p></li>
<li><p><code>fixRelativePaths.sh</code> - fixes the relative URLs that occur inside of nested pages. No changes to this file are needed.</p></li>
<li><p><code>parseMetaXml.rb</code> - Parses the meta.xml file that VoodooPad creates and uses that infomation to move files into their correct folder structure on the disk and to create a valid sitemap.xml file for use with Google Sitemaps. It also creates and parses the vpDocMeta.xml file for variables.</p></li>
<li><p><code>Info.plist</code> - This file was edited to call these scripts during the web export process.</p></li>
<li><p><code>vpDocMeta.xml</code> - This file resides inside the <code>root</code> folder of the Web Export Plugin. It is created by the parseMetaXml.rb script. It contains the following data points.</p></li>
<li><code>root</code> - default value is <code>main</code>. This is the name of the tag of rendered pages that belong at the root level of the folder structure.</li>
<li><code>baseUrl</code> - This is the base URL for the site for creation of the sitemap.xml file.</li>
<li><code>isHomeIndex</code> - default value is <code>false</code>. This is only used if the the page name in VP for the index page of the site is <code>home</code>. This is true if the main page is a blog-style homepage.</li>
<li><code>noIndex</code> - default value is <code>private</code>. This is the name of a directory whose files you don&#8217;t want included in sitemap.xml.</li>
</ul>

<p><strong>Script Plugins</strong>
These are placed in the <code>~/Library/Application Support/VoodooPad/Script PlugIns/</code> folder. No changes should be required in these scripts. They will be viewable from the <code>Plugin &amp;gt; Blog</code> menu in VoodooPad.</p>

<ul>
<li><p><code>meta_markup_HomepageMeta.lua</code> - Takes the data from the page <code>HomepageMeta</code> in the VP doc and adds specific item meta data to the frontmost page.</p></li>
<li><p><code>meta_markup_update.lua</code> - Propagates changes made to the <code>HomepageMeta</code> page to all the item meta data of all pages that require them. This is only just the pages used for the blog-style page.</p></li>
<li><p><code>blog_home_atom.lua</code> - Creates the blog-style page now called <code>home</code> in the VP document and also creates a valid atom.xml feed in the output directory.</p></li>
</ul>

<p>Comments and questions are welcome. If some enterprising person wants to wrap this all up in the new plugin architecture that would be cool. I&#8217;m happy to help if I can.</p>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2006/11/voodoopad-automation/' rel='bookmark' title='VoodooPad Automation'>VoodooPad Automation</a> <small>I&#8217;ve finally gotten it working. I&#8217;ve now got a Ruby...</small></li>
<li><a href='http://thefragens.com/blog/2006/07/voodoopad-web-export-goodness/' rel='bookmark' title='VoodooPad Web Export Goodness'>VoodooPad Web Export Goodness</a> <small>As laziness is the mother of invention, or something like...</small></li>
<li><a href='http://thefragens.com/blog/2006/11/voodoopad-blogging/' rel='bookmark' title='VoodooPad Blogging'>VoodooPad Blogging</a> <small>Well, it&#8217;s not really VoodooPad blogging but it&#8217;s pretty close....</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2009/05/voodoopad-pro-blogging/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress and the iPhone</title>
		<link>http://thefragens.com/blog/2008/07/wordpress-and-the-iphone/</link>
		<comments>http://thefragens.com/blog/2008/07/wordpress-and-the-iphone/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 03:14:37 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/2008/07/wordpress-and-the-iphone/</guid>
		<description><![CDATA[So I&#8217;m trying out the latest WordPress for iPhone app and it&#8217;s pretty cool. What I&#8217;ve noticed though, because I use the Markdown plugin is that the preview shows the marked up content and not the rendered content. It would &#8230; <a href="http://thefragens.com/blog/2008/07/wordpress-and-the-iphone/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m trying out the latest WordPress for iPhone app and it&#8217;s pretty cool. What I&#8217;ve noticed though, because I use the <a href="http://daringfireball.net/projects/markdown/">Markdown</a> plugin is that the preview shows the marked up content and not the rendered content. It would be great if somehow this could be fixed. </p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2008/07/wordpress-and-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress SVN</title>
		<link>http://thefragens.com/blog/2008/02/wordpress-svn/</link>
		<comments>http://thefragens.com/blog/2008/02/wordpress-svn/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 00:45:52 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=473</guid>
		<description><![CDATA[OK, since I&#8217;ve switched over to WordPress I have to admit it&#8217;s been pretty painless. I decided to go with the SVN update process since I know it&#8217;s much easier. But the monkey wrench in the process is having to &#8230; <a href="http://thefragens.com/blog/2008/02/wordpress-svn/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2010/06/wordpress-automatic-updates/' rel='bookmark' title='WordPress Automatic Updates'>WordPress Automatic Updates</a> <small>I think I finally have the automatic updates feature of...</small></li>
<li><a href='http://thefragens.com/blog/2008/07/wordpress-and-the-iphone/' rel='bookmark' title='WordPress and the iPhone'>WordPress and the iPhone</a> <small>So I&#8217;m trying out the latest WordPress for iPhone app...</small></li>
<li><a href='http://thefragens.com/blog/2007/11/moved-to-wordpress/' rel='bookmark' title='Moved to WordPress!'>Moved to WordPress!</a> <small>Well, here I am switched over to WordPress. It&#8217;s not...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>OK, since I&#8217;ve switched over to WordPress I have to admit it&#8217;s been pretty painless. I decided to go with the <a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">SVN update process</a> since I know it&#8217;s much easier. But the monkey wrench in the process is having to switch to the new checkout for every stable release.</p>

<p>So instead of</p>

<pre><code>$ cd ./blog
$ svn up
</code></pre>

<p>I have to do the following.</p>

<pre><code>$ cd ./blog
$ svn sw http://svn.automattic.com/wordpress/tags/2.3.2/
$ svn up
</code></pre>

<p>Why isn&#8217;t there a symlink for the latest stable release? Then I could set up..</p>

<pre><code>$ svn sw http://svn.automattic.com/wordpress/tags/current
</code></pre>

<p>and be done with it.</p>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2010/06/wordpress-automatic-updates/' rel='bookmark' title='WordPress Automatic Updates'>WordPress Automatic Updates</a> <small>I think I finally have the automatic updates feature of...</small></li>
<li><a href='http://thefragens.com/blog/2008/07/wordpress-and-the-iphone/' rel='bookmark' title='WordPress and the iPhone'>WordPress and the iPhone</a> <small>So I&#8217;m trying out the latest WordPress for iPhone app...</small></li>
<li><a href='http://thefragens.com/blog/2007/11/moved-to-wordpress/' rel='bookmark' title='Moved to WordPress!'>Moved to WordPress!</a> <small>Well, here I am switched over to WordPress. It&#8217;s not...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2008/02/wordpress-svn/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

