<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>daisyrust.com &#187; general</title>
	<link>http://www.daisyrust.com</link>
	<description>digital art hacks - creative code - exhibition</description>
	<pubDate>Mon, 25 Feb 2008 14:46:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Controlling Quartz Composer with Speech Commands</title>
		<link>http://www.daisyrust.com/2006/10/11/controlling-quartz-composer-with-speech-commands/</link>
		<comments>http://www.daisyrust.com/2006/10/11/controlling-quartz-composer-with-speech-commands/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 10:44:37 +0000</pubDate>
		<dc:creator>ian grant</dc:creator>
		
		<category><![CDATA[creative code]]></category>

		<category><![CDATA[digital art hacks]]></category>

		<category><![CDATA[general]]></category>

		<category><![CDATA[quartz composer]]></category>

		<category><![CDATA[speech]]></category>

		<guid isPermaLink="false">http://www.daisyrust.com/2006/10/11/controlling-quartz-composer-with-speech-commands/</guid>
		<description><![CDATA[First draft:

Here we go! I did this once then failed to remember how I did it - and I'm not surprised - because the functionality to attach a speech command to an application specific keyboard command "Define a Keyboard Command" or to trigger specific key press can only be accessed by SPEAKING a command - highlighted below in the Speech Commands window.]]></description>
			<content:encoded><![CDATA[<p>First draft:</p>
<p>Here we go! I did this once then failed to remember how I did it - and I&#8217;m not surprised - because the functionality to attach a speech command to an application specific key-press can only be accessed by SPEAKING the command &#8220;Define a Keyboard Command&#8221; - highlighted below in the Speech Commands window. <a href="http://www.daisyrust.com/2006/10/11/controlling-quartz-composer-with-speech-commands/#more-48" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.daisyrust.com/2006/10/11/controlling-quartz-composer-with-speech-commands/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using Magpie RSS to scrape blog headlines to html</title>
		<link>http://www.daisyrust.com/2006/03/25/using-magpie-rss-to-scrape-blog-headlines-to-html/</link>
		<comments>http://www.daisyrust.com/2006/03/25/using-magpie-rss-to-scrape-blog-headlines-to-html/#comments</comments>
		<pubDate>Sat, 25 Mar 2006 09:43:42 +0000</pubDate>
		<dc:creator>ian grant</dc:creator>
		
		<category><![CDATA[digital art hacks]]></category>

		<category><![CDATA[general]]></category>

		<category><![CDATA[net art]]></category>

		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://www.daisyrust.com/2006/03/25/using-magpie-rss-to-scrape-blog-headlines-to-html/</guid>
		<description><![CDATA[Creating a mashup often requires manipulating RSS feeds and exploring XML formats. MagpieRSS is an excellent tool that can simplify manipulations with RSS feeds. This article illustrates a simple, introductory use of this powerful tool.]]></description>
			<content:encoded><![CDATA[<p>This walkthrough assumes you have access to a server running PHP and the ability to change permissions on directories.</p>
<p>Step One: <a href="http://magpierss.sourceforge.net/">Get MagpieRSS here!</a> Head to sourceforge and grab the latest copy of the excellent MagpieRSS.</p>
<p>Step Two: Read the docs. Quickstart: setup a directory on the webserver that looks a bit like this:</p>
<p><img src="http://www.daisyrust.com/wp-content/images/directory_001.png" height="192" width="355" border="1" hspace="4" vspace="4" alt="Directory 001" /></p>
<p>Set the permission of the &#8220;cache&#8221; directory to 777 - world writable. You may be able to get away with more restricted permissions.</p>
<p>Step Three: use the code below as a starting point for exploration. You can see the results of it here<a href="http://www.daisyrust.com/magpie/magpierss_test_001.php"> here </a></p>
<p>
There are several lines you can comment/uncomment to see the object magpierss returns. The current example is set to return the results of a blogger feed. With some extra code one can detect the feed and provide summaries accordingly&#8230; that is to come.</p>
<blockquote><pre><code>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

</head>

<body>
< ?php
require_once('magpierss/rss_fetch.inc');
// the @ suppresses errors
// change the URL to the blog atom / rss feed. If the feed is not atom but RSS some of the item names will be different - one will need to check. The info is in the 'channel' array.

$rss = @fetch_rss( 'http://internetandnetworkart.blogspot.com/atom.xml' );
// $rss = @fetch_rss( 'http://ellington.tvu.ac.uk/dev/?feed=rss2' );

// dump the object to the screen to study the structure magpie returns
echo '
<pre>';
print_r($rss);
echo '';
// end dump

$channel = $rss->channel;
echo "<em>Blog Title: </em>&#8221; .$channel[&#8217;title&#8217;];

//display links recent blog entries:

echo &#8221;
<ul><em>Latest blog additions:</em>\n&#8221;;

foreach ($rss->items as $item) {
   $href = $item[&#8217;link&#8217;];
   $title = $item[&#8217;title&#8217;];
   $author = $item[&#8217;author_name&#8217;];
   $created = $item[&#8217;created&#8217;];
   $content = $item[&#8217;atom_content&#8217;];

   echo &#8221;
<li><a href=$href>$title</a> created by $author on $created</li>

\n
   $content\n&#8221;;
}

echo &#8220;</ul>

&#8220;;

?>

</body>
</html>

</code></pre>
</blockquote>
<p>The sample files can be downloaded here: <a href="http://www.daisyrust.com/magpie/magpierss_blog_scrape.zip">magpierss_blog_scrape.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.daisyrust.com/2006/03/25/using-magpie-rss-to-scrape-blog-headlines-to-html/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
