<?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>DanielAndrade.net &#187; Scripts</title>
	<atom:link href="http://www.danielandrade.net/category/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danielandrade.net</link>
	<description>Daniel Andrade Tech Stuff</description>
	<lastBuildDate>Sat, 19 Nov 2011 10:39:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>My new PicPlz Gallery</title>
		<link>http://www.danielandrade.net/2011/05/01/my-new-picplz-gallery/</link>
		<comments>http://www.danielandrade.net/2011/05/01/my-new-picplz-gallery/#comments</comments>
		<pubDate>Sun, 01 May 2011 21:19:49 +0000</pubDate>
		<dc:creator>DanielAndrade</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://www.danielandrade.net/?p=499</guid>
		<description><![CDATA[Yesterday I was playing with the PicPlz API and decided to build a gallery for myself, so I can simply see all my PicPlz pictures in one page, and with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.danielandrade.net/picplz/"><img src="http://i.imgur.com/aZPAm.jpg" alt="" /><br />
</a><br />
Yesterday I was playing with the <strong><a href="http://picplz.com/">PicPlz</a></strong> <a href=" b"><strong>API</strong></a> and decided to build a gallery for myself, so I can simply see all my PicPlz pictures in one page, and with the coolness of FancyBox. </p>
<p>You can also use to create your own gallery, simply by going to <em>http://www.danielandrade.net/picplz/?u=<strong>USERNAME</strong></em>, changing the USERNAME to your own. And then you have it.</p>
<p>Ah, take a look at my gallery <a href="http://www.danielandrade.net/picplz/">here</a>.</p>
<p>Hope you like it, and use it!!<br />
Let me know what do you think of it.<br />
 <img src='http://www.danielandrade.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielandrade.net/2011/05/01/my-new-picplz-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dotklok + LM35 Temperature Sensor</title>
		<link>http://www.danielandrade.net/2011/04/10/dotklok-lm35-temperature-sensor/</link>
		<comments>http://www.danielandrade.net/2011/04/10/dotklok-lm35-temperature-sensor/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 04:24:18 +0000</pubDate>
		<dc:creator>DanielAndrade</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.danielandrade.net/?p=486</guid>
		<description><![CDATA[I got my Dotklok up and running some days ago, I am really enjoying it on my room. But I want to do more with it. Too bad right now [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.danielandrade.net/wp-content/uploads/2011/04/DSC_1160.jpg" alt="" /></p>
<p>I got my <a href="http://www.technoetc.net/dotklok/">Dotklok</a> up and running some days ago, I am really enjoying it on my room.<br />
But I want to do more with it. Too bad right now I don&#8217;t have much time to play with electronics and build cool things.</p>
<p>Anyway, today I decided to spend some time learning the Dotklok&#8217;s code and add a temperature sensor to it. The result was really cool, and now I am sharing the bit of code I added to the clock.</p>
<p>To make it work in your clock, you must add a new effect called<strong> temperature();</strong> in the <strong><em>switch</em></strong> area, then in<br />
time animations, add the code below. And for the hardware, I used a LM35 Temperature Sensor connected in <strong>5V, GND,</strong> and <strong>AD3</strong>, but can use any AD available, just change the code afterwards.</p>
<p>Here is the code, but you can check the <a href="http://pastebin.com/raw.php?i=ergXRMtB">RAW</a> file too.<br />
[cc lang="c"]</p>
<p>// temperature()<br />
// Temperature Sensor + Clock &#8211; by Daniel Spillere Andrade &#8211; www.DanielAndrade.net<br />
// Should Change the Temperature Only when minutes change, to prevent floating on temperature<br />
// Based on http://www.danielandrade.net/2008/07/05/temperature-sensor-arduino/ &#8211; Daniel Spillere Andrade &#8211; daniel [a] danielandrade.net</p>
<p>void temperature(){</p>
<p>  ht1632_clear();</p>
<p>  plot(0,0,1); plot(0,15,1); plot(23,15,1); plot(23,0,1);</p>
<p>  //Draw Dots and Temperature</p>
<p>  plot(7,3,1);<br />
  plot(7,5,1);<br />
  plot(16,3,1);<br />
  plot(16,5,1);</p>
<p>  plot(13,9,1);<br />
  plot(13,10,1);<br />
  plot(14,9,1);<br />
  plot(14,10,1);</p>
<p>  // Drawing the &#8216;C&#8217;, it&#8217;s ugly I know <img src='http://www.danielandrade.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
  for(int i=16;i&lt;19;i++){<br />
    for(int j=9;j&lt;14;j++){<br />
          if(j==9 || j==13) { plot (i,j,1);}<br />
          else { plot(16,j,1); }<br />
    }<br />
  }</p>
<p>  int temppin = 3; // Define LM35 PIN<br />
  int tempval; // Temperature Read Variable</p>
<p>  tempval = ( 5.0 * analogRead(temppin) * 100.0) / 1024.0; //Makes the first read</p>
<p>  /* TIME LOOP */<br />
  do{</p>
<p>    time_now = RTC.now();</p>
<p>    if( ( time_now.minute() != time_prev.minute() ) ){<br />
    if( !power_up &#038;&#038; midnight_random() )  return;</p>
<p>        tempval = 0;<br />
        for(int i=0;i< =9;i++){<br />
          tempval = tempval + (( 5.0 * analogRead(temppin) * 100.0) / 1024.0); // Reads the Variable and converts to Celsius<br />
          delay(100);                                                           // tempf = (tempval * 9)/ 5 + 32; to converts to fahrenheit<br />
        }<br />
       tempval = tempval/10;</p>
<p>    }<br />
      // Here starts the code. <img src='http://www.danielandrade.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
      // Draw Temperature, only when minute changes!</p>
<p>      putchar_3x5(5,9,(tempval%100)/10);<br />
      putchar_3x5(9,9,tempval%10);</p>
<p>      //Draw Time<br />
      putchar_3x5(0,2,(time_now.hour()%100)/10);<br />
      putchar_3x5(3,2,time_now.hour()%10);<br />
      putchar_3x5(9,2,time_now.minute()/10);<br />
      putchar_3x5(12,2,time_now.minute()%10);<br />
      putchar_3x5(18,2,time_now.second()/10);<br />
      putchar_3x5(21,2,time_now.second()%10);</p>
<p>      time_prev = time_now;</p>
<p>    /* CHECK BUTTONS, return if necessary */<br />
    if( change_animation() )  return;</p>
<p>    while( PAUSE &#038;&#038; b5.isPressed( )); // pause mode for photos</p>
<p>  } while(1);</p>
<p>}</p>
<p>[/cc]</p>
<p>Some more pics and video.</p>
<p><img src="http://www.danielandrade.net/wp-content/uploads/2011/04/DSC_1161.jpg" alt="" /><br />
<img src="http://www.danielandrade.net/wp-content/uploads/2011/04/DSC_1166.jpg" alt="" /></p>
<p></p>
<p><iframe title="YouTube video player" width="600" height="368" src="http://www.youtube.com/embed/onRPV3Oqt8Y?hd=1" frameborder="0" allowfullscreen></iframe></p>
<p>What do you think?<br />
If you modify the code, don&#8217;t forget to share! </p>
<p>Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielandrade.net/2011/04/10/dotklok-lm35-temperature-sensor/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The History of Programming Languages</title>
		<link>http://www.danielandrade.net/2007/08/26/the-history-of-programming-languages/</link>
		<comments>http://www.danielandrade.net/2007/08/26/the-history-of-programming-languages/#comments</comments>
		<pubDate>Mon, 27 Aug 2007 00:10:06 +0000</pubDate>
		<dc:creator>DanielAndrade</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.ovelha.org/pasteler0/2007/08/26/the-history-of-programming-languages/</guid>
		<description><![CDATA[Excellent reference of study to know about the 50 more common programming languages in the world. http://www.levenez.com/lang and]]></description>
			<content:encoded><![CDATA[<p>Excellent reference of study to know about the 50 more common programming languages in the world.</p>
<p><a href="http://www.levenez.com/lang/">http://www.levenez.com/lang</a> and<br />
<a href='http://www.oreilly.com/pub/a/oreilly/news/languageposter_0504.html' title='history_poster.gif'><img src='http://www.ovelha.org/pasteler0/wp-content/uploads/2007/08/history_poster.gif' alt='history_poster.gif' style="width:500px"; /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielandrade.net/2007/08/26/the-history-of-programming-languages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: CSS Refresh for Mozilla Firefox</title>
		<link>http://www.danielandrade.net/2007/02/25/css-refresh/</link>
		<comments>http://www.danielandrade.net/2007/02/25/css-refresh/#comments</comments>
		<pubDate>Sun, 25 Feb 2007 21:12:21 +0000</pubDate>
		<dc:creator>DanielAndrade</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.ovelha.org/pasteler0/2006/08/11/css-refresh-for-mozilla-firefox/</guid>
		<description><![CDATA[When developing new websites, one of the worse things is that you always have to refresh the whole page to see some minimal changes made on an external .css file. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.flickr.com/25/48080860_632c1804b6_t.jpg" align="left"style="border: solid 1px #fff;" alt="" />When developing new websites, one of the worse things is that you always have to refresh the whole page to see some minimal changes made on an external .css file. Sometime ago I have found one small peace of script that forces the website to just update the CSS code. </p>
<div class="spacing"></div>
<p>It work this way: Even in localhost or on a remote host, when you make some changes just on the CSS file, and press F5 in any browser, you have to download all the xhtml and images again. When you are working with an remote server, this is one of the worst things, and takes some seconds of your precious time! To improve that you should bookmark a small JavaScript code in to your Firefox toolbar, and when you want to update just the CSS style you press it. The script deletes the css file from your cache, re-opens the website cached and with the CSS file updated. This way is way faster!</p>
<div class="spacing"></div>
<p>To create this button you should click with right mouse button on your &#8220;bookmark toolbar&#8221; in Firefox. In the menu you should choose &#8220;New BookMark&#8221;; insert some name, like &#8220;CSS Refresh&#8221; and in &#8220;location&#8221; paste this code:</p>
<div class="spacing"></div>
<p><code>javascript:void(function(){var  i,a,s;a=document.getElementsByTagName('link');for(i=0;i&amp;lt;a.length;i++){s=a[i];if(s.rel.toLowerCase().indexOf('stylesheet')&amp;gt;=0&amp;amp;&amp;amp;s.href)  {var  h=s.href.replace(/(&amp;amp;|%5C?)forceReload=d+/,'');s.href=h+(h.indexOf('?')&amp;gt;=0?'&amp;amp;':'?')+'forceReload='+(new  Date().valueOf())}}})();</code></p>
<div class="spacing"></div>
<p>Now, everytime you&#8217;re in Firefox making some changes on your CSS code, just press the button to update your style sheet. </p>
<div class="spacing"></div>
<p><!--adsense#baixogordo--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielandrade.net/2007/02/25/css-refresh/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Nice way to show your flickr accont</title>
		<link>http://www.danielandrade.net/2006/08/27/nice-way-to-show-your-flickr-accont/</link>
		<comments>http://www.danielandrade.net/2006/08/27/nice-way-to-show-your-flickr-accont/#comments</comments>
		<pubDate>Mon, 28 Aug 2006 01:15:40 +0000</pubDate>
		<dc:creator>DanielAndrade</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.ovelha.org/pasteler0/2006/08/27/nice-way-to-show-your-flickr-accont/</guid>
		<description><![CDATA[If you have a flickr account, here is a nice way for showing to everyone what your photos are all about!!! Very simple yet nice: This is mine: More at: [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a flickr account, here is a nice way for showing to everyone what your photos are all about!!!<br />
Very simple yet nice:<br />
This is mine:<br />
<a href="http://flickr.com/photos/44441834@N00/"><img src="http://flagrantdisregard.com/flickr/profilewidget/recent.explore/000000/ffffff/44441834@N00.jpg" border="0" alt="Pasteler0. Get yours at flagrantdisregard.com/flickr" title="Pasteler0. Get yours at flagrantdisregard.com/flickr" /></a></p>
<p>More at: <a href="http://flagrantdisregard.com/flickr/profile.php">flagrantdisregard.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielandrade.net/2006/08/27/nice-way-to-show-your-flickr-accont/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo:  Google Videos on your website</title>
		<link>http://www.danielandrade.net/2005/12/14/howto-google-videos-on-your-website/</link>
		<comments>http://www.danielandrade.net/2005/12/14/howto-google-videos-on-your-website/#comments</comments>
		<pubDate>Wed, 14 Dec 2005 05:05:47 +0000</pubDate>
		<dc:creator>DanielAndrade</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.ovelha.org/pasteler0/?p=34</guid>
		<description><![CDATA[After I realised that www.downloadgooglevideos.com got shutdown by google, and all the embedded google videos were not working anymore, I decided to come with a new way to put it [...]]]></description>
			<content:encoded><![CDATA[<p>After I realised that <a href="http://www.downloadgooglevideos.com/">www.downloadgooglevideos.com</a> got shutdown by google, and all the embedded google videos were not working anymore, I decided to come with a  new way to put it on your website. I found one, but it&#8217;s not that easy as before, but it&#8217;s working. I&#8217;ll try to explain here how to do it. If anyone finds a better way to do it, please, let me know!</p>
<p>&nbsp;</p>
<p>The old code I showed in this page wasn&#8217;t working on IE, so I re-wrote this to a better way to embed google videos on your website. Any problem let me know! <img src='http://www.danielandrade.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p>First you open the page where is the video you want embed at <a href="http://video.google.com/">http://video.google.com</a>, then in Firefox you just click on  &#8220;View Page Info&#8221; under the menu of the right-button of the mouse.<br />
<img src="http://ovelha.org/pasteler0/files/images/posts/glvideo-menu1.gif"align="middle"/></p>
<p>&nbsp;</p>
<p>Then you go to &#8220;<strong>Media</strong>&#8221; tab and copy the link to the flash file, as you can see in the image below:<br />
<img src="http://ovelha.org/pasteler0/files/images/posts/glvideo-menu2.gif"/></p>
<p>&nbsp;</p>
<p>The URL will look something like this:<br />
&#8220;<em>http://video.google.com/googleplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2<br />
Fvideoplayback%3Fid%3D25036f0c0ef9bf52%26begin%3D0%26len%3D7160%2<br />
6itag%3D5%26urlcreated%3D1134654406%26docid%3D5651279610882414164%26urlcreated<br />
%3D1134654406%26sigh%3Dj-smBnlHLu4CSvFmXYUrfzgZEn4&#038;autoPlay=true</em>&#8221;</p>
<p>&nbsp;</p>
<p>Now that we have the address of the video file, we have to set a flash code and replace &#8220;<strong>YOUR CODE HERE</strong>&#8221; with the one we got before:</p>
<p><textarea name="textarea" readonly="readonly" cols="90" rows="3"><object width="400" height="325"><embed src="YOUR CODE HERE" quality="high" pluginspage= "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="400" height="325"></embed></object>  </textarea></p>
<p>&nbsp;</p>
<p>If you want that the movie starts paused, you have to change the last option of the link from &#8220;<strong><em>autoPlay=true</em></strong>&#8221; to &#8220;<strong><em>autoPlay=</em></strong>&#8221;</p>
<p>&nbsp;</p>
<h2>I figured out how to make the full screen work</h2>
<p>30/12/05
<p>&nbsp;</p>
<p>So, to make the full screen mode works, you need to add the following code before the <strong><em>&lt;/head&gt;</em></strong>:</p>
<p>&nbsp;</p>
<p>&lt;script src=&quot;http://video.google.com/jslib/misc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />
&lt;script src=&quot;http://ovelha.org/pasteler0/files/videoplay.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</p>
<p>&nbsp;</p>
<p>I would advice you to download the <strong><em><a href="http://ovelha.org/pasteler0/files/videoplay.js">videoplay.js</a></em></strong> and save it in another path, because someday I may delete the file. Then you just need to chenge the<br />
<em>&lt;script src=&quot;http://ovelha.org/pasteler0/files/videoplay.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</em><br />
with the new path.</p>
<p>&nbsp;</p>
<p>Now here you can see a sample video of<strong> &#8220;Ultra-OverClocking your CPU with Liquid Nitrogen&#8221;</strong>, from <a href="http://www.tomshardware.com">tomshardware.com</a><br />
 <embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DvwAAAG7ggqAHSiJjpW0D3w4aYTX0buBBY7Uk0UXHfENZ1oemAiKyq_jXXcTr_ivvVBdqCmqQyZhU4EwglkhkukWMFY8pnbyHCkM1iMaJXKpVPIeBkdi4Ayqh0iNSTrUtmdi87ehjVGzny2KWpF3xU3FVDzv6h9TJwxJUfHF3mdeifvNlxSmAllSpEyGtw0n37RxtnAGQqIMN4n_mbFeRsyOEiClkdUTmIvRuay3d_euqOHJGybDot2raGz_fnVNV0w4pMg%26sigh%3Df4j4zHhViaUFrGTeKq8Uy2sYHJY%26begin%3D0%26len%3D86619%26docid%3D3706295771200059923&#038;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer%3Fapp%3Dvss%26contentid%3D7e29e4a8547362ef%26second%3D5%26itag%3Dw320%26urlcreated%3D1147616128%26sigh%3Di20rf7x4qxvRn8e2lFcfy6G5JH8&#038;playerId=3706295771200059923" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" wmode="window" salign="TL"  FlashVars="playerMode=embedded"></embed>And, please <a href="http://digg.com/design/HowTo:_Google_Videos_on_your_website">DIGG IT</a>! <img src='http://www.danielandrade.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><!--adsense#baixogordo--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielandrade.net/2005/12/14/howto-google-videos-on-your-website/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Flickr Photo Downloader Script</title>
		<link>http://www.danielandrade.net/2005/11/30/flickr-photo-downloader-script/</link>
		<comments>http://www.danielandrade.net/2005/11/30/flickr-photo-downloader-script/#comments</comments>
		<pubDate>Wed, 30 Nov 2005 02:31:27 +0000</pubDate>
		<dc:creator>DanielAndrade</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.ovelha.org/pasteler0/2005/11/30/flickr-photo-downloader-script/</guid>
		<description><![CDATA[While in my exchange year in Finland, I took many pictures, and also my friends from another countries. We wanted to share pictures, but most of them didn&#8217;t know how [...]]]></description>
			<content:encoded><![CDATA[<p>While in my exchange year in Finland, I took many pictures, and also my friends from another countries. We wanted to share pictures, but most of them didn&#8217;t know how to use computer so well,  some burned cds with pics, and sent them to everyone. It was a lot of work!!! So my friend Camre from Turkey made one script that allows people to easy download all the pictures from any photoset in flickr. But his script wasn&#8217;t working anymore in this server, so I decided to make one new one. I was looking for a simple flickr library, and I found in <a href="http://www.entrauge.com/tools/oberkampf/">Oberkampf</a> it&#8217;s easy and very configurable.</p>
<p>My objective was to make a script that, when you set a user, it would show all of his photosets, and when clicking in one of those, it would make a list of the photos linking to the photo in the maximum size on flickr. So, using some download manager (in firefox, I used <em><a href="http://www.flashgot.net/">Flashgot</a></em> and <em><a href="http://www.amazesoft.com/">FlashGet</a></em>) you could simply download all the pictures in max size from a photoset.</p>
<p>&nbsp;</p>
<p>I made a lot of changes on the code, and get to this. The script is working find, so I decided to release this on internet, making available to everyone.</p>
<p>&nbsp;</p>
<p><strong>Downloading:</strong></p>
<ul>
Download the latest version of the script from <a href="http://www.danielandrade.net/files/flickr-downloader-script.rar">here</a>.</ul>
<p>&nbsp;</p>
<p><strong>Installing:</strong></p>
<ul>
To install the script on your server, you have to upload all files to the same dir, and create a folder called &#8220;<em><strong>cache</strong></em>&#8221; with the chmod &#8220;<em><strong>777</strong></em>&#8220;.</p>
<p>&nbsp;</p>
<p>Open the &#8220;<em><strong>library.php</strong></em>&#8221; and change the <strong>$config['user']=&#8221;"</strong> to your user ID.  To help getting this ID, you can go to <a href="http://eightface.com/code/idgettr/">THIS</a> website.<br />
For example: <em><strong>$config['user']=&#8221;44441834@N00&#8243;;</strong></em></p>
<p>&nbsp;</p>
<p>You also need to add the username in <em><strong>$config['username']=&#8221;";</strong></em><br />
For example: <em><strong>$config['username']=&#8221;pasteler0&#8243;;</strong></em></p>
<p>&nbsp;</p>
<p>If you want to show your private photosets, you can set the email you are using on your flickr account in <strong><em>$config['email']=&#8221;"; </em></strong> or your flickr password in <strong><em>$config['password']=&#8221;";</em></strong></ul>
<p>&nbsp;</p>
<p><strong>Customizing:</strong></p>
<ul>
If you want to change the style, you simply edit the <em><strong>flickr.css</strong></em> file.</ul>
<p>&nbsp;</p>
<p><strong>Faq:</strong></p>
<ul>
    <strong>How do I download the pictures?</strong></p>
<p>When you select the photoset, the script will create a list with link to all photos in the set with bigger size available. Having flashgot installed, you click with the right mouse and select the option &#8220;<em><strong>Flashgot all</strong></em>&#8220;. After that it will open in the download manager you have configured.</p>
<p>&nbsp;</p>
<p><strong>Pictures have strange name, how do I fix this?</strong></p>
<p>This names are the original names in flickr. You can change the name of the file to the title as a bunch using <em><strong>Flashget</strong></em>.<br />
After you have downloaded all pictures, you go to Downloaded Folder in Flashget, select the files you want to change the name, and click on:<br />
<strong><em>Right Mouse -> Rename -> Comment as Filename</em></strong> and you are done!</p>
</ul>
<p>&nbsp;</p>
<p><strong>Obs:</strong></p>
<ul>
<li>You can find this script working for my pictures <a href="http://www.danielandrade.net/files/flickr/">here</a>.</li>
<li>Remember that is not legal to download pictures without the permission of the owner/photographer, this script shouldn&#8217;t be used to stole pictures.</li>
</ul>
<p>&nbsp;</p>
<p>Hope you enjoyed this script. If you liked, have any question or advice, please, just leave a comment.</p>
<p><!--adsense#baixogordo--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielandrade.net/2005/11/30/flickr-photo-downloader-script/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Simple Flickr Slideshow Script</title>
		<link>http://www.danielandrade.net/2005/11/20/simple-flickr-slideshow-script/</link>
		<comments>http://www.danielandrade.net/2005/11/20/simple-flickr-slideshow-script/#comments</comments>
		<pubDate>Sun, 20 Nov 2005 05:16:16 +0000</pubDate>
		<dc:creator>DanielAndrade</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.ovelha.org/pasteler0/?p=15</guid>
		<description><![CDATA[Sometime ago, I wanted to do something to show the pictures in a flickr set in a easy way for my websites. I wanted to make a link that would [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime ago, I wanted to do something to show the pictures in a flickr set in a easy way for my websites. I wanted to make a link that would open a small window in the same way as &#8220;View as slideshow&#8221; in a new window in flickr website. So I decided to build this script. After reading the <a href="http://www.paulstamatiou.com">paulstamatiou.com</a>&#8216;s HowTo: Embedded Flickr Slideshows, I decided to release my script to the web. It&#8217;s simple but can be useful.</p>
<p>&nbsp;</p>
<p><strong>V1.0 &#8211; </strong> <a href="http://www.danielandrade.net/files/slideshow.rar">You can download the script here.</a></p>
<p onClick="MM_openBrWindow('http://danielandrade.net/slideshow.php?set=174628','','width=495,height=500')">
	<a href="javascript:void(0);">DEMO HERE</a></p>
<p>&nbsp;</p>
<p><!--adsense#adsensemeio-->
<p>&nbsp;</p>
<p>More information about installation are located in the <strong>.php</strong> file.</p>
<p>Hope this will be somehow useful. Please, if you liked this, or have any suggestion or correction, just leave a comment.</p>
<p><!--adsense#baixogordo--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danielandrade.net/2005/11/20/simple-flickr-slideshow-script/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

