{"id":25355,"date":"2013-09-23T10:35:32","date_gmt":"2013-09-23T10:35:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/hull\/"},"modified":"2013-09-23T10:35:32","modified_gmt":"2013-09-23T10:35:32","slug":"hull","status":"closed","type":"plugin","link":"https:\/\/as.wordpress.org\/plugins\/hull\/","author":13114457,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.0","stable_tag":"trunk","tested":"3.4.2","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Hull","header_author":"Stephane Bellity, Xavier Cambar","header_description":"","assets_banners_color":"","last_updated":"2013-09-23 10:35:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/github.com\/hull\/hull-wordpress","header_author_uri":"http:\/\/github.com\/hull\/hull-wordpress","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1119,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[307,157,174,159,162],"plugin_category":[38,43,56],"plugin_contributors":[129862],"plugin_business_model":[],"class_list":["post-25355","plugin","type-plugin","status-closed","hentry","plugin_tags-engagement","plugin_tags-facebook","plugin_tags-social","plugin_tags-twitter","plugin_tags-widget","plugin_category-authentication","plugin_category-customization","plugin_category-social-and-sharing","plugin_contributors-rdardour","plugin_committers-rdardour"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/hull.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<ul>\n<li>The Hull plugin allows you to benefit from the full power of http:\/\/hull.io without any complicated setup.<\/li>\n<li>Offer your users a cross-domain social login with Facebook, Twitter, Instagram, Github, LinkedIn, Foursquare, Google, Tumblr, Vkontakte with 1 line of code.<\/li>\n<li>Show personalized activity feeds, comments, ratings, likes, leaderboards, collections, user media uploads, list of friends and much more without any coding.<\/li>\n<li>Access the Facebook, Twitter or Instagram API without any backend code, and build amazing applications only in Javascript in your wordpress site!<\/li>\n<li>If you have multiple domains and your blog is only one of your properties, then you need hull because it's the only solution that recognizes users and offers these engagement features across all your web sites, whatever the technology they use.<\/li>\n<li>All the tracking and integration with Analytics, transactional email hosting, CDN is already done for you, you have nothing to code to have the best social infrastructure as a service available. If you're a developer you will get even more from Hull's flexibility.<\/li>\n<\/ul>\n\n<p>What does it do? \n* All Posts are automatically referenced in your Hull App.\n* Hull.js is automatically configured and initialized\n* The Widgets and Templates defined in your Wordpress Theme are automatically loaded.<\/p>\n\n<h3>Authentication with hull.io<\/h3>\n\n<p>The plugin hooks the authentication mechanics of wordpress so the users can login with hull to your blog.<\/p>\n\n<p>Simply add the following HTML to the login page of your theme so users can also login with hull:<\/p>\n\n<pre><code>&lt;div data-hull-widget=\"identity@hull\"&gt;&lt;\/div&gt;&lt;h3&gt;Creating and using Widgets in your Theme&lt;\/h3&gt;\n<\/code><\/pre>\n\n<p>You can create widgets in individual javascript files inside your Theme.<\/p>\n\n<p>Theme structure:<\/p>\n\n<pre><code>wp-content\n\u2514\u2500\u2500 themes\n    \u2514\u2500\u2500 my_theme\n        \u251c\u2500\u2500 home.php\n        \u251c\u2500\u2500 index.php\n        \u251c\u2500\u2500 Hull\n        \u2502\u00a0\u00a0 \u2514\u2500\u2500 widgets\n        \u2502       \u2514\u2500\u2500 my_widget\n        \u2502  \u00a0\u00a0       \u251c\u2500\u2500 main.js\n        \u2502  \u00a0\u00a0  \u00a0\u00a0   \u2514\u2500\u2500 my_template.hbs\n        \u251c\u2500\u2500 page.php\n        \u2514\u2500\u2500 single.php\n<\/code><\/pre>\n\n<p><strong>wp-content\/themes\/my-theme\/hull\/my_widget\/my_template\/my_widget.hbs<\/strong><\/p>\n\n<pre><code>Hello from my widget\n<\/code><\/pre>\n\n<p>and then, to use this widget inside your views :<\/p>\n\n<pre><code>&lt;?php hull_widget('my_widget') ?&gt;\n=&gt; &lt;div data-hull-widget='my_widget'&gt;&lt;\/div&gt;&lt;h3&gt;Widgets Helpers&lt;\/h3&gt;\n<\/code><\/pre>\n\n<p><strong>hull_widget($name, $options=array(), $tagName = \"div\", $placeholder=\"\")<\/strong><\/p>\n\n<ul>\n<li><code>$name<\/code>: The widget's name<\/li>\n<li><code>$options<\/code>: <code>array(key =&gt; val)<\/code> translated to <code>data-hull-$key=\"$val\"<\/code><\/li>\n<li><code>$tagName<\/code>: name of the wrapping tag<\/li>\n<li><code>$placeholder<\/code>: Initial content placed inside your widget before first rendering<\/li>\n<\/ul>\n\n<p>example<\/p>\n\n<pre><code>&lt;?php hull_widget('identity', array('provider' =&gt; 'facebook')) &gt;\n<\/code><\/pre>\n\n<p><strong>hull_comments_widget($post_id, $options=array())<\/strong><\/p>\n\n<ul>\n<li><code>$post_id<\/code>: the id of the Wordpress post you want to display the comments for.<\/li>\n<li><code>$options<\/code>: same as <code>hull_widget<\/code><\/li>\n<\/ul>\n\n<p>example<\/p>\n\n<pre><code>&lt;?php hull_comments_widget($post-&gt;ID) ?&gt;\n<\/code><\/pre>\n\n<p><strong>hull_reviews_widget($post_id, $options=array())<\/strong><\/p>\n\n<ul>\n<li><code>$post_id<\/code>: the id of the Wordpress post you want to display the reviews for.<\/li>\n<li><code>$options<\/code>: same as <code>hull_widget<\/code><\/li>\n<\/ul>\n\n<p>example<\/p>\n\n<pre><code>&lt;?php hull_reviews_widget($post-&gt;ID) ?&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>The plugin in zip format can be downloaded <a href=\"https:\/\/github.com\/hull\/hull-wordpress\/archive\/master.zip\">here<\/a><\/p>\n\n<p>Then head over to the \"Install Plugins\" page on your wp-admin :<\/p>\n\n<pre><code>open http:\/\/example.com\/plugin-install.php?tab=upload\n<\/code><\/pre>\n\n<p>and upload the zip from there.<\/p>\n\n<p>Alternatively, you can simply unzip it or clone the repo under <code>wp-content\/plugins<\/code>.<\/p>\n\n<p>The admin Panel is under Settings &gt; Hull<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"The Hull plugins makes it easy to integrate your wordpress blog with Hull.io and get social login, engagement features across all your websites","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25355"}],"author":[{"embeddable":true,"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rdardour"}],"wp:attachment":[{"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25355"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25355"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25355"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25355"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25355"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/as.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}