<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>The Life and Times of Liza Olmsted &#187; web-fu</title>
	<atom:link href="http://wp.intelligentlizard.com/tag/web-fu/feed/" rel="self" type="application/rss+xml" />
	<link>http://wp.intelligentlizard.com</link>
	<description>Writer Extraordinaire (Unpublished)</description>
	<lastBuildDate>Sun, 29 Jan 2012 20:56:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Getting my Android to sync podcasts like an iPhone does</title>
		<link>http://wp.intelligentlizard.com/2012/01/29/getting-my-android-to-sync-podcasts-like-an-iphone-does/</link>
		<comments>http://wp.intelligentlizard.com/2012/01/29/getting-my-android-to-sync-podcasts-like-an-iphone-does/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 20:56:39 +0000</pubDate>
		<dc:creator>Liza</dc:creator>
				<category><![CDATA[tech-fu]]></category>
		<category><![CDATA[droid-fu]]></category>
		<category><![CDATA[itunes-fu]]></category>
		<category><![CDATA[web-fu]]></category>

		<guid isPermaLink="false">http://wp.intelligentlizard.com/?p=484</guid>
		<description><![CDATA[The situation:

I listen to a lot of podcasts.  I like to keep up with all of the episodes, not just the most recent one, and I like to be in control of exactly what plays and in what order.  In my iPhone (and before that, iPod) days, I used iTunes to create Smart Playlists for the different categories of podcast I want to listen to.

The problem:

I switched from iPhone to an Android (Motorola Droid X), and didn't want to have to carry several devices in my purse.  I wanted my Android to be a one-stop-shop just like the iPhone was, which meant it needed to sync podcasts.]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>The situation:</strong></p>
<p>I listen to a lot of podcasts.  I like to keep up with all of the episodes, not just the most recent one, and I like to be in control of exactly what plays and in what order.  (So stitcher is out.)  In my iPhone (and before that, iPod) days, I used iTunes to create Smart Playlists for the different categories of podcast I want to listen to.  E.g. all NPR podcasts go in one playlist, all short story podcasts go in another.  I define them like this:</p>
<div id="attachment_486" class="wp-caption aligncenter" style="width: 692px">
	<a href="http://wp.intelligentlizard.com/wp-content/uploads/2012/01/Screen-Shot-2012-01-22-at-2.35.04-PM.png"><img class=" wp-image-486  " title="iTunes Smart Playlist" src="http://wp.intelligentlizard.com/wp-content/uploads/2012/01/Screen-Shot-2012-01-22-at-2.35.04-PM.png" alt="iTunes Smart Playlist showing MediaKind = Podcast, Plays = 0, and Any of the Following: Album contains NPR, Album contains PRI, Album contains WNYC. Limit to 25 items selected by Least Recently Added, Live updating." width="692" height="400" /></a>
	<p class="wp-caption-text">my smart playlist in iTunes</p>
</div>
<p>See, it only lists podcasts, that haven&#8217;t been played, with certain names.  So if I&#8217;m in the mood for NPR, I start at the beginning of my NPR playlist.  As I play each podcast, either in iTunes or an iPod-like device, its play-count is incremented, and it no longer appears in its playlist.  The next time I sync the device with iTunes, it deletes played podcasts and loads on new unplayed ones.</p>
<p><strong>The problem:</strong></p>
<p><strong></strong>I switched from iPhone to an Android (Motorola Droid X), and didn&#8217;t want to have to carry several devices in my purse.  I wanted my Android to be a one-stop-shop just like the iPhone was, which meant it needed to sync podcasts.</p>
<p><span id="more-484"></span>My requirements were:</p>
<ul>
<li>Must be able to play podcasts in chronological order, but have multiple programs interspersed.  I.e. something like a Smart Playlist.</li>
<li>Must know when a podcast has been played, so it can be removed from the list.</li>
<li>Must not decide the podcast has been played when it&#8217;s only been started.</li>
<li>Must be able to resume a podcast in the middle&#8211;I want to start listening to an episode of <em>Wait, Wait Don&#8217;t Tell Me</em>, switch to a short story, and then resume <em>Wait, Wait</em> where I left off, without any effort on my part.  (The Android&#8217;s default music player doesn&#8217;t resume files when you listen to something else in the middle.  In other words, it assumes all audio is music.  Weak.)</li>
<li>If it syncs, the sync needs to be quick an easy.  No more than a couple of clicks, and shouldn&#8217;t take much longer than it takes to copy the files over USB.</li>
<li>If it syncs, it needs to be a two-way sync.  So listening to a file on the phone increments the play-count on the computer.  Listening on the computer removes it from the playlist, so it will also be removed from the phone at the next sync.  Without this, syncing is useless.</li>
<li>Sync music, too.</li>
<li>If it syncs to a computer, it has to sync to a Mac, because almost all of my home computers run Mac OS (and all of my music is stored on a Mac).</li>
</ul>
<p>And my nice-to-haves:</p>
<ul>
<li>A quick-rewind, to go back 7, 15, or 30 seconds with a single click (which iTunes on the iPhone supports)</li>
<li>Sync to a computer, so the computer can download podcasts quickly, instead of the phone downloading slowly.</li>
<li>Nice widget so I can run it easily.</li>
</ul>
<p><strong>The solution:</strong></p>
<p>After trying a number of different programs, both for music playing and music syncing, here&#8217;s the combination I came up with:</p>
<ul>
<li><a title="PlayerPro on Android Marketplace" href="https://market.android.com/details?id=com.tbig.playerpro&amp;hl=en">PlayerPro</a> by Blaston LLC</li>
<li><a title="iSyncr for Mac" href="https://market.android.com/details?id=com.jrtstudio.iSyncr4Mac&amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5qcnRzdHVkaW8uaVN5bmNyNE1hYyJd" target="_blank">iSyncr for Mac</a> by JRTStudio</li>
<li><a title="Simple Last.fm Scrobbler" href="https://market.android.com/details?id=com.adam.aslfms&amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5hZGFtLmFzbGZtcyJd" target="_blank">Simple Last.fm Scrobbler</a> by Adam Renberg (any scrobbler would do, but this was the only one I found when I started looking)</li>
<li>iTunes on my iMac</li>
</ul>
<p>Here&#8217;s how it works:</p>
<p>iTunes downloads the podcasts, and I have Smart Playlists that define exactly which podcasts I want.  <em>One trick:</em> limit to 25 least recently added items per playlist.  It&#8217;s unlikely I&#8217;ll ever want to listen to that many in a row, and that way I&#8217;m not using up a ton of space for no good reason.</p>
<p>I start iTunes on the computer, then plug in my Droid X via USB.  (If you plug it in before opening iTunes, odd things happen and you have to reboot.)</p>
<p>I double-click the icon for the phone&#8217;s SD card when it appears, and there is iSyncr.app.  iSyncr on the phone also includes a Mac OS app, which resides on the phone itself.  All updates happen on the phone.  Smart!</p>
<p>I run iSyncr.app.  It comes up with a list of all of my playlists in iTunes (including smart playlists!), and I check which ones I want to sync to the phone.  These are remembered every time I open the app.  One key: I checked &#8220;remove files from phone when they&#8217;re removed from the playlist&#8221;.  This is the two-way sync.  The first time, it just copies all the files to the phone. Then I quit.</p>
<p>I disconnect the phone (safely, by dragging both phone icons to the trash before unplugging the USB).  Then whenever I feel like it, I listen to the playlists on PlayerPro.  PlayerPro has the best UI for listening to podcasts and playlists.</p>
<p>Each song I listen to is scrobbled (in the background) by Simple Last.fm Scrobbler (to the last.fm website; you&#8217;ll need an account).</p>
<p>When I connect the phone to the computer again, and run iSyncr again, it fetches the scrobble-list and uses that to determine which files I played, and increments the play count in iTunes.  iTunes then removes played files from the playlist, and iSyncr follows suit.</p>
<p><strong>Caveats:</strong></p>
<p><strong></strong>Sometimes I need to run iSyncr twice, because it reports play-count changes to iTunes <em>after</em> it fetches the playlists, so it misses anything that updated due to the play-count change.</p>
<p>And sometimes iSyncr doesn&#8217;t properly increment the play count of a file that I listened to in the course of more than two sessions.  I.e. if I listen to the first third of a podcast, then listen to some other file, then go back and listen to the next third, then listen to some other file, and then go back to finish the podcast, it doesn&#8217;t always register that it&#8217;s been finished.  This is a rare enough occurrence that I haven&#8217;t complained, but it does mean that I have to go into iTunes and correct it occasionally.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.intelligentlizard.com/2012/01/29/getting-my-android-to-sync-podcasts-like-an-iphone-does/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modifying the query used by The Loop in Thesis, to use Custom Post Types</title>
		<link>http://wp.intelligentlizard.com/2012/01/22/modifying-the-query-used-by-the-loop-in-thesis-to-use-custom-post-types/</link>
		<comments>http://wp.intelligentlizard.com/2012/01/22/modifying-the-query-used-by-the-loop-in-thesis-to-use-custom-post-types/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 20:52:00 +0000</pubDate>
		<dc:creator>Liza</dc:creator>
				<category><![CDATA[tech-fu]]></category>
		<category><![CDATA[web-fu]]></category>

		<guid isPermaLink="false">http://wp.intelligentlizard.com/?p=467</guid>
		<description><![CDATA[Let's say you use WordPress, and Thesis, and you decided you wanted to add a custom post type (new with WP 3.0*!), for whatever reason.  Maybe you just wanted a way to differentiate book reviews from other blog posts, with a custom taxonomy called Authors** and no Categories, because they don't make sense.

You might do a web search and find these helpful links about how to make the Thesis meta boxes appear in the custom post type's edit page.  That's awesome!  But really, I want those posts to show up on my home page and in my RSS feed.  I couldn't find it documented anywhere.  There are lots of examples of how to narrow down query results in order to show only some of the normal post-type posts, but not on how to <em>add</em> posts that aren't showing up in the default search.  It turns out it's actually quite easy.]]></description>
			<content:encoded><![CDATA[<p></p>            <script type="text/javascript" src="http://wp.intelligentlizard.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>Let&#8217;s say you use WordPress, and Thesis, and you decided you wanted to add a custom post type (new with WP 3.0!), for whatever reason.  Maybe you just wanted a way to differentiate book reviews from other blog posts, with a custom taxonomy called Authors* and no Categories, because they don&#8217;t make sense.</p>
<p>You might do a web search and find <a href="http://www.kristarella.com/2010/06/wordpress-3-0-custom-post-types-taxonomies-thesis/" title="WordPress 3.0 custom post types, taxonomies &#038; Thesis - kristarella.com" target="_blank">these</a> <a href="http://www.farinspace.com/custom-post-types-with-thesis-theme/" title="Thesis Theme: Using WordPress Custom Post Types - farinspace.com" target="_blank">helpful</a> <a href="http://diythemes.com/thesis/rtfm/add-thesis-meta-boxes-custom-post-types/" title="Add Thesis Meta Boxes to Custom Post Types - DIYthemes.com" target="_blank">links</a> about how to make the Thesis meta boxes appear in the custom post type&#8217;s edit page.  That&#8217;s awesome!  But really, I want those posts to show up on my home page and in my RSS feed.  I couldn&#8217;t find it documented anywhere.  There are <a href="http://www.kristarella.com/2010/02/wordpress-custom-loops/" title="Rockin’ out WordPress custom loops - kristarella.com" target="_blank">lots</a> <a href="http://www.artofblog.com/thesis-tutorial-7-quick-customizations-to-the-home-page-loop/" title="Thesis Tutorial: 7 Quick Customizations to the Home Page Loop - Art of Blog" target="_blank">of examples</a> of how to narrow down query results in order to show only some of the normal post-type posts, but not on how to <em>add</em> posts that aren&#8217;t showing up in the default search.  It turns out it&#8217;s actually pretty easy.</p>
<p>So, here&#8217;s what you do!<br />
<span id="more-467"></span></p>
<ol>
<li>Create your new post type.  I used <strong><a href="http://wordpress.org/extend/plugins/custom-post-type-ui/" title="Custom Post Type UI - WordPress plugin" target="_blank">Custom Post Type UI</a></strong>.</li>
<li>Create a new post of that type.  (<strong><a href="http://wordpress.org/extend/plugins/post-type-switcher/" title="Post Type Switcher - WordPress plugin" target="_blank">Post Type Switcher</a></strong> is a nice way to change an existing post.)</li>
<li>Use the Thesis Custom File Editor to edit custom_functions.php to add the following:<pre class="brush: php">function custom_post_home($query) {
    if (is_feed() || is_home())
        set_query_var('post_type',array('post','bookreviews'));
}
add_filter('parse_query', 'custom_post_home');</pre></li>
</ol>
<p>What it&#8217;s doing:</p>
<p>Line 1 is creating a new function which can be added to a hook.</p>
<p>Line 2 checks if we&#8217;re on the home page or in an rss feed, because those are the two places where I expect a mix of posts and bookreviews should appear.</p>
<p>Line 3 updates the query to look for posts of type &#8220;post&#8221; (the default) <em>or</em> &#8220;bookreview&#8221;&#8212;of course, you would put in your own post type here.</p>
<p>Line 5 adds the custom function to WordPress&#8217;s hook &#8220;parse_query&#8221;.  (You could probably also use &#8220;pre_get_posts&#8221;, if you wanted.  I didn&#8217;t notice a difference in behavior.</p>
<p>&#8212;&#8212;</p>
<p>* To pick an example <em><a title="Liza's Recently Read Books" href="http://wp.intelligentlizard.com/recentlyread/">completely at random</a>.</em>  It could be there is an easier way to accomplish this, but I wanted it as a trial run before creating a custom post type for short fiction.  To see if it&#8217;s feasible.  It is, and it&#8217;s easy once you know how.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.intelligentlizard.com/2012/01/22/modifying-the-query-used-by-the-loop-in-thesis-to-use-custom-post-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Progress!</title>
		<link>http://wp.intelligentlizard.com/2009/11/07/progress/</link>
		<comments>http://wp.intelligentlizard.com/2009/11/07/progress/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 03:07:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[web-fu]]></category>

		<guid isPermaLink="false">http://wp.intelligentlizard.com/?p=54</guid>
		<description><![CDATA[The first post worked, but I didn&#8217;t quite like the plugin, so I switched plugins.  But I didn&#8217;t like that one&#8217;s footer, so I&#8217;ve changed the footer.  Do I like this one better? (I&#8217;ve also noticed that my website seems to either think it&#8217;s still in daylight savings time, or it thinks I live in [...]]]></description>
			<content:encoded><![CDATA[<p></p>            <script type="text/javascript" src="http://wp.intelligentlizard.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>The first post worked, but I didn&#8217;t quite like the plugin, so I switched plugins.  But I didn&#8217;t like that one&#8217;s footer, so I&#8217;ve changed the footer.  Do I like this one better?</p>
<p>(I&#8217;ve also noticed that my website seems to either think it&#8217;s still in daylight savings time, or it thinks I live in the Mountain timezone, so all of my posts are dated an hour in the future.  And off by a few minutes.  Go fig.)</p>
<p>EtA: Trying again with yet another plugin.  I want moods &amp; locations!</p>
<p>EtA: Last try&#8230; with a better mirrored line&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.intelligentlizard.com/2009/11/07/progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying a new thing&#8230;</title>
		<link>http://wp.intelligentlizard.com/2009/11/07/trying-a-new-thing/</link>
		<comments>http://wp.intelligentlizard.com/2009/11/07/trying-a-new-thing/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 01:37:24 +0000</pubDate>
		<dc:creator>Liza</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[web-fu]]></category>

		<guid isPermaLink="false">http://wp.intelligentlizard.com/?p=46</guid>
		<description><![CDATA[I'm trying a new thing: composing on my website in wordpress, and having it cross-post to LJ.  It should be just like posting in LJ directly, only not.]]></description>
			<content:encoded><![CDATA[<p></p>            <script type="text/javascript" src="http://wp.intelligentlizard.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>For a long time, I&#8217;ve had a website, <a href="http://www.intelligentlizard.com">http://www.intelligentlizard.com</a>.  For almost as long, I&#8217;ve been planning on finishing it and making it look pretty.  Finally I&#8217;ve given up on making my own, and I&#8217;m just using WordPress.  You could see that version at <a href="http://wp.intelligentlizard.com">http://wp.intelligentlizard.com</a>.  (Much nicer looking, huh?) But I&#8217;ve always liked posting to LJ, and I have friends there.</p>
<p>So I&#8217;m trying a new thing: composing on my website in wordpress, and having it cross-post to LJ.  It should be just like posting in LJ directly, only not.</p>
<p>(Also: I need to figure out how to fill in &#8220;music&#8221; and &#8220;mood&#8221; and &#8220;location&#8221;.  Those don&#8217;t exist in my WordPress yet.)</p>
<p>So, this is my experimental post.  Will it work?  Won&#8217;t it?  Once it&#8217;s working, I&#8217;ll post about TGS.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.intelligentlizard.com/2009/11/07/trying-a-new-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

