<?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>Addicted To 1's and 0's &#187; PHP</title>
	<atom:link href="http://www.addto10.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.addto10.com</link>
	<description>A continuation of the nerd vs. dork debate</description>
	<lastBuildDate>Thu, 15 Dec 2011 05:14:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Add SEO Friendly Social Media Links To WordPress</title>
		<link>http://www.addto10.com/add-seo-friendly-social-media-links-to-wordpress/</link>
		<comments>http://www.addto10.com/add-seo-friendly-social-media-links-to-wordpress/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 11:07:06 +0000</pubDate>
		<dc:creator>brent</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Promotion]]></category>
		<category><![CDATA[SEM]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.addto10.com/?p=103</guid>
		<description><![CDATA[Jeff from over at Perishable Press has just posted a handy guide to adding code to your WordPress theme that will enable you to offer SEO-Friendly, fully validating social media links for each of your pages or posts. If you want the easy way of adding social media links to your blog, there are countless [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.addto10.com/images/add_seo_friendly_links_to_wordpress.jpg" alt="Add SEO Friendly Links To WordPress Pages and Posts"/></p>
<p>Jeff from over at <a rel="nofollow" href="http://perishablepress.com/">Perishable Press</a> has just posted a <a href="http://perishablepress.com/press/2008/11/23/fully-valid-seo-friendly-social-media-links-for-wordpress/">handy guide</a> to adding code to your WordPress theme that will enable you to offer SEO-Friendly, fully validating social media links for each of your pages or posts. If you want the easy way of adding social media links to your blog, there are <a rel="nofollow" href="http://wordpress.org/extend/plugins/sociable/">countless WordPress plugins</a> that will do just that, this method is for those of you who want to use as few plugins as possible (a real lean mean blogging machine!)</p>
<p>He gives the code for Delicious, Digg, Twitter, StumbleUpon, Technorati, Blinklist, Furl, Reddit and AddThis (with more sites provided in the comments).</p>
<p>Here&#8217;s an example for Digg.com:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;a rel=&quot;nofollow&quot; href=&quot;http://digg.com/submit?phase=2&amp;amp;url=<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; title=&quot;Submit this post to Digg&quot;&gt;Digg this!&lt;/a&gt;</pre></div></div>

<p>In order to add the code to each post, edit the single.php and paste in the appropriate code before the comments PHP tag. So you&#8217;d paste it before:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php comments_template<span style="color: #009900;">&#40;</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>To add the code to your pages, edit page.php and paste the appropriate code after the PHP tag for your page content. So depending on your theme you&#8217;d paste it after:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php the_content<span style="color: #009900;">&#40;</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>To have the links appear on the homepage after the end of each post, edit index.php and paste the appropriate code after the content PHP tag, though it might differ depending on your theme. So you&#8217;d paste the code this time after:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php the_content<span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Read more'</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>Go check out <a href="http://perishablepress.com/press/2008/11/23/fully-valid-seo-friendly-social-media-links-for-wordpress/">the full post for more examples.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.addto10.com/add-seo-friendly-social-media-links-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

