Browse files

Merge branch 'master' of github.com:joni/Instabook

  • Loading branch information...
2 parents 5ab9be5 + e229458 commit efb2fc0dbfa95c66d8e4fa77e1676f6f5cd386ae @joni committed Apr 28, 2012
View
1 yii-app/protected/models/BooksService.php
@@ -98,6 +98,7 @@ public function search($query)
$book->image = $book_info_result->volumeInfo->imageLinks->thumbnail;
}
}
+ //die (var_dump($item));
$book->save();
$this->collection->add($book);
}
View
11 yii-app/protected/runtime/application.log
@@ -65,3 +65,14 @@ REQUEST_URI=/index.php?r=book&BookSearchForm%5Bquery%5D=el+se%C3%B1or+de+los+ani
in /home/dgonzalez/NetBeansProjects/Instabook/yii-app/protected/models/BooksParseService.php (72)
in /home/dgonzalez/NetBeansProjects/Instabook/yii-app/protected/models/Book.php (30)
in /home/dgonzalez/NetBeansProjects/Instabook/yii-app/protected/models/BooksService.php (101)
+2012/04/28 17:15:19 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'The system is unable to find the requested action "kl4ztrlFTTIC".' in /home/dgonzalez/NetBeansProjects/Instabook/yii-framework/web/CController.php:484
+Stack trace:
+#0 /home/dgonzalez/NetBeansProjects/Instabook/yii-framework/web/CController.php(271): CController->missingAction('kl4ztrlFTTIC')
+#1 /home/dgonzalez/NetBeansProjects/Instabook/yii-framework/web/CWebApplication.php(276): CController->run('kl4ztrlFTTIC')
+#2 /home/dgonzalez/NetBeansProjects/Instabook/yii-framework/web/CWebApplication.php(135): CWebApplication->runController('book/kl4ztrlFTT...')
+#3 /home/dgonzalez/NetBeansProjects/Instabook/yii-framework/base/CApplication.php(162): CWebApplication->processRequest()
+#4 /home/dgonzalez/NetBeansProjects/Instabook/yii-app/index.php(13): CApplication->run()
+#5 {main}
+REQUEST_URI=/index.php/book/kl4ztrlFTTIC
+HTTP_REFERER=http://instabook.local/index.php?r=book&BookSearchForm%5Bquery%5D=el+se%C3%B1or+de+los+anillos&yt0=Search&BookSearchForm%5Bquery%5D=tolkien&yt0=Search&BookSearchForm%5Bquery%5D=juego+de+tronos&yt0=Search&BookSearchForm%5Bquery%5D=el+se%C3%B1or+de+los+anillos&yt0=Search
+---
View
12 yii-app/protected/views/book/view.php
@@ -17,3 +17,15 @@
<?= CHtml::link('-1',array('vote','id'=>$book->google_id,'vote'=>-1)) ?></a>
</span>
</div>
+
+<div class="fb-comments" data-href="<?php echo Yii::app()->request->baseUrl; ?>" data-num-posts="10" data-width="910"></div>
+
+<div id="fb-root"></div>
+<script>(function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) return;
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/es_LA/all.js#xfbml=1&appId=140209332712403";
+ fjs.parentNode.insertBefore(js, fjs);
+}(document, 'script', 'facebook-jssdk'));
+</script>

0 comments on commit efb2fc0

Please sign in to comment.