<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Jerid Francom</title>
	<atom:link href="http://francojc.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://francojc.wordpress.com</link>
	<description>Wake Forest University</description>
	<lastBuildDate>Thu, 16 Aug 2012 11:55:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Pianobar on Mac OSX by David Fritz</title>
		<link>http://francojc.wordpress.com/2011/12/03/pianobar-on-mac-osx/#comment-70</link>
		<dc:creator><![CDATA[David Fritz]]></dc:creator>
		<pubDate>Thu, 16 Aug 2012 11:55:44 +0000</pubDate>
		<guid isPermaLink="false">http://francojc.wordpress.com/?p=401#comment-70</guid>
		<description><![CDATA[Commenting on your growlnotify suggestion. A few years ago I made a piano bar script that downloads the album art and uses that as the growlnotify image. 

It does require that you make the correct directories...

This one should already exist:
mkdir ~/.config

If you&#039;re using the auto-login function of pianobar this should already exist:
mkdir ~/.config/pianobar

This should be a new directory:
mkdir ~/.config/pianobar/art

This command will add the communication between pianobar and growl:
echo &#039;event_command = $HOME/.config/pianobar/pianobar-notify.rb&#039; &gt;&gt; ~/.config/pianobar/config


These commands will make the proper directories, assuming they do not exist. If you&#039;re using the config file to auto-login then the &quot;art&quot; directory should be the only directory missing. The &quot;echo&quot; commands add the event_command function which will send a trigger to growlnotify everytime a new song starts.

Here is the ruby script that must be named pianobar-notify.rb and placed in $HOME/.config/pianobar/  in order to work properly, 

&lt;code&gt;

#!/usr/bin/ruby

trigger = ARGV.shift

if trigger == &#039;songstart&#039;

	songinfo = {}

	STDIN.each_line { &#124;line&#124; songinfo.store(*line.chomp.split(&#039;=&#039;,2))}

	`rm ~/.config/pianobar/art/*.* 2&gt; /dev/null`

	`wget -q --directory-prefix=$HOME/.config/pianobar/art/ &quot;#{songinfo[&#039;coverArt&#039;]}&quot;`

	img=`ls $HOME/.config/pianobar/art/`

	`growlnotify -t &quot;Now Playing:&quot; -m &quot;#{songinfo[&#039;title&#039;]}\nby #{songinfo[&#039;artist&#039;]}&quot; --image $HOME/.config/pianobar/art/#{img}`

end




there is probably a lot easier way of explaining all this but I realized I am at work right now and should probably get back to it...]]></description>
		<content:encoded><![CDATA[<p>Commenting on your growlnotify suggestion. A few years ago I made a piano bar script that downloads the album art and uses that as the growlnotify image. </p>
<p>It does require that you make the correct directories&#8230;</p>
<p>This one should already exist:<br />
mkdir ~/.config</p>
<p>If you&#8217;re using the auto-login function of pianobar this should already exist:<br />
mkdir ~/.config/pianobar</p>
<p>This should be a new directory:<br />
mkdir ~/.config/pianobar/art</p>
<p>This command will add the communication between pianobar and growl:<br />
echo &#8216;event_command = $HOME/.config/pianobar/pianobar-notify.rb&#8217; &gt;&gt; ~/.config/pianobar/config</p>
<p>These commands will make the proper directories, assuming they do not exist. If you&#8217;re using the config file to auto-login then the &#8220;art&#8221; directory should be the only directory missing. The &#8220;echo&#8221; commands add the event_command function which will send a trigger to growlnotify everytime a new song starts.</p>
<p>Here is the ruby script that must be named pianobar-notify.rb and placed in $HOME/.config/pianobar/  in order to work properly, </p>
<p><code></p>
<p>#!/usr/bin/ruby</p>
<p>trigger = ARGV.shift</p>
<p>if trigger == 'songstart'</p>
<p>	songinfo = {}</p>
<p>	STDIN.each_line { |line| songinfo.store(*line.chomp.split('=',2))}</p>
<p>	`rm ~/.config/pianobar/art/*.* 2&gt; /dev/null`</p>
<p>	`wget -q --directory-prefix=$HOME/.config/pianobar/art/ "#{songinfo['coverArt']}"`</p>
<p>	img=`ls $HOME/.config/pianobar/art/`</p>
<p>	`growlnotify -t "Now Playing:" -m "#{songinfo['title']}\nby #{songinfo['artist']}" --image $HOME/.config/pianobar/art/#{img}`</p>
<p>end</p>
<p>there is probably a lot easier way of explaining all this but I realized I am at work right now and should probably get back to it...</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scientists are talking, but mostly to each other: a quantitative analysis of research represented in mass media by Consultation</title>
		<link>http://francojc.wordpress.com/2011/06/24/scientists-are-talking-but-mostly-to-each-other-a-quantitative-analysis-of-research-represented-in-mass-media/#comment-29</link>
		<dc:creator><![CDATA[Consultation]]></dc:creator>
		<pubDate>Wed, 31 Aug 2011 01:43:10 +0000</pubDate>
		<guid isPermaLink="false">http://francojc.wordpress.com/?p=228#comment-29</guid>
		<description><![CDATA[Surely this must win this weeks irony award. the article is behind a $25 paywall. Suleski &amp; Ibaraki&#039;s valiant efforts at pointing out the problems of science communication are buried in the very science communication machine that keeps most of science from the public.]]></description>
		<content:encoded><![CDATA[<p>Surely this must win this weeks irony award. the article is behind a $25 paywall. Suleski &amp; Ibaraki&#8217;s valiant efforts at pointing out the problems of science communication are buried in the very science communication machine that keeps most of science from the public.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
