{"id":29835,"date":"2014-06-04T01:22:20","date_gmt":"2014-06-04T01:22:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-redditjs\/"},"modified":"2014-07-10T20:37:46","modified_gmt":"2014-07-10T20:37:46","slug":"wp-redditjs","status":"publish","type":"plugin","link":"https:\/\/kmr.wordpress.org\/plugins\/wp-redditjs\/","author":3053007,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"3.9.40","requires":"3.9.1","requires_php":"","requires_plugins":"","header_name":"wp-redditjs","header_author":"Benjamin Adams","header_description":"","assets_banners_color":"a3a4a3","last_updated":"2014-07-10 20:37:46","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/embed.redditjs.com\/","header_plugin_uri":"http:\/\/redditjs.com","header_author_uri":"http:\/\/redditjs.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2818,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"926576","resolution":"1544x500","location":"assets","width":1544,"height":517},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"926576","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":"927358","resolution":"1","location":"assets","width":484,"height":425},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"926552","resolution":"2","location":"assets","width":514,"height":79},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"926554","resolution":"3","location":"assets","width":450,"height":649},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"926552","resolution":"4","location":"assets","width":400,"height":400},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"931255","resolution":"5","location":"assets","width":688,"height":917}},"screenshots":{"1":"demonstration","2":"What happens if your URL has not been posted yet","3":"If your URL has been posted on reddit it will display the reddit post on your page","4":"sidebar widget subreddit feed","5":"sidebar widget subreddit feed"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[107],"plugin_category":[44],"plugin_contributors":[90285],"plugin_business_model":[],"class_list":["post-29835","plugin","type-plugin","status-publish","hentry","plugin_tags-comments","plugin_category-discussion-and-community","plugin_contributors-benjiballin","plugin_committers-benjiballin"],"banners":{"banner":"https:\/\/ps.w.org\/wp-redditjs\/assets\/banner-772x250.png?rev=926576","banner_2x":"https:\/\/ps.w.org\/wp-redditjs\/assets\/banner-1544x500.png?rev=926576","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-redditjs_a3a4a3.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-redditjs\/assets\/screenshot-1.gif?rev=927358","caption":"demonstration"},{"src":"https:\/\/ps.w.org\/wp-redditjs\/assets\/screenshot-2.png?rev=926552","caption":"What happens if your URL has not been posted yet"},{"src":"https:\/\/ps.w.org\/wp-redditjs\/assets\/screenshot-3.png?rev=926554","caption":"If your URL has been posted on reddit it will display the reddit post on your page"},{"src":"https:\/\/ps.w.org\/wp-redditjs\/assets\/screenshot-4.png?rev=926552","caption":"sidebar widget subreddit feed"},{"src":"https:\/\/ps.w.org\/wp-redditjs\/assets\/screenshot-5.png?rev=931255","caption":"sidebar widget subreddit feed"}],"raw_content":"<!--section=description-->\n<p>Does your site get a lot of posts on reddit? Increase reddit engagement, more comments, more upvotes.  Users can read the reddit comments without having to leave your website.<\/p>\n\n<p><a href=\"https:\/\/github.com\/BenjaminAdams\/wp-redditjs\">wp-redditjs<\/a>\u00a0uses redditJS.com to create widgets to <a href=\"http:\/\/embed.redditjs.com\">embed reddit<\/a> on your website.<\/p>\n\n<p>The post widget will embed itself onto your Wordpress post and detect if it has been posted to reddit.  <a href=\"http:\/\/embed.redditjs.com\">more details and examples<\/a><\/p>\n\n<p>If it has NOT been posted to reddit it will <a href=\"http:\/\/i.imgur.com\/OLJjzkx.png\" title=\"example\">show a link<\/a> to encourage the user to submit.\nIf it has been posted, it will load\u00a0a widget displaying that reddit post giving the user where they can upvote\/comment that post.<\/p>\n\n<p><a href=\"https:\/\/github.com\/BenjaminAdams\/wp-redditjs\">wp-redditjs<\/a>\u00a0will give you a\u00a0chat box similar\u00a0to facebook or\u00a0disqus comment system. \u00a0This is excellent for websites that have their content submitted to reddit. \u00a0It will help increase reddit activity with more upvotes and comments and allow the user to freely navigate reddit.<\/p>\n\n<h3>Instructions<\/h3>\n\n<p>If you are not using the Wordpress plugin, you can add this script tag on any website.<\/p>\n\n<pre><code>&amp;lt;script src='\/\/redditjs.com\/post.js' &amp;gt;&amp;lt;\/script&amp;gt;\n<\/code><\/pre>\n\n<h3>Options<\/h3>\n\n\nNameDescription values Default\ndata-urlThe URL you want to search in reddit to embed on your site. any url  current URL \ndata-widthWidth of the post widget. number 500 \ndata-heightHeight of the post widget. number 500 \ndata-post-finderIf the URL has been submitted multiple times to reddit, it will display the most relevant post based on your setting. newest, mostUpvoted, mostComments mostComments \ndata-themeChange the theme light, dark light \ndata-show-submitIf we don't find a post on reddit, should we display a \"submit to reddit\" widget. true,false true \n\n\n<h3>reddit post widget light theme<\/h3>\n\n<pre><code>&amp;lt;script src='\/\/redditjs.com\/post.js' data-url='http:\/\/www.techodrom.com\/etc\/star-trek-edges-closer-reality-tractor-beam-moves-object-using-nothing-power-ultrasound\/' data-height='500' data-width='500' data-post-finder='newest' data-theme='dark' data-show-submit='true'&amp;gt;&amp;lt;\/script&amp;gt;\n<\/code><\/pre>\n\n<p>You can also embed a subreddit with a sidebar widget or with this script tag\n    &lt;script src='\/\/redditjs.com\/subreddit.js' &gt;&lt;\/script&gt;<\/p>\n\n\nNameDescription values Default\ndata-subredditThe subreddit you want to embed any subreddit  front \ndata-domainIf you want to embed all posts coming from a domain.  Do not include if you want to embed a regular subreddit any valid domain  null \ndata-widthWidth of the post widget. number 300 \ndata-heightHeight of the post widget. number 300 \ndata-sortSort order of subreddit hot, new, controversial, rising, top, gilded hot \ndata-themeChange the theme light, dark light \ndata-timeframeIf top or controversial is select you can show posts from a specific time period. hour,day,week,month,year,alllight \ndata-subreddit-modeHow you want to display a subreddit normal,small,grid,large normal\n\n<!--section=installation-->\n<p>Install plugin, configure in wp-redditjs options<\/p>\n\n<ol>\n<li>Navigate to the 'Add New' in the plugins dashboard<\/li>\n<li>Search for 'wp-redditjs'<\/li>\n<li>Click 'Install Now'<\/li>\n<li>Activate the plugin on the Plugin dashboard<\/li>\n<\/ol>\n\n<h4>Uploading in WordPress Dashboard<\/h4>\n\n<ol>\n<li>Navigate to the 'Add New' in the plugins dashboard<\/li>\n<li>Navigate to the 'Upload' area<\/li>\n<li>Select <code>wp-redditjs.zip<\/code> from your computer<\/li>\n<li>Click 'Install Now'<\/li>\n<li>Activate the plugin in the Plugin dashboard<\/li>\n<\/ol>\n\n<h4>Using FTP<\/h4>\n\n<ol>\n<li>Download <code>wp-redditjs.zip<\/code><\/li>\n<li>Extract the <code>wp-redditjs<\/code> directory to your computer<\/li>\n<li>Upload the <code>wp-redditjs<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin in the Plugin dashboard<\/li>\n<\/ol>","raw_excerpt":"Embed a reddit post or subreddit on your website.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/29835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=29835"}],"author":[{"embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/benjiballin"}],"wp:attachment":[{"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=29835"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=29835"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=29835"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=29835"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=29835"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=29835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}