<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>feed.png</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -26,10 +26,6 @@ function addEvent(obj, evType, fn) {
 
 // Attach separate AJAX call to each star
 function add_behaviour() {
-	
-	// focus
-	if (window.focus) window.focus()
-
 	// get &lt;a href&gt; stars
 	var elements = $A( $('rating').getElementsByTagName('a') )
 
@@ -50,10 +46,24 @@ function add_behaviour() {
 	})
 }
 
+function initial_focus() {
+	// focus window
+	if (window.focus) window.focus()
+
+	// focus input -&gt; review, if we have imdb link already, or url in another case
+	var url = $('url')
+	var review = $('review')
+
+	if (url.value.match(/imdb\.com/)) review.focus()
+	else url.focus()
+}
+
 // Parse url and paste it into &lt;input type=&quot;text&quot; name=&quot;url&quot;&gt; if it's imdb.com page
 function parse_uri() {
+	// No url, nothing to parse
 	if (location.href.indexOf('?url=') == -1) return
-	
+
+	// Parse and set as url if it is imdb movie page
 	var url = unescape(location.href.substring(location.href.indexOf('?url=') + 5))
 	if (url.match(/^http:\/\/.*imdb\.com\/title\/tt([0-9]{7})(\/){0,1}$/i)) {
 		$('url').value = url
@@ -70,7 +80,7 @@ function show_response(originalRequest) {
 	if (matches.length == 3) {
 		message.setAttribute('class', matches[1])
 		message.innerHTML = matches[2]
-	
+
 		// Close the pop-up window on successful update
 		if (matches[1] == 'updated fade') window.close()
 	}
@@ -86,3 +96,4 @@ function show_response(originalRequest) {
 // Add onLoad events
 addEvent(window, 'load', add_behaviour)
 addEvent(window, 'load', parse_uri)
+addEvent(window, 'load', initial_focus)</diff>
      <filename>add_movie.js</filename>
    </modified>
    <modified>
      <diff>@@ -7,8 +7,8 @@
 }
 
 #wp_movie_ratings h2 {
-	margin: 2px 0 8px;
-	font: bold 11px verdana, sans-serif;
+	margin: 4px 0 11px;
+	font: bold 12px verdana, sans-serif;
 }
 
 #wp_movie_ratings ul {
@@ -18,7 +18,7 @@
 
 #wp_movie_ratings ul li {
 	list-style: none;
-	padding: 2px 0 2px 4px;
+	padding: 2px 4px 5px 5px;
 	background-color: #F2FDFB;
 	position: relative;
 }
@@ -38,22 +38,22 @@
 }
 
 #wp_movie_ratings ul li p a {
-	font: 10px verdana, sans-serif;
+	font: 11px verdana, sans-serif;
 }
 
 #wp_movie_ratings ul li div.rating_stars {
 	position: absolute;
-	top: 1px;
+	top: 2px;
 	right: 5px;
 	font-size: 8px;
 }
 
 #wp_movie_ratings ul li p.review {
-	font: 9px arial, sans-serif;
-	color: #999;
-	margin: 2px 60px 1px 12px;
+	font: 11px arial, sans-serif;
+	color: #555;
+	margin: 2px 80px 1px 12px;
 }
 
 #wp_movie_ratings ul li p.review a {
-	font: 9px arial, sans-serif;
+	font: 11px arial, sans-serif;
 }
\ No newline at end of file</diff>
      <filename>wp_movie_ratings.css</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,9 @@
 &lt;?php
 /*
-Plugin Name: Movie ratings
+Plugin Name: Wordpress movie ratings
 Version: 1.0.0
 Plugin URI: http://paulgoscicki.com/
-Description: Rate movies that you've seen recently and display short list of those movies on your blog (kottke.org style). Internet Movie Database (imdb.com) used to automatically fetch movie titles.
+Description: Rate movies that you've seen recently and display short list of those movies on your blog (kottke.org style). Internet Movie Database (imdb.com) used to automatically fetch movie titles. 1-click movie rating using firefox bookmarklet on imdb page.
 Author: Paul Goscicki
 Author URI: http://paulgoscicki.com/
 */</diff>
      <filename>wp_movie_ratings.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>56ff01eb1538ffb9b138c14cce4f2c36999f395d</id>
    </parent>
  </parents>
  <author>
    <name>Pawe&#322; Go&#347;cicki</name>
    <email>pawel.goscicki@gmail.com</email>
  </author>
  <url>http://github.com/pjg/wp_movie_ratings/commit/f651511718020773b63a04e7e930c8e487b07b31</url>
  <id>f651511718020773b63a04e7e930c8e487b07b31</id>
  <committed-date>2006-03-27T10:03:52-08:00</committed-date>
  <authored-date>2006-03-27T10:03:52-08:00</authored-date>
  <message>Bigger font and more light. Added focus() url/review in the bookmarklet.</message>
  <tree>47af6dddc59cdccd52c64b0267ba81845e685580</tree>
  <committer>
    <name>Pawe&#322; Go&#347;cicki</name>
    <email>pawel.goscicki@gmail.com</email>
  </committer>
</commit>
