<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://dev.emcelettronica.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>digg</title>
 <link>http://dev.emcelettronica.com/taxonomy/term/227</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Breaking News</title>
 <link>http://dev.emcelettronica.com/breaking-news</link>
 <description>&lt;p&gt;&lt;span style=&quot;color:red;&quot;&gt;&lt;blink&gt;Vote for my STORY &lt;/blink&gt;  Thanks!&lt;/span&gt;&lt;/p&gt;
&lt;div style=&quot;margin-top:20px;&quot;&gt;
&lt;div style=&quot;float:left;height:80px;width:60px;&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
digg_url = &#039;http://digg.com/programming/Open_Source_Zigbee_Stack_Your_Electronics_Open_Source&#039;;
&lt;/script&gt;&lt;script src=&quot;http://digg.com/tools/diggthis.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;div style=&quot;float:left;width:600px;&quot;&gt;&lt;a href=&quot;http://digg.com/programming/Open_Source_Zigbee_Stack_Your_Electronics_Open_Source&quot; target=&quot;_blank&quot;&gt; &lt;big&gt;Open Source Zigbee Stack&lt;/big&gt;&lt;/a&gt;&lt;/br&gt;&lt;br /&gt;
Zigbee is not popular enough, why? The ecosystem of Zigbee is different than Bluetooth. Most of the Bluetooth products are consumer electronics. The application profiles are well defined. These Bluetooth devices have been tested and certificated for interoperability. The Zigbee products are designed for the industrial or business applications...&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;clear:both&quot;&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://dev.emcelettronica.com/breaking-news&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://dev.emcelettronica.com/taxonomy/term/227">digg</category>
 <pubDate>Sat, 17 May 2008 10:19:33 +0200</pubDate>
 <dc:creator>Emanuele</dc:creator>
 <guid isPermaLink="false">51813 at http://dev.emcelettronica.com</guid>
</item>
<item>
 <title>eBOOK</title>
 <link>http://dev.emcelettronica.com/ebook</link>
 <description>&lt;b&gt;BookIT is the new way to save your bookmarks!&lt;/b&gt;
While browsing the web just push the &lt;b&gt;Book IT&lt;/b&gt; button  from your FireFox toolbar and it will appear introduction window of the article on your space on dev.emcelettronica.com. &lt;br/&gt;
You can also highlight the text to have it then automatically in the article content that you saved.
But first of all you have to be logged in (obviously) and to set the browser like this:&lt;br/&gt;
Some exemples: &lt;a href=&quot;/blog/60&quot; title=&quot;ema&quot; target=&quot;_blank&quot;&gt;Blog1&lt;/a&gt; &lt;a href=&quot;/blog/4&quot; title=&quot;ionela&quot; target=&quot;_blank&quot;&gt;Blog2 &lt;/a&gt;
&lt;p&gt;&lt;a href=&quot;http://dev.emcelettronica.com/ebook&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://dev.emcelettronica.com/ebook#comments</comments>
 <category domain="http://dev.emcelettronica.com/category/topics/technology">Technology</category>
 <category domain="http://dev.emcelettronica.com/category/tags/bookmark">bookmark</category>
 <category domain="http://dev.emcelettronica.com/taxonomy/term/227">digg</category>
 <category domain="http://dev.emcelettronica.com/category/tags/firefox">firefox</category>
 <pubDate>Mon, 10 Dec 2007 08:20:32 +0100</pubDate>
 <dc:creator>Chris</dc:creator>
 <guid isPermaLink="false">48452 at http://dev.emcelettronica.com</guid>
</item>
<item>
 <title>EDIGGcode</title>
 <link>http://dev.emcelettronica.com/EDIGG-code</link>
 <description>&lt;p&gt;&amp;lt;?php&lt;/p&gt;
&lt;p&gt;$edigg_url = &quot;/EDIGG&quot;;&lt;br /&gt;
$edigg_plus = &quot;/EDIGGPLUS&quot;;&lt;br /&gt;
$user_role = &quot;TEST&quot;;  // wait Digg authorization&lt;/p&gt;
&lt;p&gt;function getStories($topic){&lt;br /&gt;
	$url = &quot;http://services.digg.com/stories/topic/$topic/upcoming?appkey=YOUR_APPKEY_DATA&quot;; // READ_DIGG API DOC&lt;/p&gt;
&lt;p&gt;	if (!($digg = fopen($url, &quot;r&quot;))) {&lt;br /&gt;
		return false;&lt;br /&gt;
	}&lt;/p&gt;
&lt;p&gt;	while (!feof($digg)) {&lt;br /&gt;
		$data .= fgets($digg);&lt;br /&gt;
	}&lt;/p&gt;
&lt;p&gt;	fclose($digg);&lt;/p&gt;
&lt;p&gt;	if (!($xml = new SimpleXMLElement($data))) {&lt;br /&gt;
		return false;&lt;br /&gt;
	}&lt;/p&gt;
&lt;p&gt;	return $xml;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;function user_has_role($role, $user = NULL) {&lt;br /&gt;
  if ($user == NULL) {&lt;br /&gt;
    global $user;&lt;br /&gt;
  }&lt;/p&gt;
&lt;p&gt;  if (is_array($user-&amp;gt;roles) &amp;amp;&amp;amp; in_array($role, array_values($user-&amp;gt;roles))) {&lt;br /&gt;
    return TRUE;&lt;br /&gt;
  }&lt;/p&gt;
&lt;p&gt;  return FALSE;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;ini_set(&#039;user_agent&#039;, &#039;Trallallà/1.0&#039;);&lt;/p&gt;
&lt;p&gt;print &quot;window.setTimeout(\&quot;window.location.href = &#039;$edigg_url&#039;\&quot;,50000);\n&quot;;&lt;/p&gt;
&lt;p&gt;$tech = getStories(&quot;tech_news&quot;);&lt;br /&gt;
$hw = getStories(&quot;hardware&quot;);&lt;br /&gt;
if ($tech != false &amp;amp;&amp;amp; $hw != false) {&lt;br /&gt;
	for ($i=0; $i&amp;lt;6; $i++) {&lt;br /&gt;
		if ($i % 2 == 0)&lt;br /&gt;
			$story = $tech-&amp;gt;story[$i/2];&lt;br /&gt;
		else&lt;br /&gt;
			$story = $hw-&amp;gt;story[($i-1)/2];&lt;br /&gt;
		$date = $story[&#039;submit_date&#039;];&lt;br /&gt;
		settype($date, int);&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://dev.emcelettronica.com/EDIGG-code&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://dev.emcelettronica.com/taxonomy/term/227">digg</category>
 <pubDate>Sat, 10 Nov 2007 16:06:55 +0100</pubDate>
 <dc:creator>Emanuele</dc:creator>
 <guid isPermaLink="false">48185 at http://dev.emcelettronica.com</guid>
</item>
</channel>
</rss>
