{"id":59796,"date":"2010-07-22T11:24:53","date_gmt":"2010-07-22T11:24:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/android-app-share\/"},"modified":"2010-07-22T11:31:06","modified_gmt":"2010-07-22T11:31:06","slug":"android-app-share","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/android-app-share\/","author":307954,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"3.0.5","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"Android App Share","header_author":"David Artiss","header_description":"","assets_banners_color":"","last_updated":"2010-07-22 11:31:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.artiss.co.uk\/android-app-share","header_author_uri":"http:\/\/www.artiss.co.uk","rating":0,"author_block_rating":0,"active_installs":0,"downloads":2296,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog","other_notes"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-59796","plugin","type-plugin","status-closed","hentry","plugin_committers-dartiss"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/android-app-share.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The AppBrain website (and matching app) allows you to view your installed Android Apps, view the marketplace and even install, right from your browser.<\/p>\n\n<p>Android App Share allows you to list your app lists via a widget, shortcode or manually added function call.<\/p>\n\n<p>There are 3 ways to display a list - a function call (requires PHP coding, but can be placed anywhere), a short code (which can be easily placed in a post or page) or with a sidebar widget.<\/p>\n\n<p>Let's go through each of the 3 methods in turn...<\/p>\n\n<p><strong>1. Function Call<\/strong><\/p>\n\n<p>For those with access (and the requirement) to their theme PHP, a function calls adds total flexibility as it can be added anywhere within your theme.<\/p>\n\n<pre><code>&lt;?php if (function_exists('android_app_share')) {android_app_share('username','listname','paras');} ?&gt;\n<\/code><\/pre>\n\n<p>Where <code>username<\/code> is your AppBrain username, <code>listname<\/code> is the name of the required app list and <code>paras<\/code> is a list of parameters - an ampersand separating each parameter.<\/p>\n\n<p>Here's an example that lists my own app list...<\/p>\n\n<pre><code>&lt;?php if (function_exists('android_app_share')) {android_app_share(\"dartiss\",\"my-android-apps\",\"limit=5&amp;order=name&amp;target=_blank&amp;nofollow=yes&amp;desclen=100\");} ?&gt;\n<\/code><\/pre>\n\n<p>In this case it shows 5 apps, in name order. A description is shown, limited to 100 characters, clicking on any link will open a new window and <code>rel=\"nofollow\"<\/code> has been added to each link.<\/p>\n\n<p><strong>2. Short Code<\/strong><\/p>\n\n<p>This is an easy one. Within any post or page, simply type the following...<\/p>\n\n<pre><code>[applist user=x listname=y]\n<\/code><\/pre>\n\n<p>Where x is the username and y is the listname. All the other parameters, as listed with the function call, can be used too. For example, the previous example as a short code would be...<\/p>\n\n<pre><code>[applist user=dartiss listname=my-android-apps limit=5 order=name target=_blank nofollow=yes desclen=100]\n<\/code><\/pre>\n\n<p>In this case, this would not appear an unordered list, because the default for the short code is that this turned off.<\/p>\n\n<p><strong>3. Widget<\/strong><\/p>\n\n<p>The Widget is available from the Appearance-&gt;Widgets menu within Administation. Drag it to the appropriate sidebar and click on the down arrow to modify the default options.<\/p>\n\n<p>These NEED to be done as you also have to user name and list name.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>youtube-embed<\/code> folder to your <code>wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>If using the widget, browse to <code>Appearance-&gt;Widgets<\/code>, add the widget, and configure the options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>Can I change the look of the output?<\/h4>\n\n<p>Yep. All elements have a <code>class<\/code> of <code>appbrain<\/code>. You can also decide, via the parameters, whether you wish to display the output as an unordered list or within a <code>div<\/code>.<\/p>\n\n<h4>Can I add more stuff like this to my site?<\/h4>\n\n<p>Yes. <a href=\"http:\/\/www.appbrain.com\/info\/api\" title=\"AppBrain Widgets\">AppBrain have a number of widgets<\/a> that can be added to your site quickly and easily. Either add the code directly to your theme files or user a plugin such as <a href=\"http:\/\/www.artiss.co.uk\/simple-code-embed\" title=\"Simple Code Embed\">Simple Code Embed<\/a> to add the code directly to your posts and pages.<\/p>\n\n<h4>How can I get help or request possible changes<\/h4>\n\n<p>Feel free to report any problems, or suggestions for enhancements, to me either via <a href=\"http:\/\/www.artiss.co.uk\/contact\" title=\"Contact Me\">my contact form<\/a> or by <a href=\"http:\/\/www.artiss.co.uk\/android-app-share\" title=\"Android App Share\">the plugins homepage<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<!--section=other_notes-->\n<h3>Parameters<\/h3>\n<p>The following parameters may be used for any of the list methods that this plugin employs:<\/p>\n\n<ul>\n<li><em>user<\/em> - Your AppBrain username.<\/li>\n<li><em>listname<\/em> - The name of your app list.<\/li>\n<li><em>offset<\/em> - How many items into the list to start (defaults to 0).<\/li>\n<li><em>limit<\/em> - How many items to display (defaults to 10).<\/li>\n<li><em>order<\/em> - What order the results should display - either <code>name<\/code> or <code>date<\/code> (<code>date<\/code> is default).<\/li>\n<li><em>list<\/em> - Should it be displayed as an unordered list? <code>No<\/code> to switch off (in which case each item is encased with a <code>DIV<\/code>. Defaults to <code>Yes<\/code>.<\/li>\n<li><em>desclen<\/em> - The maximum length, in characters, of the description. Set to 0 to not display.<\/li>\n<li><em>target<\/em> - The link target. By default, none it specified.<\/li>\n<li><em>nofollow<\/em> - If set to <code>Yes<\/code>, then <code>rel=\"nofollow\"<\/code> will be added to all links.<\/li>\n<\/ul>","raw_excerpt":"Android App Share makes use of the AppBrain website to provide lists of your current Android Apps.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/59796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=59796"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dartiss"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=59796"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=59796"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=59796"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=59796"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=59796"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=59796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}