<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1" -->
<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/"
	>

<channel>
	<title>Uberdu Blog</title>
	<link>http://www.uberdu.com/blog</link>
	<description>Music, Computers, and More</description>
	<pubDate>Mon, 12 Feb 2007 15:25:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>
	<language>en</language>
			<item>
		<title>Very Simple Perl Script for running yubnub commands</title>
		<link>http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/</link>
		<comments>http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/#comments</comments>
		<pubDate>Sun, 11 Feb 2007 12:20:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[techy stuff]]></category>

		<guid isPermaLink="false">http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/</guid>
		<description><![CDATA[Here&#8217;s a very simple perl script for running yubnub commands.
save the following using your favorite editor (e.g. linux vi) 
use warnings;

use LWP 5.64;

$a = LWP::UserAgent-&#62;new;

$b = 'http://www.yubnub.org/parser/parse?command='.$ARGV[0];

$c = $a-&#62;get($b);

print  $c-&#62;content;
Here&#8217;s an example of using the script (assuming you saved it with the name &#8220;yubnub&#8221;:
perl yubnub  &#8221; 2t http://del.icio.us/tag  &#8221;
perl yubnub &#8216;2t http://del.icio.us/tag&#8217;
n.b. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Here&#8217;s a very simple perl script for running yubnub commands.</strong></p>
<p align="left"><strong>save the following using your favorite editor (e.g. linux vi) </strong></p>
<pre>use warnings;

use LWP 5.64;

$a = LWP::UserAgent-&gt;new;

$b = 'http://www.yubnub.org/parser/parse?command='.$ARGV[0];

$c = $a-&gt;get($b);

print  $c-&gt;content;</pre>
<p><strong>Here&#8217;s an example of using the script (assuming you saved it with the name &#8220;yubnub&#8221;:</strong></p>
<p>perl yubnub  &#8221; 2t http://del.icio.us/tag  &#8221;</p>
<p>perl yubnub &#8216;2t http://del.icio.us/tag&#8217;</p>
<p><strong>n.b. the quotes are required</strong></p>
<p><strong>What did this command do?</strong></p>
<p><strong>it asked yubnub to run the 2t command against url http://del.icio.us/tag<br />
</strong></p>
<p><strong>what is http://del.icio.us/tag  ?</strong></p>
<p><strong>http://del.icio.us/tag   is a list of tags that del.icio.us thinks are very popular. </strong></p>
<p><strong> what is &#8220;2t&#8221;  ?</strong></p>
<p><strong>2t is a yubnub command that translates html into text. </strong></p>
<p><strong>Here are the results of running that  command n.b. this should be very usuable for unix users:</strong></p>
<p><strong> </strong></p>
<p>$ perl yubnub  &#8220;2t http://del.icio.us/tag&#8221;<br />
[skip to content][1]</p>
<p>[1]: #main</p>
<p># [del.icio.us][2] / tag /</p>
<p>[2]: /</p>
<p>[popular][3] | [recent][4]</p>
<p>[3]: /popular/<br />
[4]: /recent</p>
<p>[**login**][5] | [**register**][6] | [**help**][7]</p>
<p>[5]: https://secure.del.icio.us/login<br />
[6]: https://secure.del.icio.us/register<br />
[7]: /help/</p>
<p>del.icio.us the web</p>
<p>##  Popular tags on del.icio.us</p>
<p>This is a **tag cloud** - a list of tags where size reflects popularity.</p>
<p>sort: alphabetically | [by size][8]</p>
<p>[8]: /tag/?sort=freq</p>
<p>[.net][9] [ajax][10] [apple][11] [architecture][12] [art][13] [article][14] [articles][15] [audio][16] [bit200w07][17] [blog][18] [blogging][19] [blogs][20] [book][21] [books][22] [business][23] [comics][24] [community][25] [computer][26] [cooking][27] [cool][28] [css][29] [culture][30] [daily][31] [design][32] [development][33] [dictionary][34] [diy][35] [download][36] [education][37] [email][38] [english][39] [entertainment][40] [environment][41] [fashion][42] [fic][43] [film][44] [finance][45] [firefox][46] [flash][47] [food][48] [free][49] [freeware][50] [fun][51] [funny][52] [game][53] [games][54] [gen][55] [google][56] [graphics][57] [gtd][58] [hardware][59] [health][60] [history][61] [home][62] [howto][63] [html][64] [humor][65] [illustration][66] [imported][67] [inspiration][68] [internet][69] [japan][70] [java][71] [javascript][72] [jobs][73] [language][74] [learning][75] [library][76] [lifehacks][77] [linux][78] [mac][79] [magazine][80] [maps][81] [marketing][82] [math][83] [media][84] [microsoft][85] [mobile][86] [money][87] [movies][88] [mp3][89] [music][90] [network][91] [news][92] [online][93] [opensource][94] [osx][95] [photo][96] [photography][97] [photos][98] [photoshop][99] [php][100] [podcast][101] [politics][102] [portfolio][103] [productivity][104] [programming][105] [python][106] [radio][107] [rails][108] [recipes][109] [reference][110] [religion][111] [research][112] [resources][113] [rss][114] [ruby][115] [school][116] [science][117] [search][118] [security][119] [seo][120] [service][121] [shopping][122] [slash][123] [social][124] [software][125] [tech][126] [technology][127] [tips][128] [tool][129] [tools][130] [toread][131] [travel][132] [tutorial][133] [tutorials][134] [tv][135] [ubuntu][136] [video][137] [videos][138] [web][139] [web2.0][140] [webdesign][141] [webdev][142] [wiki][143] [windows][144] [wordpress][145] [work][146] [writing][147] [youtube][148]</p>
<p>[9]: /tag/.net<br />
[10]: /tag/ajax<br />
[11]: /tag/apple<br />
[12]: /tag/architecture<br />
[13]: /tag/art<br />
[14]: /tag/article</p>
<p>&#8212;&#8211; a bunch more tags &#8212;-</p>
<p>[152]: http://del.icio.us/about<br />
[153]: http://blog.del.icio.us/<br />
[154]: http://del.icio.us/help/terms<br />
[155]: http://del.icio.us/help/privacy<br />
[156]: http://del.icio.us/help/copyright<br />
[157]: http://del.icio.us/help/support</p>
<!-- Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/&amp;title=Very+Simple+Perl+Script+for+running+yubnub+commands" title="Add 'Very Simple Perl Script for running yubnub commands' to Del.icio.us"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/delicious.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Del.icio.us" alt="Add 'Very Simple Perl Script for running yubnub commands' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/&amp;title=Very+Simple+Perl+Script+for+running+yubnub+commands" title="Add 'Very Simple Perl Script for running yubnub commands' to digg"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/digg.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to digg" alt="Add 'Very Simple Perl Script for running yubnub commands' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Very+Simple+Perl+Script+for+running+yubnub+commands&amp;u=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/" title="Add 'Very Simple Perl Script for running yubnub commands' to FURL"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/furl.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to FURL" alt="Add 'Very Simple Perl Script for running yubnub commands' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/&amp;title=Very+Simple+Perl+Script+for+running+yubnub+commands" title="Add 'Very Simple Perl Script for running yubnub commands' to reddit"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/reddit.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to reddit" alt="Add 'Very Simple Perl Script for running yubnub commands' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/" title="Add 'Very Simple Perl Script for running yubnub commands' to Technorati"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/technorati.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Technorati" alt="Add 'Very Simple Perl Script for running yubnub commands' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/&amp;t=Very+Simple+Perl+Script+for+running+yubnub+commands" title="Add 'Very Simple Perl Script for running yubnub commands' to Yahoo My Web"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/yahoo_myweb.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Yahoo My Web" alt="Add 'Very Simple Perl Script for running yubnub commands' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/&amp;h=Very+Simple+Perl+Script+for+running+yubnub+commands" title="Add 'Very Simple Perl Script for running yubnub commands' to Newsvine"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/newsvine.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Newsvine" alt="Add 'Very Simple Perl Script for running yubnub commands' to Newsvine" /></a><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/refer.php?url=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/&amp;title=Very+Simple+Perl+Script+for+running+yubnub+commands" title="Add 'Very Simple Perl Script for running yubnub commands' to Stumble Upon"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/stumbleupon.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Stumble Upon" alt="Add 'Very Simple Perl Script for running yubnub commands' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/&amp;title=Very+Simple+Perl+Script+for+running+yubnub+commands" title="Add 'Very Simple Perl Script for running yubnub commands' to Google Bookmarks"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/google.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Google Bookmarks" alt="Add 'Very Simple Perl Script for running yubnub commands' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/&amp;title=Very+Simple+Perl+Script+for+running+yubnub+commands" title="Add 'Very Simple Perl Script for running yubnub commands' to Spurl"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/spurl.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Spurl" alt="Add 'Very Simple Perl Script for running yubnub commands' to Spurl" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.rojo.com/add-subscription/?resource=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/" title="Add 'Very Simple Perl Script for running yubnub commands' to Rojo"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/rojo.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Rojo" alt="Add 'Very Simple Perl Script for running yubnub commands' to Rojo" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.shadows.com/shadows.aspx?url=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/" title="Add 'Very Simple Perl Script for running yubnub commands' to Shadows"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/shadows.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Shadows" alt="Add 'Very Simple Perl Script for running yubnub commands' to Shadows" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://co.mments.com/track?url=http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/&amp;title=Very+Simple+Perl+Script+for+running+yubnub+commands" title="Add 'Very Simple Perl Script for running yubnub commands' to Co.mments"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/comments.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Co.mments" alt="Add 'Very Simple Perl Script for running yubnub commands' to Co.mments" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/" title="Add 'Very Simple Perl Script for running yubnub commands' to Bloglines"><img src="http://www.uberdu.com/blog/wp-content/plugins/social_bookmarks/bloglines.png" border="0" title="Add 'Very Simple Perl Script for running yubnub commands' to Bloglines" alt="Add 'Very Simple Perl Script for running yubnub commands' to Bloglines" /></a></div>
<!-- Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://www.uberdu.com/blog/2007/02/11/very-simple-perl-script-for-running-yubnub-commands/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
