<?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>Web Media Magazine &#187; Web Design</title>
	<atom:link href="http://www.webmediamagazine.com/category/webdesign/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webmediamagazine.com</link>
	<description>Web development magazine, including Photoshop tutorials, PHP tutorials, CSS tutorials, web news and trends.</description>
	<lastBuildDate>Sun, 20 Sep 2009 13:43:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create Dynamic Images With PHP/MySQL</title>
		<link>http://www.webmediamagazine.com/php/create-dynamic-images-with-phpmysql/</link>
		<comments>http://www.webmediamagazine.com/php/create-dynamic-images-with-phpmysql/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 22:57:12 +0000</pubDate>
		<dc:creator>John Owen</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.webmediamagazine.com/?p=1206</guid>
		<description><![CDATA[Learn how to generate dynamic images in PHP, some uses are tracking visitors with an image, displaying the users name in the image or the time/date. In this tutorial you will convert an email address from a database to an image (just like facebook) to protect from email spiders.]]></description>
			<content:encoded><![CDATA[<p>You can view the demo of what we will be creating here: <a href="http://www.webmediamagazine.com/demo/dynamic-images/">Dynamic Images</a><br />
I will be using my local server to do this tutorial, first off with need to create some data to use in this tutorial. I have provided a MYSQL Query string for you to use. I am using PHP 5.3 and MySQL 3.2.0.1.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">-- Table structure for table `people`
--
&nbsp;
CREATE TABLE IF NOT EXISTS `people` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `first_name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `email` (`email`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
&nbsp;
--
-- Dumping data for table `people`
--
&nbsp;
INSERT INTO `people` (`id`, `first_name`, `last_name`, `email`) VALUES
(1, 'Tim', 'Carpenter', 'tim@carpentercentral.com'),
(2, 'Joe', 'Woolen', 'joewoolen@gmail.com'),
(3, 'Harry', 'Melvis', 'hmelvis@live.com'),
(4, 'Jane', 'Suden', 'janes211@yahoo.com'),
(5, 'Sue', 'Baxter', 'suebax@hotmail.co.uk'),
(6, 'Jeremy', 'Yun', 'jerry@jerry123.com');</pre></div></div>

<p>
<h3>Summary</h3>
</p>
<p>You will be retrieving an email from the database then getting the length of the email and inserting it into an image thats size is custom to the length of the text. This prevents email spiders from reading the email.</p>
<p>
<h3>Step 1 &#8211; Connecting To The Database</h3>
</p>
<p>Create a new file called &#8220;config.php&#8221; and put this code in it:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'MYSQL_USER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'root'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'MYSQL_PASS'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'MYSQL_DB'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'data_db'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'MYSQL_HOST'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'localhost'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$dbc</span> <span style="color: #339933;">=</span> <span style="color: #339933;">@</span><span style="color: #990000;">mysql_connect</span> <span style="color: #009900;">&#40;</span>MYSQL_HOST<span style="color: #339933;">,</span> MYSQL_USER<span style="color: #339933;">,</span> MYSQL_PASS<span style="color: #009900;">&#41;</span> OR <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Could not connect to MySQL: '</span> <span style="color: #339933;">.</span> <span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">@</span><span style="color: #990000;">mysql_select_db</span> <span style="color: #009900;">&#40;</span>MYSQL_DB<span style="color: #009900;">&#41;</span> OR <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Could not select the database: '</span> <span style="color: #339933;">.</span> <span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Enter your details at MYSQL_USER/PASS/DB, you wont need to change localhost unless you know you need to change it.</p>
<p>
<h3>Step 2 &#8211; Index.php</h3>
</p>
<p>Create a new file called index.php with this code:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;?php include('config.php'); ?&gt;
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;title&gt;Dynamic Images&lt;/title&gt;
&lt;/head&gt;
&nbsp;
&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></div></div>

<p>This is our template. In the index file we will list the names and then you will be able to click the name and view their email.</p>
<p>
<h3>Step 3 &#8211; Listing The Names</h3>
</p>
<p>Before we delve into the actual image creation we need to list our names. Insert this PHP code between your two body tags (<body>HERE</body>).</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #666666; font-style: italic;">// Will select all fields except email from table 'poeple'. You can select all fields by using a * (eg. SELECT * FROM people)</span>
	<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT id,first_name,last_name FROM people&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// Run the query &amp; grab the result , if error it will display the error</span>
	<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Mysql error: '</span> <span style="color: #339933;">.</span> <span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// We now have all data in the result, to retrieve this we need to use the mysql_fetch_array in a while loop</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;h3&gt;Names&lt;/h3&gt;
&lt;table width=&quot;300&quot; border=&quot;0&quot; cellspacing=&quot;5&quot; cellpadding=&quot;5&quot;&gt;
	&lt;tr&gt;
    	&lt;td width=&quot;32&quot;&gt;ID&lt;/td&gt;
    	&lt;td width=&quot;147&quot;&gt;Name&lt;/td&gt;
    	&lt;td width=&quot;71&quot;&gt;&lt;/td&gt;
  	&lt;/tr&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #666666; font-style: italic;">// the while loop will go though each row and display data from the coloumns</span>
	<span style="color: #666666; font-style: italic;">// the view email link will link to a page called view_email.php with a $_GET function</span>
	<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		&lt;tr&gt;
    		&lt;td width=&quot;32&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/td&gt;
    		&lt;td width=&quot;147&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'first_name'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">' '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'last_name'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// combines the first &amp; last name to display full name ?&gt;</span>&lt;/td&gt;
    		&lt;td width=&quot;71&quot;&gt;&lt;a href=&quot;view_email.php?id=<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// links the ID to the view_email.php page ?&gt;</span>&quot;&gt;View Email&lt;/a&gt;&lt;/td&gt;
  		&lt;/tr&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #666666; font-style: italic;">// in between the two PHP sections the code will go, this makes it easier to read?&gt;</span>
&lt;/table&gt;</pre></div></div>

<p><a href="http://www.webmediamagazine.com/wp-content/uploads/2009/08/names.jpg"><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/08/names.jpg" alt="names" title="names" width="620" height="350" class="alignnone size-full wp-image-1218" /></a></p>
<p>
<h3>Step 4 &#8211; view_webcam.php</h3>
</p>
<p>Create a new file and name it &#8220;view_webcam.php&#8221;, enter this code in.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'config.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;title&gt;Dynamic Images&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #666666; font-style: italic;">//check if the $_GET variable 'id' isset, if it is run the image creation blabla</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// include the img.php file to create the email from the var id</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;img src=&quot;img.php?id='</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// If no var has been set tell the visitor</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'No ID has been given.'</span><span style="color: #339933;">;</span>	
	<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/body&gt;
&lt;/html&gt;</pre></div></div>

<p>Not much but it basically inserts an image with a link to a PHP script, the PHP script acts like a image by chaging the header content type to png.</p>
<p>
<h3>Step 5- img.php</h3>
</p>
<p>Create a new PHP file and name it img.php, this is the main part of out tutorial so i&#8217;ll explain a lot more <img src='http://www.webmediamagazine.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #666666; font-style: italic;">// Check if the ?id= has been set if so continue</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// connect to the database</span>
		<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'config.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
		<span style="color: #666666; font-style: italic;">// retrieves info from the row relating to the ID</span>
		<span style="color: #000000; font-weight: bold;">function</span> retrieve_info<span style="color: #009900;">&#40;</span><span style="color: #000088;">$id</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">//Build the query to retrieve the email, will retrieve the email by the ID</span>
		<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT * FROM people WHERE id='<span style="color: #006699; font-weight: bold;">$id</span>'&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// Run the query and do any error stuff</span>
		<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'MySQL Error: '</span> <span style="color: #339933;">.</span> <span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// Convert the data into an array</span>
		<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// Since this is a function we need to return the data.</span>
		<span style="color: #666666; font-style: italic;">//</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$data</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// CHANGE THESE VARIABLES</span>
		<span style="color: #666666; font-style: italic;">// Replace path by your own font path</span>
		<span style="color: #000088;">$font</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;sanford.tff&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// Font size (reccomended do not change) (make divisible by 2 for better results)</span>
		<span style="color: #000088;">$font_size</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">14</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
		<span style="color: #666666; font-style: italic;">//set var</span>
		<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> retrieve_info<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$email</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'email'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// Count the amount of characters in the email</span>
		<span style="color: #000088;">$chars</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$email</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// each character is about 14 pixels so lets width a bit more</span>
		<span style="color: #000088;">$extra</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$font_size</span> <span style="color: #339933;">-</span> <span style="color: #cc66cc;">3</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// calculate width by multiplying each character by the character width plus extraspace</span>
		<span style="color: #000088;">$width</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$chars</span> <span style="color: #339933;">*</span> <span style="color: #000088;">$extra</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">//height of image</span>
		<span style="color: #000088;">$height</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$font_size</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// Create the acording to the calculated size of the text</span>
		<span style="color: #000088;">$im</span> <span style="color: #339933;">=</span> <span style="color: #990000;">imagecreate</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$width</span><span style="color: #339933;">,</span> <span style="color: #000088;">$height</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// Create some colors (B&amp;W)</span>
		<span style="color: #000088;">$white</span> <span style="color: #339933;">=</span> <span style="color: #990000;">imagecolorallocate</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">255</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">255</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">255</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$black</span> <span style="color: #339933;">=</span> <span style="color: #990000;">imagecolorallocate</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
&nbsp;
		<span style="color: #666666; font-style: italic;">// Add the text</span>
		<span style="color: #990000;">imagettftext</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #339933;">,</span> <span style="color: #000088;">$font_size</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$height</span> <span style="color: #339933;">-</span> <span style="color: #cc66cc;">7</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$black</span><span style="color: #339933;">,</span> <span style="color: #000088;">$font</span><span style="color: #339933;">,</span> <span style="color: #000088;">$email</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// Set the content-type</span>
		<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Content-type: image/png'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// Using imagepng() results in clearer text compared with imagejpeg()</span>
		<span style="color: #990000;">imagepng</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #990000;">imagedestroy</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// if there is no $data variable then echo text</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'no data avaliable to create image'</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p><a href="http://www.webmediamagazine.com/wp-content/uploads/2009/08/dynamicimage.jpg"><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/08/dynamicimage.jpg" alt="dynamicimage" title="dynamicimage" width="264" height="24" class="alignnone size-full wp-image-1220" /></a></p>
<p>To put it simply this script grabs the users ID name from the GET method using variables in the URL, it then calculates the size of the image by finding out the amounting of characters and multiplying them by the font size. On the white background we grab a font in the current directory to use and write the text of the email around the center of the image. Then it outputs the image, to make the browser read it as a image file we need to change the header. Thats what the header part of the script does.</p>
<p>If no $_GET var for the user ID is found then it will just echo an error.</p>
<p>
<h3>Conclusion</h3>
</p>
<p>If you want me to put up a demo just post a comment and i&#8217;ll put it up ASAP.<br />
This method can be used to track visitors, give custom user images or an array of other things. Here are the files to download:<br />
<a class="downloadlink" href="http://www.webmediamagazine.com/wp-content/plugins/download-monitor/download.php?id=2" title="Version1.0 downloaded 343 times" >Dynamic Images PHP Files (Includes Font) (343)</a></p>


<p>Related posts:<ol><li><a href='http://www.webmediamagazine.com/php/using-simplexml-to-read-parse-xml-files-in-php/' rel='bookmark' title='Permanent Link: Using SimpleXML To Read &#038; Parse XML'>Using SimpleXML To Read &#038; Parse XML</a> <small>In this tutorial I will teach you how to use...</small></li><li><a href='http://www.webmediamagazine.com/php/using-functions-effectivley-in-php/' rel='bookmark' title='Permanent Link: Using Functions Effectivley In PHP'>Using Functions Effectivley In PHP</a> <small>Today I will show you how to use functions in...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.webmediamagazine.com/php/create-dynamic-images-with-phpmysql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>50+ Different Ways To Vastly Improve Your Wordpress Blog</title>
		<link>http://www.webmediamagazine.com/webdesign/50-different-ways-to-vastly-improve-your-wordpress-blog/</link>
		<comments>http://www.webmediamagazine.com/webdesign/50-different-ways-to-vastly-improve-your-wordpress-blog/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 16:24:21 +0000</pubDate>
		<dc:creator>John Owen</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.webmediamagazine.com/?p=1038</guid>
		<description><![CDATA[We all want to improve our wordpress blog in various ways, that is why I have compiled a massive list of different ways to improve your wordpress blog. From navigation to page loading times, it's all here!]]></description>
			<content:encoded><![CDATA[<h3>Navigation</h3>
<p></br></p>
<p>Navigation is essential for wordpress blogs to thrive, without good navigation visitors can become confused and might leave your blog.</p>
<p><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/Navigation-header.jpg" alt="Navigation Wordpress" title="Navigation Wordpress" width="620" height="300" class="alignnone size-full wp-image-1178" /></p>
<p><strong>1. Related Posts</strong></br><br />
Related post&#8217;s can provide quick navigation to different post&#8217;s of the same nature. If a visitor likes the current post they are bound to like a similar one. There are quite a few plugins to choose from, here&#8217;s a simple and easy one: <a href="http://www.microkid.net/wordpress/related-posts/">Related Posts</a><br />
</br></p>
<p><strong>2. Most Viewed Posts</strong></br><br />
Similar to before, the most viewed post&#8217;s are obviously your best posts. Most visitors would be interested to see the most viewed posts. Having the most viewed post&#8217;s readily available will increase your most viewed post&#8217;s traffic even more. There is also a plugin for this, check this one out: <a href="http://lesterchan.net/portfolio/programming/php/#wp-postviews">WP-PostViews</a><br />
</br></p>
<p><strong>3. Breadcrumbs</strong></br><br />
Breadcrumbs are navigation links that shows where you have come from, example: Home -> Photoshop -> Text Effects -> Firey Text Effect. This helps if the visitor wants to go back to the same category or home page quickly without any hassle of the drop down menu&#8217;s etc&#8230; As before, there is a plugin. <a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a><br />
</br></p>
<p><strong>4. Multi-page Posts</strong></br><br />
There are three reasons why this is done, 1. Faster loading page times (Multi-page Posts is also in performance section) 2. Easier for the user to read 3. Better SEO (more pages indexed). Yes, you guessed it, there&#8217;s a plugin for it as well. <a href="http://wordpress.org/extend/plugins/multi-page-toolkit/">Multi-page Toolkit</a><br />
</br></p>
<p><strong>5. Category Icons</strong></br><br />
Usually the sidebar is clogged up with meta data, advertisement&#8217;s and tag clouds. We sometimes miss the categories in all the mess, assigning images to your categorys is a great way to fix this and will help your visitors navigate your blog with ease. Download this plugin. <a href="http://www.category-icons.com/">Category-Icons</a><br />
</br></p>
<h3>Design</h3>
<p></br></p>
<p>Without design your visitors can&#8217;t tell your blog from the others. If your blog looks exactly the same as someone elses, the visitor will be likely to forget about the blog. Changing a few design features around a theme can make it stand out dramatically and give it a personal feeling.</p>
<p><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/Design-header1.jpg" alt="Design Wordpress" title="Design Wordpress" width="620" height="300" class="alignnone size-full wp-image-1184" /></p>
<p><strong>1. Improve Your Sidebar</strong></br><br />
Going back to the sidebar, every theme has to have a nice usable widget ready sidebar. The widgets must be easily definable to tell which is which. Here&#8217;s an example, your links could get mistaken for advertisements and ignored. You want the visitor to fully understand your website quickly. Also dont forget to make good use of the sidebar, eg. don&#8217;t put useless junk on there.<br />
</br></p>
<p><strong>2. Remove Advertisements In Posts</strong></br><br />
If you want your suscribers and visitors to dislike you then put advertisements in the middle of your posts. Anywhere I see this I instantly dislike the blog unless it&#8217;s a really good one. Having adverisements in your posts makes the reader confused and can&#8217;t tell the post apart from the advertisement. Most webmasters are try to achieve this to get more cash but it&#8217;s a surefire way to loose suscribers &#038; traffic.<br />
</br></p>
<p><strong>3. Subscribe Area</strong></br><br />
I always love seeing new ways of trying to get subscribers, I want to see different RSS icon&#8217;s, not just the boring plain old shaped buttons that everyone uses (including me). If you want some inspiration check out the images below that I&#8217;ve compiled.<br />
<a href="http://www.webmediamagazine.com/wp-content/uploads/2009/07/MassRSSInspiration.jpg"><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/MassRSSInspiration.jpg" alt="Massive Amount Of Inspiration For RSS Suscribe Icons" title="Massive Amount Of Inspiration For RSS Suscribe Icons" width="615" height="1000" class="alignnone size-full wp-image-1088" /></a><br />
</br></p>
<p><strong>4. Image Styles</strong></br><br />
You might of noticed in most of my posts that the images either span the whole width of the post area or have a gray box around the image spanning to the edge of the post area. This makes the post a lot more neat and readable. The image cuts off the post into a smaller chunks allowing the reader to understand and digest the information easier.<br />
</br></p>
<p><strong>5. Comment Numbers</strong></br><br />
Comment numbers arn&#8217;t essential but do help if there is a question that need&#8217;s to be answered or there is a discussion. People can specify the post number for quick reference etc&#8230; Heres how to implement them! <a href="http://wphacks.com/how-to-adding-comment-numbers-to-your-wordpress-theme/">Adding Comment Numbers To Your Wordpress Theme</a><br />
</br></p>
<p><strong>6. Highlight Author&#8217;s Comments</strong></br><br />
If asking a question about a post, it might be hard to spot the authors reply in the mess of comments. If you were smart you would add some nifty code that would highlight the authors comment. Check it out. <a href="http://www.mattcutts.com/blog/highlight-author-comments-wordpress/">Highlight Author&#8217;s Comments</a> or ff you don&#8217;t want to get dirty with PHP then use this <a href="http://rmarsh.com/plugins/highlight-comments/">plugin</a>.<br />
</br></p>
<h3>Performance</h3>
<p></br></p>
<p>Before we indulge into the performance section of this list, here&#8217;s the facts: 1. 10 seconds is about the limit for keeping the user’s attention focused on a loading page, according to Jakob Nielsen and other studies. 2. At the moment, almost 20 % of US households still use a narrowband internet connection, according to Leichtman Research Group (via WebSiteOptimization.com). 3. The average web page size increases by 20 KB per year, according to this author’s empiricism. Users are thus continuously forced to wait, albeit and probably slightly less due to increasing connection speed.</p>
<p>Bearing that in mind, heres some tips to improve your blogs performance.
</p>
<p><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/Performance-header1.jpg" alt="Performance-header" title="Performance-header" width="620" height="300" class="alignnone size-full wp-image-1185" /></p>
<p>I can&#8217;t sum up performance any better than this post, so I put it in the post for easier reference.<br />
All credit goes to this post: <a href="http://maketecheasier.com/8-ways-to-improve-your-wordpresss-loading-time/2009/01/21">http://maketecheasier.com/8-ways-to-improve-your-wordpresss-loading-time/2009/01/21</a> and this blog: <a href="http://maketecheasier.com">Maketecheasier.com</a></p>
<p><strong>1. Reduce the number of images and image size in your site</strong></p>
<p>Images take up a lot of bandwidth and can slow down the page’s loading time to a great extent. One of the best way to reduce loading time is to reduce the number of images in your site.</p>
<p>There are main two types of images that most WordPress blogs contain: theme images and post images. Theme images are those images that are used in the theme. These can be the header images, the small bullet images you use for any list, the small icon beside the comment link and many more. If you are not the designer of your theme and you know nuts about coding, there is really nothing much that you can do. You can either live with it or change your current theme to one that uses lesser images. For those with some coding knowledge, you can use <a href="http://www.csssprites.com/">CSS Sprite</a> to combine several images into one big image and use CSS background-position to shift the image around (more detail here).</p>
<p>Post images are images that you inserted into your posts to illustrate your points or to beautify the post. If possible, reduce the number of images used in the post (not more than 5). If your site is a tutorial blog that uses plenty of screenshots to get your points across (just like Make Tech Easier), the best way out is to optimize and compress the images before posting them in your site. Adobe Photoshop has this “Save for Web” function that you can use to optimize/compress your images easily. Most free image editors (such as GIMP) also provide you with the option to compress your images. Online tools such as online image optimizer and JPEGWizard are also great tools you can use to reduce the filesize of your images.</p>
<p><strong>2. Split up long posts</strong></p>
<p>If you are in the habit of writing long posts (more than 1500 words), it is best to split the post into several small pages. Not only does it leads to a faster loading page, it is also easier for your visitors to read and digest. In WordPress, you can easily split your post with the &#8216;nextpage&#8217; tag. <a href="http://maketecheasier.com/7simple-wordpress-tricks-that-you-thought-you-know/2008/11/10">Read here</a> for more detail.</p>
<p><strong>3. Upgrade your WordPress and plugins</strong></p>
<p>It is important that you update your WordPress and all your plugins to the latest version. The WordPress team is working hard to make sure that every release of WordPress has a better performance than the previous version. The only way for you to make use of their effort is to follow the development cycle closely and update whenever a newer version is available.</p>
<p><strong>4. Deactivate unused plugins</strong></p>
<p>Most of the plugins introduce extra javascript and css file to your site and choke up your bandwidth. If you have no use for any of the plugins, make sure you deactivate them and get rid of those miscellaneous javascript and css. You’ll be surprised how much faster your site will load when these unused plugins are not around.</p>
<p>In addition, check out your existing list of active plugins and see if any of those have overlapping features with the latest version of WordPress. For example, prior to WP2.7, I used the Admin Management Xtended plugin to better manage all the administrative tasks. With the release of WP2.7, most of the features in the plugin are integrated into the software itself, which means I can now retire the plugin and free up the valuable resources.</p>
<p>You may also want to check out the WordPress plugin repository regularly for any other plugins that can do the same function as your existing plugins, but have better performance.</p>
<p><strong>5.  Install WP-SuperCache</strong></p>
<p>If there is one plugin that you must keep, it have to be <a href="http://wordpress.org/extend/plugins/wp-super-cache/">WP-SuperCache</a>. The SuperCache plugin caches your page as a static html file. When your visitors arrive at your site, they will be served the static page instead of the actual page.</p>
<p>If your Web host can support compressed file, you can further improve your site loading time simply by checking the Enable Compression feature within the SuperCache option page. When this option is turned on, the static html will be compressed as a gzip file, making the filesize even smaller.</p>
<p><em>(Note that the compression feature might not work for everyone. Some have reported problems with different browsers. Please test it thoroughly before using it live)</em><br />
<img src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/supercache-compress.jpg" alt="supercache-compress" title="supercache-compress" width="459" height="166" class="alignnone size-full wp-image-1100" /></p>
<p><strong>6. Streamlining your theme</strong></p>
<p>Your theme (especially header.php and footer.php) contains a lot of redundant dynamic content that can easily take up valuable server resources. You can easily streamline it to reduce the number of php and database queries.</p>
<p>Here is an example of how you can streamline your code. Log in to your Admin dashboard. Go to the theme editor section and load up the Header file. You should see something like this (without the color coding):</p>
<p><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/header-screenshot.jpg" alt="header-screenshot" title="header-screenshot" width="580" height="385" class="alignnone size-full wp-image-1101" /></p>
<p>(Screenshot taken from classic theme header.php in a html editor. Depending on the theme that you are using, result may vary.)</p>
<p>Here is how I change some of the dynamic content (<?php …. ?> tag) into strings of text. Also, look how I have reduce the number of items in the header file.</p>
<p><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/header-after.jpg" alt="header-after" title="header-after" width="580" height="266" class="alignnone size-full wp-image-1102" /></p>
<p>By streamlining your theme, the site won’t have to keep going back to the server to query the database, thus the time taken to load will also be faster.</p>
<p><strong>7. Add Expires header to static resources</strong></p>
<p>One of the great way to improve your site loading time is to add an Expires header to all your static resources (such as css file, javascript, images etc).  An Expires header is a way to specify a time far enough in the future so that the clients (browsers) don’t have to re-fetch any static content. Here is an example of how you can add Expires header to all your images.</p>
<p>Download your .htaccess file from your server.</p>
<p>Add the following lines to the file:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/png AA2592000
ExpiresByType image/jpg AA2592000
ExpiresByType image/jpeg AA2592000</pre></div></div>

<p>The A2592000 means that the cache file will expire one month (in seconds) from the time the visitor first visits your site.</p>
<p><strong>8. Install php_speedy</strong></p>
<p>From the above, you can see that I did not mention anything about compressing and minify your CSS and javascript files. That is because php_speedy has all of them covered.</p>
<p><a href="http://aciddrop.com/2008/07/15/php-speedy-wp-version-047-works-with-wp26/">PHP Speedy</a> is a WordPress plugin that optimizes your site and reduces the loading time of all your pages greatly. What it does is to compress and minify all your CSS and javascript files, set expiration-header for CSS and JS file, streamline the html tag and cache it in the server for quick loading.</p>
<h3>Security</h3>
<p></br></p>
<p>Security is a key feature in any blog website, without it every blog would be hacked constantly. Here are some tips on how to improve your blog&#8217;s security.</p>
<p><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/Security-header.jpg" alt="Security Wordpress" title="Security Wordpress" width="620" height="300" class="alignnone size-full wp-image-1187" /></p>
<p><strong>1. Upgrade Wordpress When Possible</strong></br><br />
Always upgrade to the latest wordpress version, this will ensure that you have all secuity fixes. It is also good to remove the wordpress version in the header tag. Doing this will ensure that the hacker can&#8217;t tell which version you are using.<br />
</br></p>
<p><strong>2. No Directory Should Be Browsable</strong></br><br />
On some servers if you don&#8217;t have an index file in a directory it will show a sitemap of the contents of the directory. This is a serious security issue and need&#8217;s to be fixed asap. Just plop a blank index.html file in your directory. You can also fix this by adding this piece of code to the root .htaccess file.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">Options All -Indexes</pre></div></div>

<p></br></p>
<p><strong>3. Edit The config.php file correctly</strong></br><br />
Go through each line in wp-config.php, not only the first block for database configuration. Make sure to complete every line for maximum security.</p>
<p>Use WordPress secret key generation tool to generate random keys. These keys are used to insure better encryption of information stored in WordPress user&#8217;s cookies.</p>
<p>Also modify the WordPress table prefix to something other than wp_. Adding random characters and numbers to the end of wp, such as wp101gt_ obfuscates it enough but still allows you to recognize the tables as those belong to WordPress.<br />
</br></p>
<p><strong>4. Don&#8217;t use the default username (admin)</strong></br><br />
Hackers know the default username for wordpress is admin, so they now only need the password. In wordpress you can&#8217;t remove the admin profile or change the username, you have to go into the database and change the field.<br />
</br></p>
<p><strong>5. Backup your database regulary</strong></br><br />
If you do get hacked and your website is destroyed, your backup will save you. These are a must since you don&#8217;t know what things could go wrong.<br />
</br></p>
<p><strong>6. Prevent Brute Force Attacks</strong></br><br />
Bruteforce is considered the most effective, and most likely has the easiest solution, this plugin: <a href="http://wordpress.org/extend/plugins/login-lockdown/">Login Lockdown</a>. It blocks visitors for 1 hour (default) if they enter the password wrong 3 times in 5 minutes. All these values are changeable in the plugins options panel.<br />
</br></p>
<h3>SEO</h3>
<p></br></p>
<p>Without SEO what would most blogs be? Nothing. With good seo your post&#8217;s are ranked high in search engines for more people to read, thus increasing your traffic.</p>
<p><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/SEO-header.jpg" alt="SEO Wordpress" title="SEO Wordpress" width="620" height="300" class="alignnone size-full wp-image-1190" /></p>
<p><strong>1. SEO Title Tag</strong></br><br />
<a href="http://www.netconcepts.com/seo-title-tag-plugin/">SEO Title Tag</a> &#8211; This is a great plugin, some people prefer the All-In-One Seo Page, but I’ve had great success with this one in particular. Title tags are probably one of the most important pieces for SEO, that people can often overlook. I always make sure that I include the name of the site along with the title of the post/article/page.<br />
</br></p>
<p><strong>2. FeedBurner Plugin</strong></br><br />
<a href="http://blogs.feedburner.com/feedburner/archives/2007/05/feedburner_adopts_twoyearold_r.php">FeedBurner Plugin</a> &#8211; FeedBurner is a fantastic service, if you don’t already have an account, you will need to set one up. FeedBurner is a service that takes your RSS feed and syndicates, tracks, standardizes your feed so that it can be easily picked up by many other sites/services. The company was purchased by Google in 2005, and since that acquisition it seems that it has helped with my Google rankings, although that could just be a coincidence. The best part of WordPress is that everything is RSS-able, you can RSS everything, by category, by date, etc. I have seen instances where I post something, an article to StamfordCTGuide and within about 2 hrs its in Google and getting decent traffic. By using the feedburner plugin, it gives you a direct route to Googl<br />
</br></p>
<p><strong>3. Google Sitemaps</strong></br><br />
<a href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/">Google Sitemaps</a> &#8211; This particular Google Sitemaps plugin is a great tool for generating an XML Sitemap of your site, which you then feed to Google via their Webmaster Tools. The sitemap will inform google of which pages are necessary to be crawled throughout your site. If you would like to learn more about Google Sitemaps, Google it!<br />
</br></p>
<p><strong>4. Site Permalinks</strong></br><br />
Permalinks &#8211; I setup permalinks within my wordpress install as “/category/postname.html” . I have been setting up installs of wordpress in this fashion for about 3 years and have always had great luck with SEO. Some people choose to add in a date, but I prefer to use category and postname, it seems to work best. You can find Permalinks by going to Settings > Permalinks in WordPress.<br />
</br></p>
<p><strong>5. All In One SEO Pack</strong></br><br />
<a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">All In One SEO Pack</a> &#8211; This is a well known plugin that does wonders, it has a variety of options. Also very easy to setup, this is a must have on all of my wordpress sites.<br />
</br></p>
<p><strong>6. Keep the Blog Posts Long</strong></br><br />
Keep your post word count to be of 400+ words and more as it increases the quality factor of article so the search engines will think it has more quality content even if you sidetrack off the subject of the post. More words higher ranking. The wordcount of this post is about 2500+.<br />
</br></p>
<p><strong>7. Redirection</strong></br><br />
Though wordpresss itself offers enough 301 redirect if you edit the pages, but many times you may like to redirect more then 1 page to other page using search engine friendly 301 redirect, in that case you can use Redirection plugin which easily redirects old urls to new urls. <a href="http://wordpress.org/extend/plugins/redirection/">Redirection Plugin</a><br />
</br></p>
<p><strong>8. Alt Tags On Images</strong></br><br />
If your post contains a lot of images without alt tags then search engines do not know what they are and if they even relate to the post itself. By giving each image an alt tag you are improving the SEO of the page. Thus increasing your ranking in search engines.<br />
</br></p>
<h3>Other</h3>
<p></br></p>
<p>Other ways to improve your wordpress blog.</p>
<p><img src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/other-header.jpg" alt="Other Wordpress" title="Other Wordpress" width="620" height="300" class="alignnone size-full wp-image-1193" /></p>
<p><strong>1. Show Number Of Search Results</strong></br><br />
Showing how much results the search term finds is useful for the visitor and easy to implement.</p>
<p>Open your search template file, search.php. In it, search for the following:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;h3 class=&quot;pagetitle&quot;&gt;Search Results&lt;/h3&gt;</pre></div></div>

<p>Now replace this with:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;h3 class=&quot;pagetitle&quot;&gt;Search Result for &lt;?php /* Search Count */ $allsearch = &amp;new WP_Query(&quot;s=$s&amp;showposts=-1&quot;); $key = wp_specialchars($s, 1); $count = $allsearch-&gt;post_count; _e(''); _e('&lt;span class=&quot;search-terms&quot;&gt;'); echo $key; _e('&lt;/span&gt;'); _e(' &amp;mdash; '); echo $count . ' '; _e('articles'); wp_reset_query(); ?&gt;&lt;/h3&gt;</pre></div></div>

<p>Done!<br />
</br></p>
<p><strong>2. Exclude Certain Categories from Being Searched</strong></br><br />
You may not want all of your categories to appear in your search results. For example, if you&#8217;ve set up a sidebar asides category, you may not want those short snippets tangling up with your results.</p>
<p>Put this at the end of your functions.php file:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> SearchFilter<span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</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: #000088;">$query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">is_search</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
<span style="color: #000088;">$query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cat'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'8,15'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$query</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pre_get_posts'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'SearchFilter'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Replace 8,15 with the category ID&#8217;s.<br />
</br></p>
<p><strong>3. <a href="http://designm.ag/design/wordpress-tricks/">20 Wordpress Tricks to Improve Your Blog</a></strong></br><br />
This post here over at designm.ag says it all!<br />
</br></p>


<p>Related posts:<ol><li><a href='http://www.webmediamagazine.com/featured-articles/free-wordpress-theme-newsmag-basic/' rel='bookmark' title='Permanent Link: Free WordPress Theme: Newsmag Basic'>Free WordPress Theme: Newsmag Basic</a> <small>In this post we are proud to release, Newsmag Basic...</small></li><li><a href='http://www.webmediamagazine.com/css/make-a-preloading-image-rollover-naviagtion-for-wordpress/' rel='bookmark' title='Permanent Link: Make a preloading image rollover &#038; navigation for WordPress'>Make a preloading image rollover &#038; navigation for WordPress</a> <small>In this tutorial I'm going to demonstrate how to create...</small></li><li><a href='http://www.webmediamagazine.com/webdesign/essential-checklists-for-successful-website-launches/' rel='bookmark' title='Permanent Link: Essential Checklist&#8217;s For Successful Website Launches'>Essential Checklist&#8217;s For Successful Website Launches</a> <small>Your website is designed, the CMS works, content has been...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.webmediamagazine.com/webdesign/50-different-ways-to-vastly-improve-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Essential Checklist&#8217;s For Successful Website Launches</title>
		<link>http://www.webmediamagazine.com/webdesign/essential-checklists-for-successful-website-launches/</link>
		<comments>http://www.webmediamagazine.com/webdesign/essential-checklists-for-successful-website-launches/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 17:37:59 +0000</pubDate>
		<dc:creator>John Owen</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.webmediamagazine.com/?p=991</guid>
		<description><![CDATA[Your website is designed, the CMS works, content has been added and the client is happy. It’s time to take the website live. Or is it? When launching a website, you can often forget a number of things in your eagerness to make it live, so it’s useful to have a checklist to look through as you make your final touches and before you announce your website to the world.]]></description>
			<content:encoded><![CDATA[<h1><a href="http://www.boxuk.com/blog/the-ultimate-website-launch-checklist">The Ultimate Website Launch Checklist</a></h1>
<p></br><br />
This list provides a quick sheet to check everything about your website from capitalisation to correct database indexing. This doesn&#8217;t go as indepth as the other&#8217;s but it sure has got a lot of options to check. There is also a translation into French and a PDF avaliable for download.</p>
<p><img class="alignnone size-full wp-image-994" title="The Ultimate Website Launch Checklist" src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/wlc_1.jpg" alt="The Ultimate Website Launch Checklist" width="615" height="300" /></p>
<h1><a href="http://www.smashingmagazine.com/2009/04/07/15-essential-checks-before-launching-your-website/">15 Essential Checks Before Launching Your Website</a></h1>
<p></br><br />
Smashing Magazine goes more indepth with the checklist, it describes why each check is needed and what you can do about it. Below is a quote from the site.</p>
<p><em>Your website is designed, the CMS works, content has been added and the client is happy. It’s time to take the website live. Or is it? When launching a website, you can often forget a number of things in your eagerness to make it live, so it’s useful to have a checklist to look through as you make your final touches and before you announce your website to the world.</em></p>
<p><img class="alignnone size-full wp-image-1000" title="15 Essential Checks Before Launching Your Website" src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/wlc_2.jpg" alt="15 Essential Checks Before Launching Your Website" width="615" height="300" /></p>
<h1><a href="http://www.invision-graphics.com/article467-check-list-things-to-do-before-you-launch-your-website.html">Things to Do Before You Launch Your Website</a></h1>
<p></br><br />
This checklist is essentially a SEO checklist for your website launch. If you&#8217;re planning on getting organic traffic this is a must read. Here is a description from the site:</p>
<p><em>Buying a website for personal or business use. Then this article is for you. I have collated a check list that will hopefully keep you on the straight and narrow, throughout your site construction phase, prior to launching your website to major search engines for indexing.</em></p>
<p><img class="alignnone size-full wp-image-1004" title="Things to Do Before You Launch Your Website" src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/wlc_3.jpg" alt="Things to Do Before You Launch Your Website" width="615" height="300" /></p>
<h1><a href="http://www.papertopixel.org/2009/what-to-check-before-you-launch-a-website-1-static-sites/">What To Check Before You Launch A Website #1: Static Sites</a></h1>
<p></br><br />
This checklist is mainly based on visitors and how you can improve their experiance on your website. A snippet from the website:</p>
<p><em>For most of you designing great websites, diving deep into creative ideas is what web design is all about. Sure you may want your sites to be popular, maybe mentioned on established online galleries but it’s the creative process that I guess you would be most interested in.</em></p>
<p><img class="alignnone size-full wp-image-1007" title="What To Check Before You Launch A Website #1: Static Sites" src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/wlc_4.jpg" alt="What To Check Before You Launch A Website #1: Static Sites" width="615" height="300" /></p>
<h1><a href="http://www.e-moxie.com/resources/news/13-steps-to-a-successful-website-launch/">13 Steps to a Successful Website Launch</a></h1>
<p></br><br />
This checklist gives some good information on the launching date, handeling the client&#8217;s demands &amp; informing your team of the launch.</p>
<p><em>We all have been there, the client pushes for a launch date that is about 3 days before everyone had planned on.  It is now Friday at 3:00pm and you are being pulled in all directions trying to get everything ready for the big launch.  You keep asking yourself, “Did I forget anything?” “What else do I need to do?”  Hopefully you pulled through and made the launch a successful one without anyone knowing otherwise, but for those who were not as lucky I hope this list can save you some headaches on your next big launch.</em></p>
<p><img class="alignnone size-full wp-image-1012" title="13 Steps to a Successful Website Launch" src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/wlc_5.jpg" alt="13 Steps to a Successful Website Launch" width="615" height="300" /></p>
<h1><a href="http://www.webyodel.com/customer/10%20Steps%20to%20ensure%20a%20successful%20website%20launchfin.pdf">10 Steps To Ensure A Successful Website Launch</a></h1>
<p></br><br />
This PDF guide isn&#8217;t neccasaily a checklist but it does give some good information for websites.</p>
<p><img class="alignnone size-full wp-image-1015" title="10 Steps To Ensure A Successfull Website Launch" src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/wlc_6.jpg" alt="10 Steps To Ensure A Successfull Website Launch" width="615" height="300" /></p>
<h1><a href="http://www.highcontext.com/resources/5-critical-steps-for-a-successful-web-site-launch/">Five Critical Steps for a Successful Web Site Launch</a></h1>
<p></br></p>
<p>These steps go through what you should do with your design team to create a successfull website, not the website itself. Great for a web design company.</p>
<p><em>These five steps will help your web site launch go as smoothly as possible from a technical standpoint. Success in this case is defined as the site operating without errors, crashes or other anomalies related to the process of bringing it online in a production environment. I’ll assume that you have thoroughly tested the new site while it was in development.</em></p>
<p><img class="alignnone size-full wp-image-1017" title="Five Critical Steps for a Successful Web Site Launch" src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/wlc_7.jpg" alt="Five Critical Steps for a Successful Web Site Launch" width="615" height="300" /></p>
<h1><a href="http://www.mantistech.com.au/newsitem.aspx?id=42">What Makes For A Successful Website?</a></h1>
<p></br></p>
<p>This is a checklist either but a list of what to do before you even design your website, this should help and guide you to creating a successful website.</p>
<p><em>Wouldn&#8217;t you like to know the main ingredients for creating a successful website? What are the basics that make a website successful? A website that will stand out and be noticed by your visitors. One that will keep those visitors returning to your site, again and again. A successful website that generates high levels of sales and enquiries?</em></p>
<p><img class="alignnone size-full wp-image-1022" title="What Makes For A Successful Website" src="http://www.webmediamagazine.com/wp-content/uploads/2009/07/wlc_8.jpg" alt="What Makes For A Successful Website" width="615" height="300" /></p>
<h1>Conclusion</h1>
<p>I hope you enjoyed this post, we would love it if you followed us on Twitter or suscribe to our RSS feed using the button&#8217;s in the sidebar. Thanks for reading!</p>


<p>Related posts:<ol><li><a href='http://www.webmediamagazine.com/business/tips-to-creating-a-successful-ecommerce-store/' rel='bookmark' title='Permanent Link: Tips to Creating a Successful Ecommerce Store'>Tips to Creating a Successful Ecommerce Store</a> <small>Ecommerce is the buying and selling of goods through the...</small></li><li><a href='http://www.webmediamagazine.com/webdesign/50-different-ways-to-vastly-improve-your-wordpress-blog/' rel='bookmark' title='Permanent Link: 50+ Different Ways To Vastly Improve Your Wordpress Blog'>50+ Different Ways To Vastly Improve Your Wordpress Blog</a> <small>We all want to improve our wordpress blog in various...</small></li><li><a href='http://www.webmediamagazine.com/photoshop/4-high-quality-photoshop-magazines-for-photoshop-users/' rel='bookmark' title='Permanent Link: 4 High Quality Magazines For Photoshop Users'>4 High Quality Magazines For Photoshop Users</a> <small>Hello, we all like reading magazines and sucking up all...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.webmediamagazine.com/webdesign/essential-checklists-for-successful-website-launches/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>21 Great Websites for Design Inspiration</title>
		<link>http://www.webmediamagazine.com/featured-articles/21-great-websites-for-design-inspiration/</link>
		<comments>http://www.webmediamagazine.com/featured-articles/21-great-websites-for-design-inspiration/#comments</comments>
		<pubDate>Sat, 30 May 2009 17:58:47 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.webmediamagazine.com/?p=163</guid>
		<description><![CDATA[Designing good looking websites can be tough, and finding new inspiration can be even tougher. When you are drawing a blank, it&#8217;s always a good idea to look at other peoples work. Not to copy it, but pick up new ideas and design tips. In this article I have provided a list of innovative websites [...]]]></description>
			<content:encoded><![CDATA[<p>Designing good looking websites can be tough, and finding new inspiration can be even tougher. When you are drawing a blank, it&#8217;s always a good idea to look at other peoples work. Not to copy it, but pick up new ideas and design tips. In this article I have provided a list of innovative websites to help with your design inspiration.</p>
<p><span id="more-163"></span></p>
<p>(Click each image to view their website)</p>
<p><a href="http://www.hutchhouse.com"><img class="alignnone size-full wp-image-186" title="1hutchhouse-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/1hutchhouse-com.jpg" alt="1hutchhouse-com" width="580" height="300" /></a></p>
<p><a href="http://www.shn.me"><img class="alignnone size-full wp-image-194" title="2shn-me" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/2shn-me.jpg" alt="2shn-me" width="580" height="300" /></a></p>
<p><a href="http://www.madebygiant.com"><img class="alignnone size-full wp-image-196" title="3madebygiant-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/3madebygiant-com.jpg" alt="3madebygiant-com" width="580" height="300" /></a></p>
<p><a href="http://www.brandwood.com"><img class="alignnone size-full wp-image-200" title="brandwood-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/brandwood-com.jpg" alt="brandwood-com" width="580" height="300" /></a></p>
<p><a href="http://www.customt-shirts.com"><img class="alignnone size-full wp-image-202" title="customt-shirts-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/customt-shirts-com.jpg" alt="customt-shirts-com" width="580" height="300" /></a></p>
<p><a href="http://www.feedstitch.com"><img class="alignnone size-full wp-image-203" title="feedstitch-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/feedstitch-com.jpg" alt="feedstitch-com" width="580" height="300" /></a></p>
<p><a href="http://www.getmefast.com"><img class="alignnone size-full wp-image-204" title="getmefast-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/getmefast-com.jpg" alt="getmefast-com" width="580" height="300" /></a></p>
<p><a href="http://www.lepushmail.com"><img class="alignnone size-full wp-image-206" title="lepushmail-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/lepushmail-com.jpg" alt="lepushmail-com" width="580" height="300" /></a></p>
<p><a href="http://www.newsberry.com"><img class="alignnone size-full wp-image-207" title="newsberry-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/newsberry-com.jpg" alt="newsberry-com" width="580" height="300" /></a></p>
<p><a href="http://www.rockstarnewmedia.com"><img class="alignnone size-full wp-image-209" title="rockstarnewmedia-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/rockstarnewmedia-com.jpg" alt="rockstarnewmedia-com" width="580" height="300" /></a></p>
<p><a href="http://www.socialsnack.com"><img class="alignnone size-full wp-image-210" title="socialsnack-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/socialsnack-com.jpg" alt="socialsnack-com" width="580" height="300" /></a></p>
<p><a href="http://www.vascolo.com.ar"><img class="alignnone size-full wp-image-211" title="vascolo-com-ar" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/vascolo-com-ar.jpg" alt="vascolo-com-ar" width="580" height="300" /></a></p>
<p><a href="http://www.bradcolbow.com"><img class="alignnone size-full wp-image-212" title="bradcolbow-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/bradcolbow-com.jpg" alt="bradcolbow-com" width="580" height="300" /></a></p>
<p><a href="http://www.creativenights.com"><img class="alignnone size-full wp-image-214" title="creativenights-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/creativenights-com.jpg" alt="creativenights-com" width="580" height="300" /></a></p>
<p><a href="http://www.doublehappycreative.com"><img class="alignnone size-full wp-image-215" title="doublehappycreative-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/doublehappycreative-com.jpg" alt="doublehappycreative-com" width="580" height="300" /></a></p>
<p><a href="http://www.francescomugnai.com"><img class="alignnone size-full wp-image-216" title="francescomugnai-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/francescomugnai-com.jpg" alt="francescomugnai-com" width="580" height="300" /></a></p>
<p><a href="http://www.gruntdesign.com"><img class="alignnone size-full wp-image-217" title="gruntdesign-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/gruntdesign-com.jpg" alt="gruntdesign-com" width="580" height="300" /></a></p>
<p><a href="http://www.magnivate.com"><img class="alignnone size-full wp-image-218" title="magnivate-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/magnivate-com.jpg" alt="magnivate-com" width="580" height="300" /></a></p>
<p><a href="http://www.okami.fr/blog"><img class="alignnone size-full wp-image-220" title="okami-fr_blog" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/okami-fr_blog.jpg" alt="okami-fr_blog" width="580" height="300" /></a></p>
<p><a href="http://www.sharkeymedia.com"><img class="alignnone size-full wp-image-221" title="sharkeymedia-com" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/sharkeymedia-com.jpg" alt="sharkeymedia-com" width="580" height="300" /></a></p>
<p><a href="http://www.visitmix.com/lab/oxite"><img class="alignnone size-full wp-image-222" title="visitmix-com_lab_oxite" src="http://www.webmediamagazine.com/wp-content/uploads/2009/05/visitmix-com_lab_oxite.jpg" alt="visitmix-com_lab_oxite" width="580" height="300" /></a></p>


<p>Related posts:<ol><li><a href='http://www.webmediamagazine.com/webdesign/essential-checklists-for-successful-website-launches/' rel='bookmark' title='Permanent Link: Essential Checklist&#8217;s For Successful Website Launches'>Essential Checklist&#8217;s For Successful Website Launches</a> <small>Your website is designed, the CMS works, content has been...</small></li><li><a href='http://www.webmediamagazine.com/photoshop/10-great-fire-explosion-sci-fi-related-brushes/' rel='bookmark' title='Permanent Link: 10 Great Fire, Explosion &#038; Sci-fi Related Brushes'>10 Great Fire, Explosion &#038; Sci-fi Related Brushes</a> <small>At sometime in a designers life they will lack inspiration,...</small></li><li><a href='http://www.webmediamagazine.com/featured-articles/8-essential-tips-to-becoming-rich-online/' rel='bookmark' title='Permanent Link: 8 Essential Tips to Becoming Rich Online'>8 Essential Tips to Becoming Rich Online</a> <small>This article will look over a few essential tips to...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.webmediamagazine.com/featured-articles/21-great-websites-for-design-inspiration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Marketing</title>
		<link>http://www.webmediamagazine.com/featured-articles/twitter-marketing/</link>
		<comments>http://www.webmediamagazine.com/featured-articles/twitter-marketing/#comments</comments>
		<pubDate>Thu, 28 May 2009 00:15:08 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.webmediamagazine.com/?p=19</guid>
		<description><![CDATA[Each user can post a short, 140 character blog about anything they want. Also users can "follow" fellow tweeters, allowing them to see regular updates of what they are doing and when.]]></description>
			<content:encoded><![CDATA[<p>As of now Twitter has around 6 million active users and is growing at an alarming rate. It is a social networking tool used by people for &#8220;Micro Blogging&#8221;.</p>
<p><span id="more-19"></span></p>
<p>Each user can post a short, 140 character blog about anything they want. Also users can &#8220;follow&#8221; fellow tweeters, allowing them to see regular updates of what they are doing and when.</p>
<p>To me, tweeting about whatever seemed like utter nonsense. To see what all the fuss was about, I signed up. At first I felt the same way, but looking from a business’s perspective I found that twittering could be extremely useful because:</p>
<ul>
<li><strong>It allows you to communicate with your market and make connections with customers &amp; potential customers.</strong> A good way of achieving this is to set up a twitter account for the CEO of your company. You can post personal messages and messages relating to the business, letting the customer get to know you personally. This may fill customers with greater confidence and trust in you.</li>
</ul>
<ul>
<li><strong>You can post recent updates such as specials/deals.</strong> No matter what your business does you can use Twitter to announce recent news and events to a large target audience. The advantage of using Twitter for this kind of marketing is that its fast, effective and free!</li>
</ul>
<ul>
<li><strong>You can easily promote blog articles, videos and online goods.</strong> It&#8217;s really easy to post links to websites on Twitter.  A good idea is to post quality links to relevant articles relating to your business. For example you can write a decent article promoting your products and provide a link on twitter.</li>
</ul>
<p>To do the above you will  need to sign up to Twitter and get a following. This requires promoting your Twitter account. The most popular way of doing this is by having a link to  your Twitter account on your website reading, &#8220;Follow us on Twitter&#8221;. Another way of promoting your Twitter is simply by following other people; you would be surprised how many people may follow you back!</p>


<p>Related posts:<ol><li><a href='http://www.webmediamagazine.com/featured-articles/free-wordpress-theme-newsmag-basic/' rel='bookmark' title='Permanent Link: Free WordPress Theme: Newsmag Basic'>Free WordPress Theme: Newsmag Basic</a> <small>In this post we are proud to release, Newsmag Basic...</small></li><li><a href='http://www.webmediamagazine.com/featured-articles/8-essential-tips-to-becoming-rich-online/' rel='bookmark' title='Permanent Link: 8 Essential Tips to Becoming Rich Online'>8 Essential Tips to Becoming Rich Online</a> <small>This article will look over a few essential tips to...</small></li><li><a href='http://www.webmediamagazine.com/business/tips-to-creating-a-successful-ecommerce-store/' rel='bookmark' title='Permanent Link: Tips to Creating a Successful Ecommerce Store'>Tips to Creating a Successful Ecommerce Store</a> <small>Ecommerce is the buying and selling of goods through the...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.webmediamagazine.com/featured-articles/twitter-marketing/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
