<?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>Indexed Content &#187; smo</title>
	<atom:link href="http://indexedcontent.com/tag/smo/feed/" rel="self" type="application/rss+xml" />
	<link>http://indexedcontent.com</link>
	<description>SEO Services &#38; Link Building</description>
	<lastBuildDate>Tue, 17 Nov 2009 22:37:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using the Digg API</title>
		<link>http://indexedcontent.com/smo/digg/using-the-digg-api/</link>
		<comments>http://indexedcontent.com/smo/digg/using-the-digg-api/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 18:01:17 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[digg]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[smo]]></category>

		<guid isPermaLink="false">http://indexedcontent.com/digg/using-the-digg-api/</guid>
		<description><![CDATA[Everyday microblogging is gaining more traction.  In this article we go over some of the basic steps of syndicating your social network activity on your blog/website via digg's api]]></description>
			<content:encoded><![CDATA[<p>Digg&#8217;s new API is impressive.  Incorporating your digg user account activity or your domain&#8217;s popular posts into your blog or using it as part of a micro blogging strategy is a snap.  The easiest way I have found is to use Nick Halstead&#8217;s <a href="http://www.nickhalstead.com/code-bank/">Simple Digg API Usage</a> script.  This script doesn&#8217;t require PEAR and it works on PHP 4 &amp; 5.</p>
<h2>Digg User Lookup</h2>
<div style="clear:both;padding-top:8px;"></div>
<h1>The Basics</h1>
<p>To get started, you need to create (as in &#8216;out of thin air&#8217;) an <strong>application key</strong> and a <strong>user agent</strong>.  There is no application key signup like Google or Youtube, however the application key you choose should meet the following requirements:</p>
<blockquote><p>from the <a href="http://apidoc.digg.com/">digg api wiki</a><br />
The value of the appkey argument must be a valid absolute URI (see IETF RFC 2396) that identifies the application making the request. The URI might point to:</p>
<ul>
<li>The application itself, if it&#8217;s a web application.</li>
<li>A web page describing the application.</li>
<li>A web page offering the application for download.</li>
<li>The author&#8217;s web site.</li>
</ul>
</blockquote>
<h2>Html</h2>
<p>The html for the form to display to request digg user name.</p>
<pre class="brush: php;">&lt;form action=&quot;&quot; method=&quot;post&quot;&gt;
&lt;table border=&quot;0&quot;&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;td colspan=&quot;2&quot;&gt;User Lookup&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
&lt;tbody&gt;
  &lt;tr&gt;
    &lt;td&gt;User Name&lt;/td&gt;
    &lt;td&gt;
  &lt;input maxlength=&quot;50&quot; name=&quot;uid&quot; size=&quot;25&quot; type=&quot;text&quot; /&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;input name=&quot;submit&quot; type=&quot;submit&quot; value=&quot;submit&quot; /&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/form&gt;
</pre>
<h2>Code</h2>
<p>The backend code to function the submit request</p>
<pre class="brush: php;">decode($response);
        foreach($decoded-&gt;users as &amp;$user) {
             // $user = $decoded-&gt;users;
                $name = $user-&gt;name;
                $icon = $user-&gt;icon;
                $registered = $user-&gt;registered;
                $profileviews = $user-&gt;profileviews;
                              function timestamp_to_date ($registered)
                              {
                              $date = date ('m-d-Y' , $registered);
                              echo $date;
                              }
                echo &quot;&lt;div id=\&quot;archivebox\&quot;&gt;&quot;;
                echo &quot;&lt;h2&gt;&lt;img src=&quot;\&quot; alt=&quot;&quot; /&gt;&quot;;
                echo &quot;$name&quot;;
                echo &quot;User Since: &quot;;
                timestamp_to_date ($registered);
                echo &quot;&quot;;
                echo &quot;Profile Views: $profileviews &quot;;
                echo &quot;&lt;/h2&gt;&lt;h3&gt;User Links&lt;/h3&gt;&quot;;
                echo &quot;&lt;ul&gt;&quot;;
                }
                foreach($user-&gt;links as $link) {
                $href = $link-&gt;href;
                $description = $link-&gt;description;
                echo &quot;&lt;li&gt;&lt;a href=&quot;$href&quot;&gt;$description&lt;/a&gt;&lt;/li&gt;&quot;;
                }
                echo &quot;&lt;/ul&gt;&quot;;
                echo &quot;&lt;/div&gt;&quot;;

        } else {             //form hasn't been submitted
        $user = &quot;elebrio&quot;;
	require(&quot;JSON.php&quot;);
	ini_set('user_agent', 'ic/1.0');
	$appkey = 'http://indexedcontent.com';
        $response = file_get_contents(&quot;http://services.digg.com/user/$user?appkey=$appkey&amp;type=json&quot;);
        $json = new Services_JSON();
	$decoded = $json-&gt;decode($response);
        foreach($decoded-&gt;users as &amp;$user) {
             // $user = $decoded-&gt;users;
                $name = $user-&gt;name;
                $icon = $user-&gt;icon;
                $registered = $user-&gt;registered;
                $profileviews = $user-&gt;profileviews;
                              function timestamp_to_date ($registered)
                              {
                              $date = date ('m-d-Y' , $registered);
                              echo $date;
                              }
                echo &quot;&lt;div id=\&quot;archivebox\&quot;&gt;&quot;;
                echo &quot;&lt;h2&gt;&lt;img src=&quot;\&quot; alt=&quot;&quot; /&gt;&quot;;
                echo &quot;$name&quot;;

                echo &quot;User Since: &quot;;
                timestamp_to_date ($registered);
                echo &quot;&quot;;
                echo &quot;Profile Views: $profileviews &quot;;
                echo &quot;&lt;/h2&gt;&lt;h3&gt;User Links&lt;/h3&gt;&quot;;
                echo &quot;&lt;ul&gt;&quot;;
                }
                foreach($user-&gt;links as $link) {
                $href = $link-&gt;href;
                $description = $link-&gt;description;
                echo &quot;&lt;li&gt;&lt;a href=&quot;$href&quot;&gt;$description&lt;/a&gt;&lt;/li&gt;&quot;;
                }
                echo &quot;&lt;/ul&gt;&quot;;
                echo &quot;&lt;/div&gt;&quot;;
		}
?&gt;</pre>
<p>In order to get this code working on your site, you will need to change two variables.</p>
<ul>
<li> appkey  &#8211; replace with your domain
<pre class="brush: php;"> $appkey ='http://indexedcontent.com';</pre>
</li>
<li> user agent
<pre class="brush: php;"> ini_set('user_agent', 'ic/1.0');</pre>
<p>ic/1.0 is my site&#8217;s current user agent.  You can basically name this whatever you want.</li>
</ul>
<h2>Additional Resources</h2>
<ul>
<li><a href="http://groups.google.com/group/diggapi">http://groups.google.com/group/diggapi</a></li>
</ul>
<img src="http://indexedcontent.com/?ak_action=api_record_view&id=33&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://indexedcontent.com/smo/digg/using-the-digg-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is the DIGG experience worth it ?</title>
		<link>http://indexedcontent.com/smo/is-the-digg-experience-worth-it/</link>
		<comments>http://indexedcontent.com/smo/is-the-digg-experience-worth-it/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 14:23:58 +0000</pubDate>
		<dc:creator>Sergiu</dc:creator>
				<category><![CDATA[digg]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[smo]]></category>

		<guid isPermaLink="false">http://indexedcontent.com/?p=27</guid>
		<description><![CDATA[The real value of Digg's front page isn't direct traffic. The natural back links from bloggers increase PR and relevant anchor text links help in keyword rankings.]]></description>
			<content:encoded><![CDATA[<p>There are a lot of debates when it comes to Digg and people like expressing their point of view no doubt about it. but when we talk about the Digg side effects we are talking about articles who reach the first page. Of course Digg has it&#8217;s own algorithm when it comes to ranking a page high but what could really happen if we were to have articles on the first page ?</p>
<p>Some people say that this would be some sort of bad luck because the traffic doesn&#8217;t convert well and certainly your site will crash due to high traffic  (yea right) &#8230;</p>
<p>I think there are way many better (if not only) advantages for your site if you get articles on the first page of digg because:</p>
<p><strong>Seo Advantages:</strong> You can get a lot of links (deep links) to your site with anchor texts that really do the job because of sites who use the digg mirror service or others who compose their articles reffering to you etc. Let&#8217;s not forget about other sites that collaborate with Digg or users who use more than one social bookmarking site thus giving you tons of backlinks.</p>
<p><strong>Monetizing Ads:</strong> Even though your ads won&#8217;t convert as you would want them a huge traffic spike could earn you some decent money. Altough your traffic increased 20 times and your winnings barely tripled it&#8217;s still a progress no doubt about it.</p>
<p><strong>Exposure:</strong> Having your story on the first page gives you great exposure. Basically all viral campaigns made it to the first page on Digg so if you have something to say why not do it the smart way</p>
<p><strong> Readers:</strong> Everybody knows John Chow and what he did, how he monetized his sites, pissed off Digg and Google etc&#8230; But the smart thing i guess nobody though of was converting Digg fans into his own. This shows us that if you have some talent (when it comes to writing) you can easily convert readers and make them your own. Guess how the first page of Digg helps in this equation</p>
<p>So most people who say that Digg is this or that or fear of a server crash are just &#8220;little girls&#8221; who never experienced real traffic and of course they fear it. My logical piece of advice is get as much (content oriented if possible) traffic as you can get !</p>
<p>P.S. If you do find the secret of placing your article on #1 page of Digg don&#8217;t forget to whisper</p>
<img src="http://indexedcontent.com/?ak_action=api_record_view&id=27&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://indexedcontent.com/smo/is-the-digg-experience-worth-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
