<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1725076632450086090.post4640365451987476023..comments</id><updated>2008-10-08T17:06:35.000-07:00</updated><title type='text'>Comments on Technical thoughts: Missing functionality in Nozbe</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.eduoliveros.com/feeds/4640365451987476023/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1725076632450086090/4640365451987476023/comments/default'/><link rel='alternate' type='text/html' href='http://www.eduoliveros.com/2008/09/missing-functionality-in-nozbe.html'/><author><name>Edu</name><uri>http://www.blogger.com/profile/07072963402909334762</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1725076632450086090.post-4761764990944278401</id><published>2008-10-08T17:06:35.000-07:00</published><updated>2008-10-08T17:06:35.000-07:00</updated><title type='text'>I have created a version of the script for Mac (th...</title><content type='html'>I have created a version of the script for Mac (that works more or less in Mac, if you try to read the rtf in Windows there is no newline :-S)...&lt;BR/&gt;&lt;BR/&gt;It uses RTF::Writer instead of RTFUtil, which seems it&amp;#39;s not available in Mac/UNIX.&lt;BR/&gt;&lt;BR/&gt;so, here it is:&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;#!/usr/bin/perl&lt;BR/&gt;$|=1;&lt;BR/&gt;&lt;BR/&gt;use strict;&lt;BR/&gt;use LWP::Simple;&lt;BR/&gt;use JSON;&lt;BR/&gt;use RTF::Writer;&lt;BR/&gt;&lt;BR/&gt;my $content = get(&amp;quot;http://www.nozbe.com/api/projects/key-here_your_key&amp;quot;);&lt;BR/&gt;&lt;BR/&gt;print &amp;quot;content: $content\n&amp;quot;;&lt;BR/&gt;&lt;BR/&gt;my $json = new JSON;&lt;BR/&gt;my $projects = $json-&amp;gt;decode($content);&lt;BR/&gt;&lt;BR/&gt;print &amp;quot;\n ---\n&amp;quot;;&lt;BR/&gt;print &amp;quot;&amp;quot;.@$projects.&amp;quot;\n&amp;quot;;&lt;BR/&gt;&lt;BR/&gt;open FILE, &amp;quot;&amp;gt;tareas.txt&amp;quot; or die $!;&lt;BR/&gt;&lt;BR/&gt;my $rtf = RTF::Writer-&amp;gt;new_to_file(&amp;quot;tareas.rtf&amp;quot;);&lt;BR/&gt;$rtf-&amp;gt;prolog(&amp;#39;fonts&amp;#39;=&amp;gt; [ &amp;quot;Calibri&amp;quot;, &amp;quot;Cambria&amp;quot;,&amp;quot;Lucida Sans&amp;quot;]);&lt;BR/&gt;$rtf-&amp;gt;prolog(&amp;#39;colors&amp;#39;=&amp;gt; [undef, [172,82,8]]);&lt;BR/&gt;$rtf-&amp;gt;number_pages;&lt;BR/&gt;&lt;BR/&gt;my $num=1;&lt;BR/&gt;&lt;BR/&gt;foreach my $project (@$projects) {&lt;BR/&gt; print($$project{name}.&amp;quot;\n&amp;quot;);&lt;BR/&gt; print FILE &amp;quot; == &amp;quot;.$$project{&amp;quot;name&amp;quot;}.&amp;quot; (&amp;quot;.$$project{count}.&amp;quot;) ==\n&amp;quot;;&lt;BR/&gt; $rtf-&amp;gt;paragraph(\&amp;#39;\b&amp;#39;,&amp;quot; == &amp;quot;.$$project{&amp;quot;name&amp;quot;}.&amp;quot; (&amp;quot;.$$project{count}.&amp;quot;) ==&amp;quot;);&lt;BR/&gt; if($$project{count}==0){next;}&lt;BR/&gt; $content = get(&amp;quot;http://www.nozbe.com/api/actions/what-project/id-&amp;quot;.$$project{&amp;quot;id&amp;quot;}.&amp;quot;/key-here_your_key&amp;quot;);&lt;BR/&gt; my $tasks = $json-&amp;gt;decode($content);&lt;BR/&gt; foreach my $task (@$tasks) {&lt;BR/&gt;  if($$task{done}==0){&lt;BR/&gt;   if(&amp;quot;$$task{next}&amp;quot; eq &amp;quot;next&amp;quot;){&lt;BR/&gt;    $rtf-&amp;gt;printf(\&amp;#39;{\i\cf1 (^) &amp;#39;);&lt;BR/&gt;   }else{&lt;BR/&gt;    $rtf-&amp;gt;printf(\&amp;#39;{&amp;#39;)&lt;BR/&gt;   }&lt;BR/&gt;   print FILE $num.&amp;quot;. &amp;quot;.$$task{name}.&amp;quot;\n&amp;quot;;&lt;BR/&gt;   $rtf-&amp;gt;printf(\&amp;#39; %s }&amp;#39;, $num++.&amp;quot;. &amp;quot;.$$task{name}.&amp;quot;\n&amp;quot;);&lt;BR/&gt;  }&lt;BR/&gt; }&lt;BR/&gt; print FILE &amp;quot;\n&amp;quot;;&lt;BR/&gt; $rtf-&amp;gt;print(&amp;quot;\n&amp;quot;);&lt;BR/&gt;}&lt;BR/&gt;&lt;BR/&gt;$rtf-&amp;gt;close();</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1725076632450086090/4640365451987476023/comments/default/4761764990944278401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1725076632450086090/4640365451987476023/comments/default/4761764990944278401'/><link rel='alternate' type='text/html' href='http://www.eduoliveros.com/2008/09/missing-functionality-in-nozbe.html?showComment=1223510795000#c4761764990944278401' title=''/><author><name>Edu</name><uri>http://www.blogger.com/profile/07072963402909334762</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01539685493429333596'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eduoliveros.com/2008/09/missing-functionality-in-nozbe.html' ref='tag:blogger.com,1999:blog-1725076632450086090.post-4640365451987476023' source='http://www.blogger.com/feeds/1725076632450086090/posts/default/4640365451987476023' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-1725076632450086090.post-8941570136096143491</id><published>2008-09-12T12:02:19.282-07:00</published><updated>2008-09-12T12:02:19.282-07:00</updated><title type='text'>Hi,It's a bit complex for a person not used to pro...</title><content type='html'>Hi,&lt;BR/&gt;&lt;BR/&gt;It's a bit complex for a person not used to program in Perl. I'll describe here the steps but probably you will have to search Internet (in concrete to install some modules of Perl needed by the program).&lt;BR/&gt;&lt;BR/&gt;1. Install Perl, &lt;A HREF="http://www.activestate.com/Products/activeperl/index.mhtml" REL="nofollow"&gt;get Perl for Windows from ActiveState&lt;/A&gt;.&lt;BR/&gt;&lt;BR/&gt;2. save the code in a file with extension .pl (i.e. "Nozbe_tasks.pl")&lt;BR/&gt;&lt;BR/&gt;3. change in the code the text "here_your_key" with your key, see API key in the &lt;A HREF="http://www.nozbe.com/account/extras" REL="nofollow"&gt;Extras! section of Nozbe&lt;/A&gt;.&lt;BR/&gt;&lt;BR/&gt;4. After that if you try to execute  the .pl file ("Nozbe_tasks.pl" in the example) you get and error message informing that some modules are missing. Probably "RTFUtil" and I'm not sure about "JSON". Here is where you have to execute "ppm" in a windows command line (cmd.exe).&lt;BR/&gt;That's the step a bit complex and probably you can find information about how to do it in Internet.&lt;BR/&gt;&lt;BR/&gt;After that if you execute the Perl script the program generates a couple of files: "tareas.txt" and "tareas.rtf" (ups! Spanish :)) with all the tasks.&lt;BR/&gt;&lt;BR/&gt;Hope it helps!, but I know it's a bit complex for a person not used to this environment.&lt;BR/&gt;&lt;BR/&gt;regards,&lt;BR/&gt;   Edu</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1725076632450086090/4640365451987476023/comments/default/8941570136096143491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1725076632450086090/4640365451987476023/comments/default/8941570136096143491'/><link rel='alternate' type='text/html' href='http://www.eduoliveros.com/2008/09/missing-functionality-in-nozbe.html?showComment=1221246139282#c8941570136096143491' title=''/><author><name>Edu</name><uri>http://www.blogger.com/profile/07072963402909334762</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01539685493429333596'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eduoliveros.com/2008/09/missing-functionality-in-nozbe.html' ref='tag:blogger.com,1999:blog-1725076632450086090.post-4640365451987476023' source='http://www.blogger.com/feeds/1725076632450086090/posts/default/4640365451987476023' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-1725076632450086090.post-3467275230914240734</id><published>2008-09-11T03:01:53.592-07:00</published><updated>2008-09-11T03:01:53.592-07:00</updated><title type='text'>Can you provide some additional details or point t...</title><content type='html'>Can you provide some additional details or point to a resource for novices.  Where would I store this pearl file and how would I run it.  I assume it has something to do with the API, but I don't know how your file would be related to it.  Thanks, John</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1725076632450086090/4640365451987476023/comments/default/3467275230914240734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1725076632450086090/4640365451987476023/comments/default/3467275230914240734'/><link rel='alternate' type='text/html' href='http://www.eduoliveros.com/2008/09/missing-functionality-in-nozbe.html?showComment=1221127313592#c3467275230914240734' title=''/><author><name>johnk</name><uri>http://www.blogger.com/profile/03849439404671421579</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eduoliveros.com/2008/09/missing-functionality-in-nozbe.html' ref='tag:blogger.com,1999:blog-1725076632450086090.post-4640365451987476023' source='http://www.blogger.com/feeds/1725076632450086090/posts/default/4640365451987476023' type='text/html'/></entry></feed>