<?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>Federico Feroldi's blog &#187; Yahoo</title>
	<atom:link href="http://www.pixzone.com/blog/category/yahoo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixzone.com/blog</link>
	<description>by Federico Feroldi</description>
	<lastBuildDate>Sat, 13 Jun 2009 20:00:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Move your bookmarks from Myweb to Delicious in 3 easy steps</title>
		<link>http://www.pixzone.com/blog/251/move-your-bookmarks-from-myweb-to-delicious-in-3-easy-steps/</link>
		<comments>http://www.pixzone.com/blog/251/move-your-bookmarks-from-myweb-to-delicious-in-3-easy-steps/#comments</comments>
		<pubDate>Mon, 27 Aug 2007 13:52:21 +0000</pubDate>
		<dc:creator>Federico Feroldi</dc:creator>
				<category><![CDATA[Nimboo]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.pixzone.com/blog/251/move-your-bookmarks-from-myweb-to-delicious-in-3-easy-steps/</guid>
		<description><![CDATA[How to migrate your Yahoo's Myweb bookmarks to your Delicious account in three easy steps.]]></description>
			<content:encoded><![CDATA[<p>When I discover <a href="http://www.delicious.com">delicious</a> it was too late for me since at the time I had too many bookmarks already tagged in Yahoo&#8217;s <a href="http://myweb.yahoo.com">Myweb</a>. But since then I&#8217;ve always wanted to move all my bookmarks to delicious but didn&#8217;t found how to do it, until now.</p>
<p>Some days ago I found this <a href="http://www.theurer.cc/blog/2006/08/29/python-myweb-to-delicious-exporter/">python script</a> that makes use of myweb and delicious web services to migrate the bookmarks.<br />
Unfortunately the script wasn&#8217;t very reliable, it was crashing quite often and, since I have <a href="http://del.icio.us/federico_f">more than 1500 bookmarks</a>, it was quite painful since every time I launched it, it was starting from scratch.</p>
<p>So I decided to build a new script (actually two)&#8230; in Ruby.</p>
<h2>Step 1 : prerequisites</h2>
<p>First of all you must <a href="http://www.google.it/search?q=install+ruby">install Ruby</a> and <a href="http://www.google.it/search?q=install+rubygems">rubygems</a> on your system.</p>
<p>Then you must install <a href="http://pablotron.org/software/rubilicious/">rubilicious</a> gem.</p>
<h2>Step 2 : export myweb bookmarks</h2>
<p>Here&#8217;s the first ruby script that you must run:</p>
<p><code lang="ruby"><br />
require 'net/http'<br />
require 'uri'<br />
require 'rexml/document'</p>
<p># YOU WANT TO MODIFY THIS<br />
yahoo_id = 'pix'</p>
<p>myweb_appid = 'YahooDemo'<br />
myweb_urlsearch = 'http://search.yahooapis.com/MyWebService/V1/urlSearch'</p>
<p>request_start_idx = 1<br />
request_max = 50</p>
<p>while(true)<br />
  url = myweb_urlsearch + '?' + {<br />
    :appid => myweb_appid,<br />
    :yahooid => yahoo_id,<br />
    :results => request_max,<br />
    :start => request_start_idx<br />
  }.to_a.collect {|kv| kv[0].to_s + '=' + kv[1].to_s}.join('&#038;')</p>
<p>  retries = 3<br />
  while(true)<br />
    $stderr.puts(" - Requesting URLs from [#{request_start_idx}] (#{retries} retries left) -> #{url}\n")</p>
<p>    http_resp = Net::HTTP.get_response(URI.parse(url))</p>
<p>    if(http_resp.code.to_i < 200 || http_resp.code.to_i > 299)<br />
      $stderr.puts(" ! request failed [#{http_resp.code}]\n")<br />
      retries -= 1<br />
      sleep(5) &#038;&#038; next if(retries > 0)<br />
      $stderr.puts(" ! too many retries, something is broken!\n")<br />
      exit<br />
    end<br />
    break # exit while loop<br />
  end</p>
<p>  xml_data = http_resp.body</p>
<p>  # extract event information<br />
  doc = REXML::Document.new(xml_data)</p>
<p>  tot_results = doc.root.attributes['totalResultsAvailable'].to_i<br />
  break unless tot_results > 0</p>
<p>  doc.elements.each('ResultSet/Result') do |r|<br />
    puts [<br />
      r.elements['Title'].text,<br />
      r.elements['Summary'].text,<br />
      r.elements['Url'].text,<br />
      r.elements['Tags'].collect() {|e| e.text.to_s}.join(','),<br />
    ].collect {|v| URI.escape(v.to_s) }.join('&#038;') + "\n"</p>
<p>    request_start_idx += 1<br />
  end</p>
<p>end<br />
</code></p>
<p>Copy this code and paste it to a file (like <em>myweb_export.rb</em>). You also want to set the <strong>yahoo_id</strong> variable with your myweb ID.</p>
<p>Then you can run the script:</p>
<p><code lang="bash"><br />
ruby myweb_export.rb > data.txt<br />
</code></p>
<h2> Step 3 : import bookmarks into delicious </h2>
<p>For the final step you&#8217;ll need the script below:</p>
<p><code lang="ruby"><br />
require 'rubilicious'<br />
require 'uri'</p>
<p>r = Rubilicious.new('USER', 'PASSWORD')</p>
<p>$stdin.each_line do |l|<br />
  title, description, url, keys = l.split('&#038;').collect { |i| URI.decode(i) }<br />
  keys = keys.split(',').collect { |k| k.strip.gsub(/\s+/, '-') }.join(' ')<br />
  puts title + "\n" + url + "\n" + keys + "\n---\n"<br />
  r.add(url, title, description, keys)<br />
  sleep(1)<br />
end<br />
</code></p>
<p>You want to set the proper values for <strong>USER</strong> and <strong>PASSWORD</strong> of your delicious account and copy the code to <em>deli_import.rb</em>.</p>
<p><code lang="bash"><br />
ruby deli_import.rb < data.txt<br />
</code></p>
<p>The script waits 1 second after each URL since this is required by the <a href="http://del.icio.us/help/api/">delicious API</a>.</p>
<p><em>Limitations: unfortunately since the Myweb web services only allow the search of public bookmarks, you'll not be able to migrate private bookmarks. You must do this by hand or wait that Yahoo will release a Myweb webservice that supports authentication.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixzone.com/blog/251/move-your-bookmarks-from-myweb-to-delicious-in-3-easy-steps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP developers jobs: Yahoo! is hiring</title>
		<link>http://www.pixzone.com/blog/227/php-developers-jobs-yahoo-is-hiring/</link>
		<comments>http://www.pixzone.com/blog/227/php-developers-jobs-yahoo-is-hiring/#comments</comments>
		<pubDate>Mon, 21 May 2007 12:07:48 +0000</pubDate>
		<dc:creator>Federico Feroldi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.pixzone.com/blog/227/php-developers-jobs-yahoo-is-hiring/</guid>
		<description><![CDATA[Yahoo! is hiring PHP developers in United Kingdom!]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm1.static.flickr.com/229/507487029_93f8e3fd9d_m.jpg" align="right">If you&#8217;re looking for an exciting job opportunity in the UK, have a look at the many open positions available in Yahoo!<br />
If you&#8217;re interested, <a href="http://www.linkedin.com/in/feroldi">get in touch with me</a> and I&#8217;ll forward your request to the right people. <img src='http://www.pixzone.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li><a href="http://gs.globalsuccessor.com/fe/tpl_yahoo01.asp?s=TcEbHMjWuLXcZzLur&#038;jobid=39858,7256610248&#038;key=7374542&#038;c=024857413412&#038;pagestamp=sevztgbqecternsuop">Engineering Software Developer</a></li>
<li><a href="http://gs.globalsuccessor.com/fe/tpl_yahoo01.asp?s=ktVsYDaNlCOtQqCli&#038;jobid=38448,9825584898&#038;key=7374542&#038;c=024857413412&#038;pagestamp=sevztgbqecternsuop">Service Architect</a></li>
<li><a href="http://gs.globalsuccessor.com/fe/tpl_yahoo01.asp?s=AjLiOTqDbSEjGgSby&#038;jobid=41781,7748212595&#038;key=7374542&#038;c=024857413412&#038;pagestamp=sevztgbqecternsuop">Service Engineer</a></li>
<li><a href="http://gs.globalsuccessor.com/fe/tpl_yahoo01.asp?s=XgIfLQnAyPBgDdPyv&#038;jobid=41700,2302872513&#038;key=7374542&#038;c=024857413412&#038;pagestamp=sevztgbqecternsuop">Social Media Engineer</a></li>
<li><a href="http://gs.globalsuccessor.com/fe/tpl_yahoo01.asp?s=fraCzFKhUsJVaXxJsp&#038;jobid=40462,2388139865&#038;key=7374542&#038;c=024857413412&#038;pagestamp=sepqudmicfjkblycvu">Web Developer</a></li>
</ul>
<p>Or <a href="http://gs.globalsuccessor.com/fe/tpl_yahoo01.asp?newms=se">find the job</a> thet&#8217;s right for you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixzone.com/blog/227/php-developers-jobs-yahoo-is-hiring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPDay 2007 is over</title>
		<link>http://www.pixzone.com/blog/225/phpday-2007-is-over/</link>
		<comments>http://www.pixzone.com/blog/225/phpday-2007-is-over/#comments</comments>
		<pubDate>Fri, 18 May 2007 21:15:46 +0000</pubDate>
		<dc:creator>Federico Feroldi</dc:creator>
				<category><![CDATA[Life facts]]></category>
		<category><![CDATA[Talks]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.pixzone.com/blog/225/phpday-2007-is-over/</guid>
		<description><![CDATA[Federico Feroldi talks about PHP at Yahoo! at the italian PHPDay 2007]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.phpday.it/site/">PHPDay 2007</a> is over, I enjoyed talking about Yahoo! technologies to the (not so many) people attending the event.<br />
Below you can find the slides of my talk on <a href="http://www.phpday.it/site/phpday-2007/calendario-conferenze/canale-enterprise/federico-feroldi-php-in-yahoo/">PHP at Yahoo</a>:</p>
<p><object type="application/x-shockwave-flash" data="https://s3.amazonaws.com:443/slideshare/ssplayer.swf?id=51149&#038;doc=federico-feroldi-php-in-yahoo-12010" width="425" height="348"><param name="movie" value="https://s3.amazonaws.com:443/slideshare/ssplayer.swf?id=51149&#038;doc=federico-feroldi-php-in-yahoo-12010" /></object></p>
<p>Many thanks to <a href="http://www.fullo.net/blog/">Fullo</a> for organizing the event!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixzone.com/blog/225/phpday-2007-is-over/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Breaking news: R3 and StickleBack Yahoo tools Open Sourced</title>
		<link>http://www.pixzone.com/blog/221/breaking-news-r3-and-stickeback-yahoo-tools-open-sourced/</link>
		<comments>http://www.pixzone.com/blog/221/breaking-news-r3-and-stickeback-yahoo-tools-open-sourced/#comments</comments>
		<pubDate>Tue, 08 May 2007 16:38:37 +0000</pubDate>
		<dc:creator>Federico Feroldi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.pixzone.com/blog/221/breaking-news-r3-and-stickeback-yahoo-tools-open-sourced/</guid>
		<description><![CDATA[Yahoo! donates to the Open Source two great tools to add i18n and modularity to PHP applications.]]></description>
			<content:encoded><![CDATA[<p><img src="http://us.i1.yimg.com/us.yimg.com/i/us/nt/ma/ma_devnet_1.gif" alt="Yahoo! Developer Network" /></p>
<p>I just received an awesome news from my manager. Two of the most important Yahoo&#8217;s platform tools have been published to the Open Source world for your pleasure:</p>
<ul>
<li><a href="http://sourceforge.net/projects/rthree">r3</a> allows developers of web applications to customize and translate their UI for different languages, markets and uses. It allows developers to modify existing functionality and add new plug-ins via the Stickleback extension engine.</li>
<li><a href="http://sourceforge.net/projects/stickleback">Stickleback</a> is a general purpose plug-in framework. It ships with tools that allow developers to build and extend PHP command-line and gui applications. It forms the basis of &#8216;r3&#8242;, a web app customization and localization engine.</li>
</li>
<p>That&#8217;s all for now! More infos to come soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixzone.com/blog/221/breaking-news-r3-and-stickeback-yahoo-tools-open-sourced/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Come to see my &#8220;PHP at Yahoo!&#8221; talk at PHP Day 2007</title>
		<link>http://www.pixzone.com/blog/216/come-to-see-my-php-at-yahoo-talk-at-php-day-2007/</link>
		<comments>http://www.pixzone.com/blog/216/come-to-see-my-php-at-yahoo-talk-at-php-day-2007/#comments</comments>
		<pubDate>Sun, 22 Apr 2007 17:53:01 +0000</pubDate>
		<dc:creator>Federico Feroldi</dc:creator>
				<category><![CDATA[Life facts]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Talks]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.pixzone.com/blog/216/come-to-see-my-php-at-yahoo-talk-at-php-day-2007/</guid>
		<description><![CDATA[Federico Feroldi talks about PHP at YAHOO at the PHP Day 2007.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m excited, I will give a talk on the <a href="http://www.phpday.it/site/phpday-2007/calendario-conferenze/canale-enterprise/federico-feroldi-php-in-yahoo/">PHP usage at Yahoo at the upcoming PHP Day 2007</a> on the 18th May in Verona.</p>
<blockquote><p>
The <a href="http://www.grusp.it/">GrUSP</a> (Php Italian users and developers group) is pleased to announce the 4th edition of PHP Day. An event totally dedicated to php language is going to be held on Friday 18 May 2007 in Verona (Italy).</p>
<p>During the meeting there will be talks on the professional use of php language (Enterprise path) and more technical conferences (Developer path).
</p></blockquote>
<p><a href="http://www.phpday.it"><img alt="phpday quarta edizione - 18 maggio  2007 verona" title="phpday quarta edizione - 18 maggio a verona" border="0"  src="http://www.phpday.it/site/wp-content/uploads/2007/01/phpday-banner-07.gif" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixzone.com/blog/216/come-to-see-my-php-at-yahoo-talk-at-php-day-2007/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Announcing Yahoo!&#8217;s first external Hack Day in Europe</title>
		<link>http://www.pixzone.com/blog/211/announcing-yahoos-first-external-hack-day-in-europe/</link>
		<comments>http://www.pixzone.com/blog/211/announcing-yahoos-first-external-hack-day-in-europe/#comments</comments>
		<pubDate>Fri, 20 Apr 2007 08:29:43 +0000</pubDate>
		<dc:creator>Federico Feroldi</dc:creator>
				<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.pixzone.com/blog/211/announcing-yahoos-first-external-hack-day-in-europe/</guid>
		<description><![CDATA[Announcing Yahoo!'s first external Hack Day in Europe on June 16th and 17th at Londonâ€™s historic Alexandra Palace.]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm1.static.flickr.com/74/166492035_3e264c13ba_m.jpg" align="right" alt="Yahoo! Hack Day" />Following on from the success of <a href="http://developer.yahoo.net/hackday/">Yahoo!&#8217;s internal Hack Days</a>, Iâ€™m delighted to tell you that registration begins today for <a href="http://hackday.org/">Yahoo!â€™s first-ever external Hack Day in Europe</a>.</p>
<p>On June 16th and 17th, Londonâ€™s historic <a href="http://www.alexandrapalace.com/">Alexandra Palace</a> will experience the buzz of innovation as up to 500 external web developers and new media technologists join together for a fun and free flowing exchange of ideas. The ultimate goal: <strong>to create and innovate the next generation of Internet services</strong>.</p>
<p>In youâ€™re interested in finding out more or checking out the external registration site, go to <a href="http://hackday.org/">http://hackday.org/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixzone.com/blog/211/announcing-yahoos-first-external-hack-day-in-europe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.477 seconds -->
