<?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>Webmaster-Source &#187; links</title>
	<atom:link href="https://www.webmaster-source.com/tag/links/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.webmaster-source.com</link>
	<description>Useful Resources For Webmasters</description>
	<lastBuildDate>Thu, 24 Aug 2017 02:01:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>Building iTunes Links</title>
		<link>https://www.webmaster-source.com/2010/08/27/building-itunes-links/</link>
		<comments>https://www.webmaster-source.com/2010/08/27/building-itunes-links/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 11:47:45 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[(x)html]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=3533</guid>
		<description><![CDATA[Have you ever wanted to link to an iTunes page? It&#8217;s easy enough to copy a long, nasty-looking URL like http://itunes.apple.com/us/album/yours-truly/id310905907 right from the application by right-clicking on the album art or title. This works well enough if you&#8217;re manually linking to an album or iPhone app from a blog post, but what if you [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Have you ever wanted to link to an iTunes page? It&#8217;s easy enough to copy a long, nasty-looking URL like <code>http://itunes.apple.com/us/album/yours-truly/id310905907</code> right from the application by right-clicking on the album art or title. This works well enough if you&#8217;re manually linking to an album or iPhone app from a blog post, but what if you need something a bit more user friendly?</p>
<p>It&#8217;s not documented terribly well, but you can create much nicer short &#8220;search&#8221; links using the <code>itunes.com</code> domain. Here are a few examples:</p>
<ul>
<li><a href="http://itunes.com/paulmccartney/wingspanhitsandhistory">http://itunes.com/paulmccartney/wingspanhitsandhistory</a> (/artist/album)</li>
<li><a href="http://itunes.com/queen">http://itunes.com/queen</a> (/artist)</li>
<li><a href="http://itunes.com/talkingheads/burningdownthehouse">http://itunes.com/talkingheads/burningdownthehouse</a> (/artist/song)</li>
<li><a href="http://itunes.com/movie/theuntouchables">http://itunes.com/movie/theuntouchables</a> (/movie/nameofthemovie)</li>
<li><a href="http://itunes.com/tv/psych">http://itunes.com/tv/psych</a> (/tv/nameoftvshow)</li>
<li><a href="http://itunes.com/apps/twitter">http://itunes.com/apps/twitter</a> (/apps/iphoneapp)</li>
<li><a href="http://itunes.com/apps/electronicarts">http://itunes.com/apps/electronicarts</a> (/apps/appdeveloper)</li>
</ul>
<p>You can even combine the search links with your <a href="http://www.apple.com/itunes/affiliates/">iTunes affiliate</a> ID, if you know how to do it right. It looks something like this:</p>
<p><code>http://itunes.com/artist/album?partnerId=30&amp;siteID=YOUR_AFFILIATE_ID</code></p>
<p>Now for the fun part&#8230; Wouldn&#8217;t it be neat to be able to generate the links automatically? I&#8217;m doing that over at <a href="http://www.folkmusicsite.com/">Folk Music Site</a> (a fun project I put together last summer, as I thought it would be neat to have a directory of noteworthy folk musicians). Here is some simple PHP that will generate iTunes links on-the-fly:</p>
<pre class="brush: php; title: ; notranslate">
function get_itunes_link($artist, $album) {
 $affiliate_id = ''; //Linkshare affiliate ID for iTunes
 $artist = clean_itunes_string($artist);
 $album = clean_itunes_string($album);
 $link = &quot;http://itunes.com/{$artist}/{$album}?partnerId=30&amp;siteID={$affiliate_id}&quot;;
 return $link;
}

function clean_itunes_string($string) {
 $string = strtolower(str_replace(' ', '', $string)); //remove whitespace and makes everything lower-case
 $string = str_replace('&amp;', 'and', $string); //Replace ampersands with the word 'and'
 $remove = array('!', '¡', '&quot;', '#', '$', '%', '\'', '(', ')', '*', '+', ',', '\\', '-', '.', '/', ':', ';', '&lt;', '=', '&gt;', '¿', '?', '@', '[', ']', '^', '_', '`', '{', '|', '}', '~', '©', '®', '™');
 $string = str_replace($remove, '', $string); //Remove special characters that iTunes doesn't like
 return $string;
}

echo get_itunes_link('Feist', 'The Reminder');
</pre>
<p>Note: iTunes links should not have accented characters like á or ü. They should be replaced with their base ASCII counterparts (&#8220;a&#8221; and &#8220;u&#8221; respectively). The above code does nothing to sanitize these characters, so you might run into problems unless you write some additional logic to handle that. If you&#8217;re using a framework like Kohana, you might have a convenient helper function like <a href="http://docs.kohanaphp.com/core/utf8#transliterate_to_ascii">utf8::transliterate_to_ascii()</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2010/08/27/building-itunes-links/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Google Canonical URLs</title>
		<link>https://www.webmaster-source.com/2009/02/16/google-canonical-urls/</link>
		<comments>https://www.webmaster-source.com/2009/02/16/google-canonical-urls/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 12:38:41 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[(x)html]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[permalinks]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=1825</guid>
		<description><![CDATA[Finally, the solution for our duplicate content worries is over! Google now supports a new method to specify a canonical URL for your page. This &#8220;hint&#8221; suggests that Google use this page as the original, and ignore duplicates elsewhere on your domain. You simply add the fully W3c-compliant &#60;link&#62; tag in your header, and have [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Finally, the solution for our duplicate content worries is over! Google now supports a new method to <a href="http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html">specify a canonical URL</a> for your page. This &#8220;hint&#8221; suggests that Google use this page as the original, and ignore duplicates elsewhere on your domain.</p>
<p>You simply add the fully W3c-compliant &lt;link&gt; tag in your header, and have it point to the permalink for a given post. Google will most likely rank that page in their results, and ignore others. That should help out your ranking overall.</p>
<p><code>&lt;link rel="canonical" src="http://www.example.org/your/permalink/page/" /&gt;</code></p>
<p>Obviously you&#8217;ll want some way to integrate this with your CSS. Some will want to roll their own solution, but if not, there are already prefab options available.</p>
<ul>
<li><a href="http://yoast.com/canonical-url-links/">Yoast has a WordPress plugin, a Magento extension, and a Drupal module available</a></li>
<li><a href="http://omninoggin.com/wordpress-posts/automatically-deal-with-duplicate-content-in-wordpress/">Omninoggin has a pasteable code snippet for your WordPress theme&#8217;s functions.php file</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2009/02/16/google-canonical-urls/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Secret to Getting Traffic: Link</title>
		<link>https://www.webmaster-source.com/2008/05/09/the-secret-to-getting-traffic-link/</link>
		<comments>https://www.webmaster-source.com/2008/05/09/the-secret-to-getting-traffic-link/#comments</comments>
		<pubDate>Fri, 09 May 2008 10:56:19 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[traffic]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=541</guid>
		<description><![CDATA[Forget all about PageRank. Fill your posts with links to related posts, on your blog, and more importantly, on other blogs. Don&#8217;t hoard PageRank, and try to keep visitors on your site. Send them to other sites, and hope they come back. If you have a good blog, they will. A little counterintuitive, isn&#8217;t it? [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Forget all about PageRank. Fill your posts with links to related posts, on your blog, and more importantly, on other blogs. Don&#8217;t hoard PageRank, and try to keep visitors on your site. Send them to other sites, and hope they come back. If you have a good blog, they will.</p>
<p>A little counterintuitive, isn&#8217;t it? You send your visitors away, in order to get more?</p>
<p>Yep. It works because, by linking to someone, you&#8217;re ending up on their proverbial radar. If they notice that you&#8217;ve linked to them, there&#8217;s a good chance they will read your post, and possibly link back. If everyone was stingy with their links, the web wouldn&#8217;t work very well, would it? You wouldn&#8217;t have traffic from people linking to your posts. As a reader, even, you would have a much harder time finding things, and would miss-out on posts that you would find useful. Without links, the web wouldn&#8217;t be the web.</p>
<p>But the New York Times doesn&#8217;t ever link to anyone!</p>
<p>No, they don&#8217;t. Most of the Dead-Tree Media (or Dinosaur Media) don&#8217;t really understand the web. They don&#8217;t really like it much either. They would prefer to hang onto their existing, failing, business model. Since they can&#8217;t do that very well, they try to &#8220;break the web,&#8221; and make it work the way they want. They hoard PageRank, and try to keep people on their site, where they&#8217;ll be bombarded with ads, and help to inflate their traffic stats. Oh, and sometimes they <a href="http://www.news.com/8301-10784_3-9858916-7.html">don&#8217;t like it when you link to them</a> either&#8230;</p>
<p>Link, and you will get links. That&#8217;s how the blogosphere works.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2008/05/09/the-secret-to-getting-traffic-link/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DBT Group Project: Some Tutorials Worth Reading</title>
		<link>https://www.webmaster-source.com/2008/01/29/dbt-group-project-my-picks-of-the-tutorial-contest/</link>
		<comments>https://www.webmaster-source.com/2008/01/29/dbt-group-project-my-picks-of-the-tutorial-contest/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 12:43:18 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[Daily Blog Tips]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/2008/01/29/dbt-group-project-my-picks-of-the-tutorial-contest/</guid>
		<description><![CDATA[I&#8217;m participating in the Daily Blog Tips tutorial contest. Since contestants are supposed to post a list of their favorite entries, I&#8217;m going to post mine here. I&#8217;ve rounded up the ones I like, which I think readers of Webmaster-Source may find useful. Wondering what post I submitted? How to Feature Your Best Posts in [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m participating in the <a href="http://www.dailyblogtips.com/blog-writing-project-tutorials/">Daily Blog Tips tutorial contest</a>. Since contestants are supposed to post a list of their favorite <a href="http://www.dailyblogtips.com/blog-tutorials/">entries</a>, I&#8217;m going to post mine here. I&#8217;ve rounded up the ones I like, which I think readers of Webmaster-Source may find useful.</p>
<p>Wondering what post <em>I</em> submitted? <a href="http://www.webmaster-source.com/2008/01/25/how-to-feature-your-best-posts-in-your-sidebar/">How to Feature Your Best Posts in Your Sidebar</a>, which I wrote not long after seeing the contest. It was in my mental list of &#8220;Things That Would Make Good Tutorial Posts, If I Can Remember Them.&#8221; The contest got me to invest some time actually writing it (Thanks, Daniel!).</p>
<p>Here are my favorites from the list of entries (and I say again that you <em>may</em> find them useful):<span id="more-395"></span></p>
<h3>Blogging</h3>
<ul>
<li><a href="http://www.gabfire.com/backup-guide-for-bloggers">Backup guide for bloggers</a> &#8211; Back up your content! It&#8217;s irreplaceable. And just <em>how</em> much time have you spent working on it? Also, don&#8217;t forget to backup your template! (Just use your FTP client to copy the files to your hard drive). Blogging is like carving your words in stone. Your posts should be there for hundreds of years.</li>
<li><a href="http://www.etechbuzz.com/how-to-make-your-post-attractive-using-images/">A complete guide: How to make your post attractive using images</a> &#8211; Images aren&#8217;t a substitute for good content, but they can really improve a post.</li>
<li><a href="http://www.lostartofblogging.com/protect-your-blog-and-counter-copyright-thefts">Protect Your Blog And Counter Copyright Thefts</a> &#8211; Eventually someone will &#8220;scrape&#8221; your blog. When it happens, know how to fight it.</li>
<li><a href="http://www.dailyblogtips.com/how-to-write-scannable-content-a-6-step-approach/">How to Write Scannable Content: A 6-Step Approach</a></li>
<li><a href="http://www.raproject.com/articles/absolute-guide-to-losing-readers/">Absolute Guide to Losing Readers</a> &#8211; I really did Laugh Out Loud when I read this: <em>&#8220;I believe in the 80/20 rule. Eighty-percent of the website should be devoted to some form of advertisement with twenty percent being the content.&#8221;</em></li>
</ul>
<h3>Make Money Online</h3>
<ul>
<li><a href="http://www.blogstorm.co.uk/how-to-go-from-0-to-7000-per-month-and-back-to-0-again/">How to go from $0 to $7000 per month and back to $0 again</a></li>
<li><a href="http://www.puttingblogsfirst.com/a-5-minute-method-to-redirect-your-affiliate-links/">A 5-Minute Method to Redirect Your Affiliate Links</a> &#8211; A great idea if you tend to refer people via certain affiliate programs frequently. For example, you&#8217;re a writer and you push people to your book&#8217;s Amazon page.</li>
</ul>
<h3>SEO &amp; Web Development</h3>
<ul>
<li><a href="http://bloggingbits.com/wordpress-seo-tips-tweaks-hacks/">5 Easy Steps To Oodles Of Search Engine Traffic For Your WordPress Blog</a> &#8211; A great tutorial which I had read previously to the posting of the contest entries. If you&#8217;re new to the world of Search Engine Optimization, you should definitely read this.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2008/01/29/dbt-group-project-my-picks-of-the-tutorial-contest/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/


Served from: www.webmaster-source.com @ 2026-06-09 01:07:09 by W3 Total Cache
-->