| 11 | | ---- |
| 12 | | |
| 13 | | FYI: here's an example of a full response, here for the Press This plugin: |
| 14 | | {{{ |
| 15 | | object(stdClass)#241 (21) { |
| 16 | | ["name"]=> |
| 17 | | string(10) "Press This" |
| 18 | | ["slug"]=> |
| 19 | | string(10) "press-this" |
| 20 | | ["version"]=> |
| 21 | | string(7) "0.0.4.3" |
| 22 | | ["author"]=> |
| 23 | | string(66) "<a href="https://corepressthis.wordpress.com/">Press This Team</a>" |
| 24 | | ["author_profile"]=> |
| 25 | | string(33) "//profiles.wordpress.org/stephdau" |
| 26 | | ["contributors"]=> |
| 27 | | array(5) { |
| 28 | | ["michael-arestad"]=> |
| 29 | | string(0) "" |
| 30 | | ["stephdau"]=> |
| 31 | | string(33) "//profiles.wordpress.org/stephdau" |
| 32 | | ["georgestephanis"]=> |
| 33 | | string(40) "//profiles.wordpress.org/georgestephanis" |
| 34 | | ["folletto"]=> |
| 35 | | string(33) "//profiles.wordpress.org/folletto" |
| 36 | | ["melchoyce"]=> |
| 37 | | string(34) "//profiles.wordpress.org/melchoyce" |
| 38 | | } |
| 39 | | ["requires"]=> |
| 40 | | string(3) "3.9" |
| 41 | | ["tested"]=> |
| 42 | | string(3) "4.0" |
| 43 | | ["compatibility"]=> |
| 44 | | array(1) { |
| 45 | | ["3.9.1"]=> |
| 46 | | array(1) { |
| 47 | | ["0.0.1a"]=> |
| 48 | | array(3) { |
| 49 | | [0]=> |
| 50 | | int(100) |
| 51 | | [1]=> |
| 52 | | int(1) |
| 53 | | [2]=> |
| 54 | | int(1) |
| 55 | | } |
| 56 | | } |
| 57 | | } |
| 58 | | ["rating"]=> |
| 59 | | int(0) |
| 60 | | ["num_ratings"]=> |
| 61 | | int(0) |
| 62 | | ["ratings"]=> |
| 63 | | array(5) { |
| 64 | | [5]=> |
| 65 | | int(0) |
| 66 | | [4]=> |
| 67 | | int(0) |
| 68 | | [3]=> |
| 69 | | int(0) |
| 70 | | [2]=> |
| 71 | | int(0) |
| 72 | | [1]=> |
| 73 | | int(0) |
| 74 | | } |
| 75 | | ["downloaded"]=> |
| 76 | | int(299) |
| 77 | | ["last_updated"]=> |
| 78 | | string(10) "2014-06-20" |
| 79 | | ["added"]=> |
| 80 | | string(10) "2014-06-04" |
| 81 | | ["homepage"]=> |
| 82 | | string(47) "http://wordpress.org/extend/plugins/press-this/" |
| 83 | | ["sections"]=> |
| 84 | | array(4) { |
| 85 | | ["description"]=> |
| 86 | | string(318) "<p>Press This is a redesign of the Press This bookmarklet with a focus on automation and speed. It will have a simplified interface, efficient media upload, content scraping, and site switching.</p> |
| 87 | | |
| 88 | | <p><strong>CAUTION:</strong> This is in super early development. Don't use on a production site. There be dragons!</p>" |
| 89 | | ["screenshots"]=> |
| 90 | | string(1358) "<ol> |
| 91 | | <li> |
| 92 | | <a href='//ps.w.org/press-this/assets/screenshot-1.png?rev=926709' title='Click to view full-size screenshot 1'> <img class='screenshot' src='//ps.w.org/press-this/assets/screenshot-1.png?rev=926709' alt='press-this screenshot 1' /> |
| 93 | | </a> <p>Get and activate the plugin (see <a href="https://make.wordpress.org/ui/2014/06/04/press-this/)" rel="nofollow">https://make.wordpress.org/ui/2014/06/04/press-this/)</a></p> |
| 94 | | </li> |
| 95 | | <li> |
| 96 | | <a href='//ps.w.org/press-this/assets/screenshot-2.png?rev=926709' title='Click to view full-size screenshot 2'> <img class='screenshot' src='//ps.w.org/press-this/assets/screenshot-2.png?rev=926709' alt='press-this screenshot 2' /> |
| 97 | | </a> <p>Install the bookmarklet to your browser's bookmark toolbar</p> |
| 98 | | </li> |
| 99 | | <li> |
| 100 | | <a href='//ps.w.org/press-this/assets/screenshot-3.png?rev=926709' title='Click to view full-size screenshot 3'> <img class='screenshot' src='//ps.w.org/press-this/assets/screenshot-3.png?rev=926709' alt='press-this screenshot 3' /> |
| 101 | | </a> <p>Use the bookmarklet on any web page</p> |
| 102 | | </li> |
| 103 | | <li> |
| 104 | | <a href='//ps.w.org/press-this/assets/screenshot-4.png?rev=926709' title='Click to view full-size screenshot 4'> <img class='screenshot' src='//ps.w.org/press-this/assets/screenshot-4.png?rev=926709' alt='press-this screenshot 4' /> |
| 105 | | </a> <p>Publish in 2 steps! :)</p> |
| 106 | | </li> |
| 107 | | </ol>" |
| 108 | | ["changelog"]=> |
| 109 | | string(3152) "<h4>0.0.1a</h4> |
| 110 | | |
| 111 | | <ul> |
| 112 | | <li>Core architecture of the plugin/tools is an as-pure-Javascript app as possible</li> |
| 113 | | <li>Currently AJAX driven, but ready to be switched to using the WP-API endpoints as they become available</li> |
| 114 | | <li>Is backward compatible with the current version of the Press This bookmarklet as bundled in WP, but also bring its own, more powerful one with it</li> |
| 115 | | <li>Can blog any web page found online, blockquoting an excerpt, including a selection of in-page images to choose from. Said images are augmented with meta data to sort them in the order the site advertises to be best</li> |
| 116 | | <li>Overrides /wp-admin/press-this.php and its behavior, so that we’re 100% backward compatible</li> |
| 117 | | <li>Overrides the bookmarklet JS code provided in /wp-admin/tools.php</li> |
| 118 | | <li>Quick featured image switching</li> |
| 119 | | <li>Saving draft and publishing</li> |
| 120 | | <li>Image side-loading</li> |
| 121 | | <li><strong>3 modes</strong>: |
| 122 | | |
| 123 | | <ul> |
| 124 | | <li>Direct access: quick post of sort, more to come with media and formatting tools</li> |
| 125 | | <li>Modal: when accessed via new bookmarklet code: will show in an iframe within the visited page itself</li> |
| 126 | | <li>Popup: if the currently visited page is SSL but the target install is not, we open Press This in a popup instead. We also do that if the”legacy” bookmarklet code is used. It’s pretty awesome for pressing from your sweet smartphone.</li> |
| 127 | | <li>Alpha level code</li> |
| 128 | | </ul></li> |
| 129 | | </ul> |
| 130 | | |
| 131 | | <h4>0.0.2</h4> |
| 132 | | |
| 133 | | <ul> |
| 134 | | <li>Added the start of an admin bar</li> |
| 135 | | <li>Major code refactoring for easier code reuse and better performance/stability</li> |
| 136 | | <li>Started backend work on Chrome extension, not functional, but a start</li> |
| 137 | | <li>Started work on adding/editing/removing a user's different Press This instances</li> |
| 138 | | <li>Still alpha level code</li> |
| 139 | | </ul> |
| 140 | | |
| 141 | | <h4>0.0.3</h4> |
| 142 | | |
| 143 | | <ul> |
| 144 | | <li>Photo upload (without page reload, and with preview), take 1!</li> |
| 145 | | <li>Handy field for users to enter a URL to scan for media, if accessed without providing one.</li> |
| 146 | | <li>Refined algorithm that selects what picts to present as interesting/worthy to the user.</li> |
| 147 | | <li>Continued work on adding/editing/removing a user's different Press This instances.</li> |
| 148 | | <li>Major UI/UX improvements.</li> |
| 149 | | <li>Major backend improvements.</li> |
| 150 | | <li>Still alpha level code.</li> |
| 151 | | </ul> |
| 152 | | |
| 153 | | <h4>0.0.4</h4> |
| 154 | | |
| 155 | | <ul> |
| 156 | | <li>Dropped the iframe mode to an experimental file devs can play with, now defaulting to popup for better security and less fighting browsers on sameorigin policies.</li> |
| 157 | | <li>Improved UI/UX: new icons and related behaviors, etc.</li> |
| 158 | | <li>Better photo selection experience, including when uploading.</li> |
| 159 | | <li>Ability to dismiss having a photo.</li> |
| 160 | | <li>Lots of backend work to start moving towards multiple media types and selection.</li> |
| 161 | | <li>Still alpha level code.</li> |
| 162 | | </ul> |
| 163 | | |
| 164 | | <h4>0.0.4.1</h4> |
| 165 | | |
| 166 | | <ul> |
| 167 | | <li>PHP compatibility updates: some of our syntax could error on some PP versions.</li> |
| 168 | | <li>Still alpha level code.</li> |
| 169 | | </ul> |
| 170 | | |
| 171 | | <h4>0.0.4.2</h4> |
| 172 | | |
| 173 | | <ul> |
| 174 | | <li>Added to make it extra responsive on mobile.</li> |
| 175 | | <li>Still alpha level code.</li> |
| 176 | | </ul> |
| 177 | | |
| 178 | | <h4>0.0.4.3</h4> |
| 179 | | |
| 180 | | <ul> |
| 181 | | <li>Improving our github to svn tool flow</li> |
| 182 | | <li>Still alpha level code.</li> |
| 183 | | </ul>" |
| 184 | | ["other_notes"]=> |
| 185 | | string(274) "<h3>Contributing</h3> |
| 186 | | <p>You can see discussion and progress at <a href="corepressthis.wordpress.com">corepressthis.wordpress.com</a>.</p> |
| 187 | | |
| 188 | | <p>Development of this plugin is done on <a href="https://github.com/MichaelArestad/Press-This">Github</a>. Pull requests welcome.</p>" |
| 189 | | } |
| 190 | | ["download_link"]=> |
| 191 | | string(61) "https://downloads.wordpress.org/plugin/press-this.0.0.4.3.zip" |
| 192 | | ["tags"]=> |
| 193 | | array(3) { |
| 194 | | ["photo-post"]=> |
| 195 | | string(10) "photo post" |
| 196 | | ["post"]=> |
| 197 | | string(4) "Post" |
| 198 | | ["quick-post"]=> |
| 199 | | string(10) "quick post" |
| 200 | | } |
| 201 | | ["donate_link"]=> |
| 202 | | string(38) "http://wordpressfoundation.org/donate/" |
| 203 | | ["banners"]=> |
| 204 | | array(2) { |
| 205 | | ["low"]=> |
| 206 | | string(58) "//ps.w.org/press-this/assets/banner-772x250.jpg?rev=926709" |
| 207 | | ["high"]=> |
| 208 | | string(59) "//ps.w.org/press-this/assets/banner-1544x500.jpg?rev=926709" |
| 209 | | } |
| 210 | | } |
| 211 | | }}} |
| | 11 | FYI: here's an example of a full response, here for the Press This plugin: https://cloudup.com/cLxbE5Tgm50 |