<?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>gouranga &#187; 2008 &#187; März</title>
	<atom:link href="http://www.gouranga.me/2008/03/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gouranga.me</link>
	<description>ein wenig von fast allem</description>
	<lastBuildDate>Tue, 09 Mar 2010 19:15:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Shup Wordpress Plugin</title>
		<link>http://www.gouranga.me/2008/03/27/shup-wordpress-plugin/</link>
		<comments>http://www.gouranga.me/2008/03/27/shup-wordpress-plugin/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 00:43:06 +0000</pubDate>
		<dc:creator>Steffen</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.steffen-goertz.de/?p=20</guid>
		<description><![CDATA[Since Shup and Wordpress concerns many Users worldwide i&#8217;ll write this post in english.
Idea and Development
As i already mentioned in my earlier posting about Shup i was working on an  integration to bring Shup and Wordpress working together. The Plugin is essentially a bridge between Shup and Wordpress. It&#8217;s not integrated in Wordpress or [...]]]></description>
			<content:encoded><![CDATA[<p>Since Shup and Wordpress concerns many Users worldwide i&#8217;ll write this post in english.</p>
<h3>Idea and Development</h3>
<p>As i already mentioned in <a href="http://www.steffen-goertz.de/?p=16">my earlier posting about Shup</a> i was working on an  integration to bring Shup and Wordpress working together. The Plugin is essentially a bridge between Shup and Wordpress. It&#8217;s not integrated in Wordpress or Shup. But it glues the interfaces of both programms together. I started with the custom_uploader_example.phps which is shipped with Shup since it is the only way to write something Shup can interact with. Then i had three ideas to interact with Wordpress:</p>
<ol>
<li>Copy a new Image directly to Wordpress&#8217;es  Content Dir
<ol>
<li>The Problem is that a Image might do not pass Wordpress rules and will not be accepted or shown in the Writing View</li>
<li>Operating in an alien softwares directorys is not an good idea at all</li>
</ol>
</li>
<li>Using Wordpress Library Function wp_upload_image
<ol>
<li>Might be better because we are using an interface for what we plan to do</li>
<li>Internal APIs change from revision to revision</li>
</ol>
</li>
</ol>
<p>And finally 3. Using Wordpress XML Interface</p>
<p>Using an external api is a good idea because it is a fixed implementation and will not change as long as the interface is widespread used. Wordpress supports the <a href="http://www.xmlrpc.com/metaWeblogApi#metaweblognewmediaobject">metaWeblog.newMediaObject  </a>Method which perfectly matches our conception.</p>
<p>All to do was to receive an image via http post, read its content and send it to Wordpress as an newMediaObject.</p>
<h3> Download and Setup</h3>
<ul>
<li>First of all get a copy of the current version at <a href="http://www.steffen-goertz.de/wp-content/uploads/2008/03/shup.phps" title="shup.phps">shup.php.</a></li>
<li>Open  it and modfiy <strong>username, password</strong> and <strong>wordpressUsername, wordpressPassword</strong>
<ul>
<li>Username &amp; Password are used for identify your Shup Client</li>
<li>wordpressUsername &amp; wordpressPassword are your Wordpress Login Information</li>
</ul>
</li>
<li><a href="http://www.steffen-goertz.de/?attachment_id=22" rel="attachment wp-att-22" title="shup-preferences.png"><img src="http://www.steffen-goertz.de/wp-content/uploads/2008/03/shup-preferences.thumbnail.png" alt="shup-preferences.png" align="right" /></a>Upload shup.php to your Wordpress Root Directory to shup/shup.php</li>
<li>Open Shup and go to File -&gt; Preferences -&gt; File Uploading &amp; Network</li>
<li>Doubleclick Custom-Uploader</li>
<li><a href="http://www.steffen-goertz.de/?attachment_id=23" rel="attachment wp-att-23" title="shup-custom-uploader-configuration.jpg"><img src="http://www.steffen-goertz.de/wp-content/uploads/2008/03/shup-custom-uploader-configuration.thumbnail.jpg" alt="shup-custom-uploader-configuration.jpg" align="right" /></a>Select &#8220;Add new Profile&#8221; and populate the fields like shown in the screenshot. Click Save Changes and activate the profile as active profil.</li>
<li>Close the Dialog.</li>
<li>I recommend to disabled shup.com url tagification unless you know what it is and would like to use it</li>
<li>Have fun populating your blog with a bunch of photos <img src='http://www.gouranga.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.gouranga.me/2008/03/27/shup-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
