<?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>World Gone Web &#187; Internet</title>
	<atom:link href="http://www.samanthahalfon.net/worldgoneweb/category/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.samanthahalfon.net/worldgoneweb</link>
	<description></description>
	<lastBuildDate>Sat, 17 Apr 2010 22:51:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Backup Your &#8220;Tumblelog&#8221;</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2010/backup-your-tumblelog/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2010/backup-your-tumblelog/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 16:55:59 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Me myself I]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[tumblelog]]></category>
		<category><![CDATA[tumblr]]></category>
		<category><![CDATA[tumblrbackup]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=355</guid>
		<description><![CDATA[

First, I must confess that I like trying software out. That&#8217;s probably how I ended up having some many accounts with so many services and having a Tumblelog AND a Wordpress blog. Since this blog is not running on wordpress.com, it is for me to remember and backup my database and files from time to [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2010/backup-your-tumblelog/&amp;shorturl=http://bit.ly/9dDw0B&amp;title=Backup+Your+%22Tumblelog%22&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p><img src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.54.34-PM.png" alt="" title="Screen shot 2010-04-05 at 6.54.34 PM" width="340" height="194" class="aligncenter size-full wp-image-360" /></p>
<p>First, I must confess that I like trying software out. That&#8217;s probably how I ended up having some many accounts with so many services and having a Tumblelog AND a Wordpress blog. Since this blog is not running on wordpress.com, it is for me to remember and backup my database and files from time to time in case of a problem with my server. For <a href="http://samo9789.tumblr.com">my Tumblr</a>, it is different. The data is on Tumblr server(s) and there are no features I know of in the admin to download them and store them locally. After a year of publishing a daily list of the movies I watch and books I read, this tumblelog became a Journal of my cultural activities and I grew attached to it. Recently I decided it had to be backedup in case something happened to my tumblr account or whatever. As usual, someone had the idea before me and a tool is available. It is called &#8211; appropriately enough &#8211; <a href="http://macsmiley.tumblr.com/post/450101769/tumblr-backup-mac-beta">Tumblrbackup</a>. It couldn&#8217;t be easier to use, enter your credentials, select the tumblelog to backup and the destination on your computer. A folder is created which contains your posts, images, avatar and even your custom style. A index.html file is generated allowing you to browse your own content on your local hard drive. The index.html doesnt include your custom style so it looks pretty plain but everything you wrote and uploaded is there&#8230; Now I just need to remember and rerun the backup from time to time. Cool!<br />
<a href="http://samo9789.tumblr.com"><img src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.51.05-PM.png" alt="" title="Screen shot 2010-04-05 at 6.51.05 PM" width="400" height="500" class="alignleft size-full wp-image-357" /></a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2010/backup-your-tumblelog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chive, alternative to PHPMyAdmin</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2010/chive-alternative-to-phpmyadmin/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2010/chive-alternative-to-phpmyadmin/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 16:33:11 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[chive]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[sql browser]]></category>
		<category><![CDATA[yii]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=348</guid>
		<description><![CDATA[

I don&#8217;t remember how I&#8217;ve heard about Chive, a young alternative to PhpMyAdmin (version 0.3 was released less than a week ago). I believe it was a link on twitter.
There seem to be two policies when it comes to a MySQL browser for web developers: the desktop app or the web app. A lot of [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2010/chive-alternative-to-phpmyadmin/&amp;shorturl=http://bit.ly/cx1hfj&amp;title=Chive%2C+alternative+to+PHPMyAdmin&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p><a href="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.24.13-PM.png"><img src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.24.13-PM.png" alt="" title="Screen shot 2010-04-05 at 6.24.13 PM" width="350" height="200" class="aligncenter size-full wp-image-349" /></a></p>
<p>I don&#8217;t remember how I&#8217;ve heard about <a href="http://www.chive-project.com/">Chive</a>, a young alternative to PhpMyAdmin (version 0.3 was released less than a week ago). I believe it was a link on twitter.<br />
There seem to be two policies when it comes to a MySQL browser for web developers: the desktop app or the web app. A lot of people seem to use PHPMyAdmin though I gave it up several years ago. First for the MySQL QueryBrowser, later on for SequelPro (OS X).  SequelPro does everything I need, connect via socket, tcp or ssh which is extremly useful. Still, sometimes, to install a PHPMyAdmin (or something similar) on a remote server or a dev server can be handy. So I tried Chive. </p>
<p>The installation couldnt be easier. Just unrar the package, place it in your document root somewhere and it works. Chive runs on the Yii PHP framework and, as far as I can tell, it&#8217;s pretty fast. The interface is less cluttered than PHPMyAdmin. Of course, you have to get some work done with a tool like that to judge of its efficiency but it looks like a nice alternative to PHPMyAdmin to me. Actually, the <a href="http://www.chive-project.com/Features">feature list comparaison</a> on the Chive website is impressive (considering the age of the project). I will definitely recommend it to developers I work with because I hate using PHPMyAdmin when pairing with them. </p>
<p>If you have any use for a web based MySQL Browserm check Chive out:</p>
<li><a href="http://www.chive-project.com/">Chive homepage</a></li>
<li><a href="https://launchpad.net/chive">Chive&#8217;s source code on launchpad</a></li>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2010/chive-alternative-to-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Where are your users from?</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2010/where-are-your-users-from/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2010/where-are-your-users-from/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 22:27:56 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=225</guid>
		<description><![CDATA[
If you ever wonder where your readers are from, if you ever need to adjust your application to the origins of its users; you can determine the geographic location of a connection by using an IP to Country table.
I should start by saying that I do not always like the way websites use this feature. [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2010/where-are-your-users-from/&amp;title=Where+are+your+users+from%3F&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>If you ever wonder where your readers are from, if you ever need to adjust your application to the origins of its users; you can determine the geographic location of a connection by using an IP to Country table.</p>
<p>I should start by saying that I do not always like the way websites use this feature. As much as I appreciate, let&#8217;s say, Yamaha, to redirect me from www.yamaha.com to fr.yamaha.com based on my location ; I can not stand for Google or Wikipedia to assume that I either speak French or intend to search French speaking contents.</p>
<p>Another thing I absolutely can not stand is of Skype (for example) to prompt me to download the French version of its application just because I am browsing the Web from France. I can not tolerate any French speaking applications to be installed on my computer. Actually, Mac OS X is such a treat on that point because I can have a French bought CD of Snow Leopard and still install my system in English. All the OEM Windows systems I purchased in my country of residence were bound to remain in (poorly-translated) French. I actually would always keep my license number handy but use a pirated English (but otherwise equivalent) version just so that my Start button would actually spell &#8216;Start&#8217;.</p>
<p>Anyway, the IP to Country determination can still come in handy and here&#8217;s how I made it work for me (using PHP/MySQL). I am aware that it is possible to do the www.yamaha.com to fr.yamaha.com redirection simply using geolocated aliases. Hosting providers such as OVH usually provide this functionality.</p>
<ol>
<li>Download the IP to Country.csv database (and update it there after) from <a title="Ip to Country" href="http://ip-to-country.webhosting.info/" target="_blank">http://ip-to-country.webhosting.info/</a></li>
<li>Create a table to hold the data</li>
<li>Import the data from the csv file into that table</li>
</ol>
<div class="codecolorer-container sql dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mysql<span style="color: #66cc66;">&gt;</span> <span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> iptocountry <span style="color: #66cc66;">&#40;</span>ip_from int<span style="color: #66cc66;">&#40;</span>4<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span> ip_to int<span style="color: #66cc66;">&#40;</span>4<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span> country_code2 char<span style="color: #66cc66;">&#40;</span>2<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span> country_code3 char<span style="color: #66cc66;">&#40;</span>3<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span> country_name varchar<span style="color: #66cc66;">&#40;</span>50<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;<br />
mysql<span style="color: #66cc66;">&gt;</span> <span style="color: #993333; font-weight: bold;">LOAD</span> <span style="color: #993333; font-weight: bold;">DATA</span> <span style="color: #993333; font-weight: bold;">INFILE</span> <span style="color: #ff0000;">'ip-to-country.csv'</span> <span style="color: #993333; font-weight: bold;">INTO</span> <span style="color: #993333; font-weight: bold;">TABLE</span> iptocountry <span style="color: #993333; font-weight: bold;">FIELDS</span> terminated <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #ff0000;">','</span> <span style="color: #993333; font-weight: bold;">ENCLOSED</span> <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #ff0000;">'&quot;'</span> <span style="color: #993333; font-weight: bold;">LINES</span> terminated <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\n</span>'</span>;</div></td></tr></tbody></table></div>
<p>Then, from your PHP code, you can get the country code for example, using the code below</p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> _ipAddressToIpValue<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ip</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$ip</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$ips</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/split"><span style="color: #990000;">split</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;\.&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$ip</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$ips</span><span style="color: #009900;">&#91;</span>3<span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$ips</span><span style="color: #009900;">&#91;</span>2<span style="color: #009900;">&#93;</span> <span style="color: #339933;">*</span> 256 <span style="color: #339933;">+</span> <span style="color: #000088;">$ips</span><span style="color: #009900;">&#91;</span>1<span style="color: #009900;">&#93;</span> <span style="color: #339933;">*</span> 256 <span style="color: #339933;">*</span> 256 <span style="color: #339933;">+</span> <span style="color: #000088;">$ips</span><span style="color: #009900;">&#91;</span>0<span style="color: #009900;">&#93;</span> <span style="color: #339933;">*</span> 256 <span style="color: #339933;">*</span> 256 <span style="color: #339933;">*</span> <span style="color: #cc66cc;">256</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #000088;">$ipValue</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>_ipAddressToIpValue<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;REMOTE_ADDR&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$queryResults</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>db<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>query<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT country_name FROM iptocountry WHERE &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$ipValue</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; BETWEEN ip_from AND ip_to&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$res</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$queryResults</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>result_array<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/count"><span style="color: #990000;">count</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$res</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$countryCode</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$res</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;country_name&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<p>The code above is using Code Igniter to query the database. I suppose it is self explanatory enough to be transposed to any other DAO you might be using.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2010/where-are-your-users-from/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install Subsonic on Debian Etch</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2009/install-subsonic-on-debian-etch/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2009/install-subsonic-on-debian-etch/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 12:06:19 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Système]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[streaming]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=123</guid>
		<description><![CDATA[
Subsonic is a web application allowing you to stream or download your music collection over the Internet. It is the newest application of the kind after the famous Ampache and Jinzora. I have recently tried Ampache but was disapointed by the user experience so when Framasoft added a notice about Subsonic, I was immediatly interested.
The installation is [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2009/install-subsonic-on-debian-etch/&amp;title=Install+Subsonic+on+Debian+Etch&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p><a title="Subsonic" href="http://subsonic.sourceforge.net/">Subsonic </a>is a web application allowing you to stream or download your music collection over the Internet. It is the newest application of the kind after the famous <a title="Ampache" href="http://ampache.org/">Ampache </a>and <a title="Jinzora" href="http://en.jinzora.com/">Jinzora</a>. I have recently tried Ampache but was disapointed by the user experience so when <a title="Subsonic on Framasoft" href="http://www.framasoft.net/article4838.html">Framasoft </a>added a notice about Subsonic, I was immediatly interested.</p>
<p>The installation is pretty simple:</p>
<ol>
<li>Download the standalone version</li>
<li>Untar the downloaded archive in the directory of your choice for example /var/subsonic</li>
<li>Edit subsonic.sh if you feel you need to change the default settings (port or memory allowed)</li>
</ol>
<p>You are now ready to launch subsonic by running <strong>subsonic.sh</strong></p>
<p>To use Subsonic, connect to http://&lt;your_server&gt;:8080</p>
<p>Connect using the admin:admin account and you should now see the Subsonic main page.</p>
<p>To add music to your collection, browse to Music Folder and add your music collection, for example</p>
<p>Rock    /mnt/data/music/rock</p>
<p>You can now log out, sign in using your user and enjoy your music from anywhere</p>
<div id="attachment_124" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-124" title="subsonic" src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2009/04/subsonic-300x187.jpg" alt="Subsonic Main page" width="300" height="187" /><p class="wp-caption-text">Subsonic Main page</p></div>
<p>One nice feature offered by Subsonic is to reencode your music to a lower bitrate to limit the bandwidth usage, to do so, you need Lame. Download the lame archive from the official site, untar it, and rename the generated folder to &#8220;lame&#8221;. Then, copy this folder to /var/subsonic/transcode. You&#8217;re all done. Enjoy <img src='http://www.samanthahalfon.net/worldgoneweb/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Browse to the settings and immediately change the admin password. You can then create a new user for yourself.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2009/install-subsonic-on-debian-etch/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A Wordpress Index Page Template</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2009/a-wordpress-index-page-template/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2009/a-wordpress-index-page-template/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 21:21:45 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[archives]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[world wide angle]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=85</guid>
		<description><![CDATA[
Two
months ago, Derrick and I opened another blog dedicated to my other
main point of interest: Cinema and Video. After a few weeks of writing content for our blog, quite a bit of information has accumulated. Sometimes, we find it necessary to look at our pasts posts in order to get a piece of information. Browsing back [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2009/a-wordpress-index-page-template/&amp;title=A+Wordpress+Index+Page+Template&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p><img class="alignleft size-full wp-image-839" title="wordpress_logo" src="http://www.wwangle.com/blog/wp-content/uploads/2009/01/wordpress_logo.png" alt="wordpress_logo" width="118" height="118" />Two<br />
months ago, Derrick and I opened another blog dedicated to my other<br />
main point of interest: Cinema and Video. After a few weeks of writing content for our blog, quite a bit of information has accumulated. Sometimes, we find it necessary to look at our pasts posts in order to get a piece of information. Browsing back in time has become more and more tedious as we have more content archived. On the very same day, Derrick and I both had the idea that we needed to create an Index page allowing instant access to any posts.</p>
<p>I worked on a template page for Wordpress over the weekend in order to display such an index. Our main goal was to simply display a list of posts by date, but as I started to work on this I realized it could be a nice feature to also offer a list grouped by categories and tags. Since the list of posts was bound to grow, I decided to make each section title collapsable while still offering a view all link to display every posts title if so desired.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-841" title="wwa_archives" src="http://www.wwangle.com/blog/wp-content/uploads/2009/01/wwa_archives.png" alt="wwa_archives" width="406" height="137" /></p>
<p>Before going ahead with the code, I did a quick Google search to see if anyone had worked on this before. What I found was an impressive graphical view of a blog past developped by <a title="Vladimir Prevoloc" href="http://www.prelovac.com/vladimir/about" target="_blank">Vladimir Prevolac</a> based on the default archive page of Tumblr called<a title="Snazzy Archives" href="http://www.prelovac.com/vladimir/wordpress-plugins/snazzy-archives" target="_blank">Snazzy Archives</a>. I really liked Vladimir&#8217;s work and decided to integrate that option as well  in my Index page.</p>
<p><img class="aligncenter size-full wp-image-840" title="snazzy_archives" src="http://www.wwangle.com/blog/wp-content/uploads/2009/01/snazzy_archives.png" alt="snazzy_archives" width="398" height="448" /></p>
<p>As I started working on this, I decided that I would make my work more valuable by making it generic enough to be used by other people. To do so, I knew that I had to make sure of the following:</p>
<ol>
<li>Use Wordpress core functions</li>
<li>Not rely on the pre existence of the Snazzy Archives plugin as not everyone would want to use i</li>
<li>Test my index page with at least three different Wordpress installations</li>
</ol>
<p>It was the first time I tried to extend Wordpress, and after a quick Google search I found this <a title="Wordpress function reference" href="http://codex.wordpress.org/Function_Reference" target="_blank">function reference</a> page on the<a title="Wordpress Codex" href="http://codex.wordpress.org/Main_Page" target="_blank">Wordpress Codex</a>. The documentation, though still being worked on by the community, is easy to read and understand and makes it quite enjoyable to work with the Wordpress code. In the end, the only function I had to write was the one returning me the list of months during which at least one blog post had been written. Still, I found the code I needed within Wordpress, I just had to adapt it to what I was doing.</p>
<p>Like I said, I really liked Snazzy and wanted to add it to our blog but my Index Template Page couldn&#8217;t rely on it to be installed as it might be temporarely disabled or some other user might not want to show it. I simply tested the existance of the plugin before placing the link to the Snazzy Archives in the page.</p>
<p>In order to test, I tried my template on three installations of Wordpress. Two running Wordpress 2.6 and one running 2.7. I also ran some tests enabling or not the permalinks options as it changes the url handling quite a bit. Regarding this question of URL, I decided not to use Ajax as Wordpress front-end doesn&#8217;t use it, I decied to make my Index page match the rest of the blog engine on that aspect as well.</p>
<p>All in all, after a few hours of coding and experimenting with Wordpress, I had completed my own template page. So far it has worked fine for us, but feel free to report any bug or share your comments with us on this page.</p>
<h3>Live demo:</h3>
<p>You can see the result in action by visiting our <a title="WWA Archives" href="http://www.wwangle.com/blog/archives/" target="_self">archive page</a> on World Wide Angle.<br />
You can also see it running on my <a title="World Gone Web Archives" href="http://www.samanthahalfon.net/worldgoneweb/?page_id=83" target="_blank">this very blog</a>.</p>
<h3>Download:</h3>
<p>You can <a title="WWA Archives template page for Wordpress" href="http://wwangle.com/resources/archives.php.zip" target="_blank">download the template</a> here.</p>
<h3>Installation process:</h3>
<ol>
<li>Download the template</li>
<li>Upload the template archives.php to your theme directory (i.e. &lt;wordpress&gt;/wp-content/themes/&lt;theme_name&gt;</li>
<li>Make sure your script file can be read</li>
<li>Adapt the page structure of the template to match your blog theme structure (i.e. copy the beginning and th end of your blog theme index.php page like the content div and sidebar declaration)</li>
<li>Enter your wordpress administration and write a new page</li>
<li>Enter the title you wish to see in your menu (be carefull, &#8220;index&#8221; might generate problems, choose another name)</li>
<li>Do not enter any content</li>
<li>Find the page template menu and select &#8220;Index Page&#8221;</li>
<li>Publish this new page</li>
<li>You&#8217;re  done, go to your blog and test it</li>
</ol>
<p>If you wish to use Snazzy Archives as well, you also need to:</p>
<ol>
<li>Download SnazzyArchives and upload it to your plugin directory</li>
<li>Go to your administration page and enable the plugin</li>
<li>Refresh your blog archive page, the link to snazzy archives should appear</li>
</ol>
<h4 style="text-align: center;"><span style="color: #2255aa;">We hope you like it!</span></h4>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2009/a-wordpress-index-page-template/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Facebook: Set your profile picture feature</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2008/facebook-set-your-profile-picture-feature/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2008/facebook-set-your-profile-picture-feature/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 11:34:44 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[crop]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[ptoho]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=43</guid>
		<description><![CDATA[
I am not much of a Facebook user but decided to log in today to see what was new and try and give my profile page an update. As soon as I logged in, I was impressed by a &#8220;new&#8221; feature (it might not be that new but like I said, i do not connect [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2008/facebook-set-your-profile-picture-feature/&amp;title=Facebook%3A+Set+your+profile+picture+feature&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>I am not much of a Facebook user but decided to log in today to see what was new and try and give my profile page an update. As soon as I logged in, I was impressed by a &#8220;new&#8221; feature (it might not be that new but like I said, i do not connect often). Facebook immediately suggested me to set my profile photo, and not only did it suggest me a number of photos that my friends have uploaded and tagged has featuring me, Facebook was even able to suggest which part of the picture I should select and crop.<br />
As you can see below, the interface is very intuitive, all I have to do is either accept this picture as a profile image or use the arrows to browse through the suggestions. I&#8217;ve added a sample below to show how good facebook was at the &#8220;where&#8217;s Waldo&#8221; game.</p>
<div><img style="max-width: 800px;" src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2008/04/facebook.jpg" alt="" width="400" /></div>
<p>This profile photo suggestion feature is clever and useful and I can easily understand how it works &#8211; codewise. But how does Facebook know which part of the photo features me ? Does anyone know ? Did my friends actually highlight each person on the picture when they uploaded them ? So far, the only information I&#8217;ve found on the subject comes from the facebook <a title="Facebook blog" href="http://blog.facebook.com/blog.php?post=7773202130">blog</a>. It suggests that, when tagging a picture, one highlights the person. I guess i&#8217;m going to have to upload a picture to see how it works <img src='http://www.samanthahalfon.net/worldgoneweb/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Of course, the other option I immediately thought about was that there was a picture analysis algorithm able to define, given several pictures, who was the person that appeared on all of them and then highlight that person on each photos. Now, <em>that </em>sounds a bit too much. After trying out the photo upload myself, it confirms the first option : Facebook stores the location of each tagged person in the image. Smart !</p>
<p>Anyway, congratulations to Facebook on that one, it becomes very easy for the user to create a profile photo and, by doing so, will probably bring a lot of people (like me) to actually define one and maybe become a better facebook user.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2008/facebook-set-your-profile-picture-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter updater</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2008/twitter-updater/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2008/twitter-updater/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 18:21:19 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=40</guid>
		<description><![CDATA[
I&#8217;ve just installed the twitter updater plugin on this blog so, if everything works fine, any post on this blog will automatically be announced on my twiiter. Testing this out with this post&#8230; See you on twitter !

]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2008/twitter-updater/&amp;title=Twitter+updater&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>I&#8217;ve just installed the <a title="Twiiter updater" href="http://blog.victoriac.net/blog/twitter-updater" target="_self">twitter updater</a> plugin on this blog so, if everything works fine, any post on this blog will automatically be announced on my twiiter. Testing this out with this post&#8230; See you on <a title="Twitter" href="http://www.twitter.com" target="_self">twitter</a> !</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2008/twitter-updater/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apache redirect</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2008/apache-redirect/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2008/apache-redirect/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 21:44:47 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=36</guid>
		<description><![CDATA[
L&#8217;accès à ce blog se fait depuis mon site perso en cliquant sur le lien blog et malheuresement l&#8217;url était alors  http://samanthahalfon.net/wordpress. Je viens de corriger cela en migrant wordpress dans le repertoire worldgoneweb. Il restait cependant un probleme, si quelqu&#8217;un avait sauvegardé un lien vers un ancien post, il ne pourrait plus y [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2008/apache-redirect/&amp;title=Apache+redirect&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>L&#8217;accès à ce blog se fait depuis mon site perso en cliquant sur le lien blog et malheuresement l&#8217;url était alors  http://samanthahalfon.net/wordpress. Je viens de corriger cela en migrant wordpress dans le repertoire worldgoneweb. Il restait cependant un probleme, si quelqu&#8217;un avait sauvegardé un lien vers un ancien post, il ne pourrait plus y accéder. Du coup, j&#8217;ai rajouté dans l&#8217;ancien répertoire un fichier .htaccess contenant la directive suivante :</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Redirect /wordpress http://www.samanthahalfon.net/worldgoneweb</div></td></tr></tbody></table></div>
<p>La <a href="http://httpd.apache.org/docs/2.0/mod/mod_alias.html" title="Apache Redirect et Alias">documentation d&#8217;Apache</a> offre davantage d&#8217;informations sur Redirect et Alais.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2008/apache-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Personnaliser son profil Linkedin</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2007/personnaliser-son-profil-linkedin/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2007/personnaliser-son-profil-linkedin/#comments</comments>
		<pubDate>Sun, 04 Feb 2007 09:17:36 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/wordpress/?p=8</guid>
		<description><![CDATA[
Linkedin est très bien référencé par Google et il n&#8217;est pas rare de tomber sur un profil Linkedin en faisant une recherche sur quelqu&#8217;un dans Google. La page que l&#8217;on voit est alors le profil basic de Linkedin (très sommaire) ; mais il est possible de personnaliser cette page&#8230; Pour cela :

Se connecter sur Linkedin
Aller [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2007/personnaliser-son-profil-linkedin/&amp;title=Personnaliser+son+profil+Linkedin&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>Linkedin est très bien référencé par Google et il n&#8217;est pas rare de tomber sur un profil Linkedin en faisant une recherche sur quelqu&#8217;un dans Google. La page que l&#8217;on voit est alors le profil basic de Linkedin (très sommaire) ; mais il est possible de personnaliser cette page&#8230; Pour cela :</p>
<ul>
<li>Se connecter sur Linkedin</li>
<li>Aller dans &#8220;my profile&#8221;</li>
<li>cliquer sur &#8220;show my full profile&#8221;</li>
</ul>
<p>&nbsp;</p>
<p>Cette option permet à la fois d&#8217;éditer le profil que l&#8217;on autorise Linkedin à dévoiler aux internautes (enregistrés ou non sur Linkedin) et de personnaliser l&#8217;URL de son profil personnel qui sera du type : http://www.linkedin.com/in/what_you_want_here (par exemple, <a href="http://www.linkedin.com/in/samhalfon" title="Samantha Halfon's profile on Linkedin" target="_blank">http://www.linkedin.com/in/samhalfon</a>).</p>
<p>Il est également intéressant d&#8217;indiquer sur cette page les liens de son site personnel, de son blog ou de sa compagnie sur cette page et ainsi de faire profiter ces sites du page rank élevé des profils Linkedin (le nombre de liens affichés est limité à trois).</p>
<p>N&#8217;hésitez pas à me contacter par email pour établir une connexion Linkedin.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2007/personnaliser-son-profil-linkedin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
