02
Sep
Written by: ame235

Here is the script made for GeekTool
it displays the daily releases of Demonid in category
Applications:Macintosh

user@computer:$ curl --silent "http://static.demonoid.com/rss/5.3.xml" | grep -E '(title>|description>)' | sed -n '4,$p' | sed -e 's///' -e 's/<\/title>//' -e 's/<description>/ /' -e 's/<\/description>//' | sed -e 's/<\/image><language>en-us<\/language><item>//g' | grep -Ev 'Size' | sed -e 's/<\/item><item>//g' | grep `date | awk '{print $2}'` | grep `date '+%d'` | cut -d "<" -f1 | sed -e 's/^[ \t]*//' | sed 's/^/> /' | sed 's/\&/\&/g'<br/></div> <p>GeekTool is used to display informations on the desktop…<br /> More informations: <a onclick="javascript:pageTracker._trackPageview('/outgoing/projects.tynsoe.org/en/geektool/');" href="http://projects.tynsoe.org/en/geektool/">http://projects.tynsoe.org/en/geektool/</a></p> </div> </td> <td rowspan="3" height="100%" width="125px" valign="middle" align="center"> <div id="paypal_box"> <script type="text/javascript"><!-- google_ad_client = "ca-pub-5253791017217542"; /* 125x125, created 9/20/09 */ google_ad_slot = "1957618578"; google_ad_width = 125; google_ad_height = 125; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <BR /> <BR /> <BR /> If you like my work,<BR />please consider<BR />a donation ;)<BR /><BR /> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="11217603"> <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" width="90%" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1"> </form> </div> </td></tr> </table> </div> <BR /> <div class="under"> Category: <a href="http://www.ame235.com/ame235/category/creation/popularized-tech/" title="View all posts in Popularized tech." rel="category tag">Popularized tech.</a><br /> Tags: <a href="http://www.ame235.com/ame235/tag/command/" rel="tag">command</a>, <a href="http://www.ame235.com/ame235/tag/demonoid/" rel="tag">demonoid</a>, <a href="http://www.ame235.com/ame235/tag/desktop/" rel="tag">desktop</a>, <a href="http://www.ame235.com/ame235/tag/geektool/" rel="tag">Geektool</a>, <a href="http://www.ame235.com/ame235/tag/grep/" rel="tag">grep</a>, <a href="http://www.ame235.com/ame235/tag/rss/" rel="tag">rss</a>, <a href="http://www.ame235.com/ame235/tag/script/" rel="tag">script</a>, <a href="http://www.ame235.com/ame235/tag/sed/" rel="tag">sed</a>, <a href="http://www.ame235.com/ame235/tag/shell/" rel="tag">shell</a>, <a href="http://www.ame235.com/ame235/tag/terminal/" rel="tag">terminal</a>, <a href="http://www.ame235.com/ame235/tag/xml/" rel="tag">xml</a> </div> <BR /> <div class="postbottom"> <BR /> <table width="100%" border="0" cellspacing="0" cellspadding="0"> <tr> <td> WP Comments: <span class="commentslink"><img src="http://www.ame235.com/ame235/wp-content/themes/ame235v6/images/list-nocomments.png" /></span> <BR /> Forum: <a href="http://www.ame235.com/forum/viewtopic.php?f=6&t=68">0 Comments</a><a href="http://www.ame235.com/forum/posting.php?mode=reply&f=6&t=68" class="forum_reply"> + </a> </td> <td width="100px" align="right"> <a href="#mb_inline" rel="lightbox[inline 360 150]" title="">SOCIAL</a> </td> </tr> </table> <div id="mb_inline" style="display: none;"> <span style="color: #545454; text-align: center;"> <span style="font-weight: bold; font-size: 14px;">// Socialize this article:</span> <BR /> <BR /> Click on the following links to share this article with your favorite Social Network. <BR /> <BR /> <table width="100%" border="0" cellspacing="0" cellspadding="0"> <tr> <td> </td> <td width="32px"> <a href="http://www.facebook.com/share.php?u=http://www.ame235.com/ame235/2009/09/02/geektool-demonoid-mac-news/&t=GeekTool – Demonoid Mac news" class="facebook"></a> </td> <td width="32px"> <a href="http://digg.com/submit?phase=2&url=http://www.ame235.com/ame235/2009/09/02/geektool-demonoid-mac-news/&title=GeekTool – Demonoid Mac news" class="digg"></a> </td> <td width="32px"> <a href="http://del.icio.us/post?url=http://www.ame235.com/ame235/2009/09/02/geektool-demonoid-mac-news/&title=GeekTool – Demonoid Mac news" class="delicious"></a> </td> <td width="32px"> <a href="http://google.com/bookmarks/mark?op=edit&bkmk=http://www.ame235.com/ame235/2009/09/02/geektool-demonoid-mac-news/&title=GeekTool – Demonoid Mac news" class="google"></a> </td> <td> </td> </tr> </table> </span> </div> </div> <br /> <BR /> <BR /> <!-- You can start editing here. --> <div class="clear"></div> <!-- If comments are closed. --> <p class="nocomments">Comments are closed.</p> <BR />  <BR />  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"> <rdf:Description rdf:about="http://www.ame235.com/ame235/2009/09/02/geektool-demonoid-mac-news/" dc:identifier="http://www.ame235.com/ame235/2009/09/02/geektool-demonoid-mac-news/" dc:title="GeekTool – Demonoid Mac news" trackback:ping="http://www.ame235.com/ame235/2009/09/02/geektool-demonoid-mac-news/trackback/" /> </rdf:RDF> </div> </div> <!-- CONTENTAREA --> </div> <!-- END PAGE --> <BR /> <BR /> <div id="footer"> <div> Powered by: <a href="http://wordpress.org">WP</a><sup>©</sup><BR /> Code: <a href="http://www.ame235.com/">Ame235</a><sup>©</sup><BR /> <a href="http://www.ame235.com/ame235/wp-login.php">Log in</a> | <a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional"> Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr> </a> | <a href="feed:http://www.ame235.com/ame235/feed/">Rss Feed</a> <BR />   </div> </div> <!-- tracker added by Ultimate Google Analytics plugin v1.6.0: http://www.oratransplant.nl/uga --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-936528-2"); pageTracker._initData(); pageTracker._trackPageview(); </script> </body> </html>