<?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>Arricc &#187; Drupal</title>
	<atom:link href="http://www.arricc.net/tag/drupal/feed" rel="self" type="application/rss+xml" />
	<link>http://www.arricc.net</link>
	<description>50% IT snippets that I couldn&#039;t readily find existing help on. 50% drivel.</description>
	<lastBuildDate>Wed, 02 Mar 2011 23:44:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Drupal HTTPS images</title>
		<link>http://www.arricc.net/drupal-https-images.php</link>
		<comments>http://www.arricc.net/drupal-https-images.php#comments</comments>
		<pubDate>Wed, 02 Mar 2011 23:44:34 +0000</pubDate>
		<dc:creator>Fizzgig</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[module]]></category>

		<guid isPermaLink="false">http://www.arricc.net/?p=96</guid>
		<description><![CDATA[I was involved with a project for a while which was using Drupal as the CMS. The entire site was being served over HTTPS, which was quite annoying as a large pile of the images that were being posted were being served over HTTP from their respective webservers. Naturally, this resulted in everyone getting very [...]]]></description>
			<content:encoded><![CDATA[<p>I was involved with a project for a while which was using <a href="http://drupal.org">Drupal</a> as the CMS. The entire site was being served over HTTPS, which was quite annoying as a large pile of the images that were being posted were being served over HTTP from their respective webservers. Naturally, this resulted in everyone getting very annoyed at their browser warning about loading unsecured content on a secure page.</p>
<p>So, I came up with this module. I&#8217;ve been meaning to release it for ages, but as I need to clear down the server it was running on it&#8217;s made me take the five minutes to write this post. Still needs a bit of work, but does what it says on the tin.</p>
<p>It identifies non-local images in content, downloads them and serves them from a local cache.</p>
<p>Download the module here: <a href='http://www.arricc.net/wp-content/uploads/img_proxy.tar.gz'>img_proxy.tar.gz</a></p>
<p>If you use Drupal, you should already know the drill &#8211; extract the file to your modules directory and enable it in the modules page. The module is implemented as an input filter, so you will then have to add it to the appropriate input formats at http://your.site.com/admin/settings/filters </p>
<p><strong>Notes</strong></p>
<ul>
<li>Licenced under the GPL version 2.</li>
<li><strong>*** There is nothing in the code that verifies the file being proxied is an image!! ***</strong> (that&#8217;ll be in the next version!)</li>
<li>May not work with sites that check the referer of the request for images.</li>
<li>I&#8217;ve been meaning to release this for ages, but there is sill a lot of debug code thats just commented out.</li>
</ul>
<p>Hopefully I&#8217;m not the only webmaster that ever had this issue and somebody will find this handy.</p>
<p>Maybe one day I&#8217;ll tidy up the code and submit it to the Drupal Module repository!</p>
<p>Enjoy.</p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="mark@arricc.net" /><input type="hidden" name="return" value="http://www.arricc.net/pp-thanks.php" /><input type="hidden" name="item_name" value="Buy Me a Beer for Drupal HTTPS images" /><input type="hidden" name="currency_code" value="GBP" /><input type="hidden" name="amount" value="5" /><input type="image" src="http://www.arricc.net/wp-content/plugins/buy-me-beer/icon_beer.gif" align="left" alt="" title="" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=mark@arricc.net&amp;currency_code=GBP&amp;amount=5&amp;return=http://www.arricc.net/pp-thanks.php&amp;item_name=Buy+Me+a+Beer+for+Drupal+HTTPS+images" target="paypal">If you find this article useful, buy me a beer!</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.arricc.net/drupal-https-images.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LastFM for Drupal</title>
		<link>http://www.arricc.net/lastfm-for-drupal.php</link>
		<comments>http://www.arricc.net/lastfm-for-drupal.php#comments</comments>
		<pubDate>Wed, 22 Aug 2007 23:51:54 +0000</pubDate>
		<dc:creator>Fizzgig</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[lastfm]]></category>
		<category><![CDATA[module]]></category>

		<guid isPermaLink="false">http://www.arricc.net/lastfm-for-drupal.php</guid>
		<description><![CDATA[So, I&#8217;ve been playing with Drupal recently. At first it did my head in, but then something sorta clicked. Not been near the Taxonomy module yet, but when I do I expect that process to reverse. Anyway, I decided I needed a module that will allow users to show their LastFM stuff on their profile [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve been playing with <a href="http://www.drupal.org">Drupal</a> recently.</p>
<p>At first it did my head in, but then something sorta clicked. Not been near the Taxonomy module yet, but when I do I expect that process to reverse.</p>
<p>Anyway, I decided I needed a module that will allow users to show their LastFM stuff on their profile pages. I couldn&#8217;t find one so I wrote one.</p>
<p>I stared out with the <a href="http://drupal.org/project/onlinestatus">Onlinestatus</a> module as it did something very similar to what I was hoping to achieve.</p>
<p>Anyway, the module is attached should you feel so inclined. (Requires the profiles module I think. The one I based it on does anyway, so it probably does too.)</p>
<p>Download: <a id="p31" href="http://www.arricc.net/wp-content/uploads/lastfm.tar.gz">lastfm.tar.gz</a></p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="mark@arricc.net" /><input type="hidden" name="return" value="http://www.arricc.net/pp-thanks.php" /><input type="hidden" name="item_name" value="Buy Me a Beer for LastFM for Drupal" /><input type="hidden" name="currency_code" value="GBP" /><input type="hidden" name="amount" value="5" /><input type="image" src="http://www.arricc.net/wp-content/plugins/buy-me-beer/icon_beer.gif" align="left" alt="" title="" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=mark@arricc.net&amp;currency_code=GBP&amp;amount=5&amp;return=http://www.arricc.net/pp-thanks.php&amp;item_name=Buy+Me+a+Beer+for+LastFM+for+Drupal" target="paypal">If you find this article useful, buy me a beer!</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.arricc.net/lastfm-for-drupal.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

