{"id":7802,"date":"2010-01-12T16:24:09","date_gmt":"2010-01-12T16:24:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-search-extracts\/"},"modified":"2010-02-18T18:06:49","modified_gmt":"2010-02-18T18:06:49","slug":"wp-search-extracts","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-search-extracts\/","author":44089,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"trunk","tested":"2.9.2","requires":"2.8.0","requires_php":"","requires_plugins":"","header_name":"WP Search extracts","header_author":"James Stewart","header_description":"","assets_banners_color":"","last_updated":"2010-02-18 18:06:49","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=10973638","header_plugin_uri":"http:\/\/www.ketlai.co.uk","header_author_uri":"http:\/\/jystewart.net\/process\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2726,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"":"<p>Nothing to do.<\/p>"},"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":[944],"plugin_category":[],"plugin_contributors":[91029],"plugin_business_model":[],"class_list":["post-7802","plugin","type-plugin","status-publish","hentry","plugin_tags-search","plugin_contributors-jystewart","plugin_committers-jystewart"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-search-extracts.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>When displaying results from a search many people prefer to display the section of the resulting\npost\/page that includes the match, rather than the full post or standard excerpt. This plugin adds\na filter to process search results and only display the content either side of the first result\nfor the given search.<\/p>\n\n<h3>To Do<\/h3>\n\n<ul>\n<li>Add automated tests<\/li>\n<li>Make the padding around results value configurable<\/li>\n<li>Solicit user feedback on further options<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp-search-extracts<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix issue where matched term is near the beginning of the string, which could cause duplication in results (thanks to Ben Walker)<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Consolidated code for first release<\/li>\n<\/ul>","raw_excerpt":"Display only parts of a result close to matched search term in search results list","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7802","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=7802"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jystewart"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7802"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7802"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7802"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7802"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7802"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}