{"id":8879,"date":"2010-04-21T21:19:31","date_gmt":"2010-04-21T21:19:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/yd-search-functions\/"},"modified":"2010-05-10T22:02:26","modified_gmt":"2010-05-10T22:02:26","slug":"yd-search-functions","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/yd-search-functions\/","author":396245,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.0","stable_tag":"trunk","tested":"2.9.2","requires":"2.9.1","requires_php":"","requires_plugins":"","header_name":"YD Search Functions Wordpress plugin","header_author":"Yann Dubois","header_description":"","assets_banners_color":"","last_updated":"2010-05-10 22:02:26","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.yann.com\/","header_plugin_uri":"http:\/\/www.yann.com\/en\/wp-plugins\/yd-search-functions","header_author_uri":"http:\/\/www.yann.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":5149,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.1.0":"<p>Initial release.<\/p>","0.2.0":"<p>Upgrade the usual way. Beware the function call parameters have changed. See changelog for details.<\/p>","0.2.1":"<p>Upgrade the usual way. See changelog for details.<\/p>","0.3.0":"<p>Upgrade the usual way. See changelog for details.<\/p>","0.4.0":"<p>Upgrade the usual way. Reset widget options to create new search log database table and give default values to new options. See changelog for details.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3.0","0.4.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"TODO\nFor an example of what it can look like, look here: http:\/\/www.nogent-citoyen.com\/recherche\/tour+eiffel (in this example, the left columns displays Wordpress-generated results using this plugin, while the right column displays asynchronous Google custom search engine results)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[944,9309,129180,292],"plugin_category":[36,43],"plugin_contributors":[80265],"plugin_business_model":[],"class_list":["post-8879","plugin","type-plugin","status-publish","hentry","plugin_tags-search","plugin_tags-snippet","plugin_tags-wordpress","plugin_tags-wp","plugin_category-analytics","plugin_category-customization","plugin_contributors-ydubois","plugin_committers-ydubois"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/yd-search-functions.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<h4>Display Wordpress search results like Google!<\/h4>\n\n<p>This Wordpress plugin installs a set of <strong>new template functions<\/strong> that lets you customize the way search results are displayed in your Wordpress search page.\nYou can use on-the-fly generated Google-style text <strong>snippets<\/strong> to help make search result abstracts more useful.\nYou can do on-the-fly hit-highlighting (in-line xml-based, not through a cumbersome asynchronous Javascript).\nYour customized search result snippets being included in the delivered page content, they can be indexed by third-party web search engines.<\/p>\n\n<p>The CSS styling of snippet results is compatible with Google custom search engine stylesheets for complete integration.<\/p>\n\n<p>The design of the search result display is highly customizable through the plugin's settings page: you can set-up if and how the snippet's date is displayed (localized date display is supported).\nYou can choose the abstract\/snippet length and the way highlighted search hits are rendered.<\/p>\n\n<p>For an example of what it can look like, look here: http:\/\/www.nogent-citoyen.com\/recherche\/tour+eiffel (in this example, the left columns displays Wordpress-generated results using this plugin, while the right column displays asynchronous Google custom search engine results)<\/p>\n\n<h4>Check-out what your visitors are searching for!<\/h4>\n\n<p>The plugin installs a new dashboard (admin panel widget) which shows you in real time what your users are searching for on your blog (top-search listing, basic search statistics).\nIt implements search logging, search statistics, and gives you a <strong>most-searched widget<\/strong> and template function to display the <strong>list of top-searches<\/strong>.\nThe <strong>most frequently searched listing<\/strong> is manageable in your admin panel: you can choose to reset counters for any search expression, or ban that expression from being listed.\nMost spiders and spam-robots are filtered-out of the search counter to prevent search link-spamming.<\/p>\n\n<p>The plugin has its own admin options\/settings page.<\/p>\n\n<p>It is <strong>fully internationalized<\/strong>. The search functions are UTF-8 multibyte compatible and do take care of accentuated text.\nThe date display supports localization issues.<\/p>\n\n<p>Base package includes .pot file for translation of the interface, and English and French versions.<\/p>\n\n<p><strong>NB: although already fully functional, this plugin is still in active development stage, and new features are added on a regular basis to help further improve search-result customization and display.<\/strong><\/p>\n\n<h4>Available template functions<\/h4>\n\n<ul>\n<li><p>Use <code>&lt;?php echo yd_search_snippet() ?&gt;<\/code> in your search results page template loop (<code>search.php<\/code>).\nFor example, in your search template theme file (<code>search.php<\/code>), find the place where it says <code>the_content()<\/code> and replace it like this:<\/p>\n\n<pre><code>&lt;?php if( function_exists( 'yd_search_snippet' ) ) yd_search_snippet() ?&gt;\n<\/code><\/pre><\/li>\n<li><p>Use <code>&lt;?php echo yd_most_searched() ?&gt;<\/code> anywhere in any page template.\nFor example, in your home page template theme file (<code>index.php<\/code>), insert something like this:<\/p>\n\n<pre><code>&lt;?php if( function_exists( 'yd_most_searched' ) ) yd_most_searched() ?&gt;\n<\/code><\/pre><\/li>\n<\/ul>\n\n<h4>Active support<\/h4>\n\n<p>Drop me a line on my <a href=\"http:\/\/www.yann.com\/en\/wp-plugins\/yd-search-functions\" title=\"Yann Dubois' Advanced Search Functions plugin for Wordpress\">YD Search Functions plugin support site<\/a> to report bugs, ask for a specific feature or improvement, or just tell me how you're using the plugin.<\/p>\n\n<h4>Description en Fran\u00e7ais :<\/h4>\n\n<p>Ce plug-in Wordpress installe des fonctions avanc\u00e9es d'affichage des r\u00e9sultats de recherche.\nVous pouvez notamment l'utiliser pour afficher des extraits de texte intelligents dans vos r\u00e9sultats (\"snippets\" \u00e0 la Google).\nIl n'extraira que les passages du texte contenant les mots-cl\u00e9s et expressions recherch\u00e9s.\nIl pourra \u00e9galement surligner dans le texte les expressions et mots recherch\u00e9s.\nLa fonction de surlignage se fait en ligne dans le flux XML et non en mode asynchrone avec un Javascript lent et lourd.\nLes snippets et les mots surlign\u00e9s faisant partie du texte de vos pages de r\u00e9sultats de recherche, ils peuvent eux-m\u00eame \u00eatre ind\u00e9x\u00e9s par les moteurs de recherche externes du web, donnant de la valeur originale \u00e0 vos pages de r\u00e9sultats.<\/p>\n\n<p>Par ailleurs, ce plugin active l'enregistrement des recherches effectu\u00e9es par les visiteurs sur votre site, \net vous remonte au niveau de votre interface d'administration la liste des recherches les plus fr\u00e9quentes.<\/p>\n\n<p>Une fonction de template et\/ou un widget vous permettent d'afficher la liste des recherches les plus courantes pour vos visiteurs.<\/p>\n\n<p>Le style CSS g\u00e9n\u00e9r\u00e9 pour les r\u00e9sultats de recherche est compatible avec les feuilles de styles utilis\u00e9es par le moteur de recherche Google custom pour une int\u00e9gration parfaite (voir exemple ci-dessous).<\/p>\n\n<p>Le plugin a sa propre page d'option dans l'administration.\nIl est enti\u00e8rement internationalis\u00e9.<\/p>\n\n<p>La distribution standard inclut le fichier de traduction .pot et les versions fran\u00e7aise et anglaise.<\/p>\n\n<p>Le plugin peut fonctionner avec n'importe quelle langue ou jeu de caract\u00e8res.\nLes fonctions de recherche et de surlignage g\u00e8rent les caract\u00e8res fran\u00e7ais accentu\u00e9s de fa\u00e7on intelligente.\nElles sont compatibles utf-8 multibyte.<\/p>\n\n<p>Pour voir un exemple du fonctionnement de ce plug-in en grandeur nature, regardez ici : http:\/\/www.nogent-citoyen.com\/recherche\/pavillon+baltard\n(dans cet exemple, la colonne de gauche affiche des r\u00e9sultats Wordpress g\u00e9n\u00e9r\u00e9s avec ce plug-in alors que la colonne de droite affiche des r\u00e9sultats de l'API du moteur de recherche Google custom)<\/p>\n\n<p>Pour toute aide ou information en fran\u00e7ais, laissez-moi un commentaire sur le <a href=\"http:\/\/www.yann.com\/en\/wp-plugins\/yd-search-functions\" title=\"Yann Dubois' Advanced Search Functions for Wordpress\">site de support du plugin YD Search Functions<\/a>.<\/p>\n\n<h4>Funding Credits<\/h4>\n\n<p>Original development of this plugin has been paid for by <a href=\"http:\/\/www.nogent-citoyen.com\" title=\"Nogent Citoyen\">www.Nogent-Citoyen.com<\/a>. Please visit their site!<\/p>\n\n<p>Le d\u00e9veloppement d'origine de ce plugin a \u00e9t\u00e9 financ\u00e9 par <a href=\"http:\/\/www.nogent-citoyen.com\" title=\"Nogent Citoyen\">www.Nogent-Citoyen.com<\/a>. Allez visiter leur site !<\/p>\n\n<h4>Translation<\/h4>\n\n<p>If you want to contribute to a translation of this plugin or its documentation, please drop me a line by e-mail or leave a comment on the plugin's page.\nYou will get credit for your translation in the plugin file and this documentation, as well as a link on this page and on my developers' blog.<\/p>\n\n<h3>Plugin options\/settings page<\/h3>\n\n<p>Use the plugin's own options\/settings page to customize settings if necessary.<\/p>\n\n<h3>Revisions<\/h3>\n\n<ul>\n<li>0.1.0 Original beta version.<\/li>\n<li>0.2.0 First improvements (function interface, options\/settings, no debug code)<\/li>\n<li>0.2.1 Bugfix: caps search string (uppercase) \/ thanks to Inky for reporting<\/li>\n<li>0.3.0 Complete settings, multi-word highlighting fixed, improved settings page design<\/li>\n<li>0.4.0 Added search logging, search statistics, most searched listings, top-search widget and lots of new customization options<\/li>\n<\/ul>\n\n<h3>To Do<\/h3>\n\n<p>Test. Final release.\nLook at comments on top of main plugin file to get a general idea of what is coming ahead in future versions.<\/p>\n\n<h3>Did you like it?<\/h3>\n\n<p>Drop me a line on http:\/\/www.yann.com\/en\/wp-plugins\/yd-search-functions<\/p>\n\n<p>And... <em>please<\/em> rate this plugin --&gt;<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip yd-search-functions.zip<\/li>\n<li>Upload the <code>yd-search-functions<\/code> directory and all its contents into the <code>\/wp-content\/plugins\/<\/code> directory of your WP site<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the option admin page to customize the settings if necessary.<\/li>\n<\/ol>\n\n<p>For specific installations, some more information might be found on the <a href=\"http:\/\/www.yann.com\/en\/wp-plugins\/yd-search-functions\" title=\"Yann Dubois' Advanced Search Functions plugin for Wordpress\">YD Search Functions plugin support page<\/a><\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Where should I ask questions?<\/dt>\n<dd><p>http:\/\/www.yann.com\/en\/wp-plugins\/yd-search-functions<\/p>\n\n<p>Use comments.<\/p>\n\n<p>I will answer only on that page so that all users can benefit from the answer. \nSo please come back to see the answer or subscribe to that page's post comments.<\/p><\/dd>\n<dt>Puis-je poser des questions et avoir des docs en fran\u00e7ais ?<\/dt>\n<dd><p>Oui, l'auteur est fran\u00e7ais.\n(\"but alors... you are French?\")<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Improvements (2010\/04\/25)<\/li>\n<li>Better function interface (function call parameters have become optional. Parameter order has changed.)<\/li>\n<li>Simplified function implementation<\/li>\n<li>No more debug messages visible<\/li>\n<li>Option set for customization<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Bugfix: caps search string (uppercase) \/ thanks to Inky for reporting<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Don't put ellipsis at beginning if not extracted or cut at beginning<\/li>\n<li>Default locale  = option + default from blog config<\/li>\n<li>Default time format = option<\/li>\n<li>Display date = option<\/li>\n<li>Link to options\/settings page in main plugin list text<\/li>\n<li>Make tokenized abstract &amp; highlight work again<\/li>\n<li>Make plural form (ending only) work again<\/li>\n<li>Plural form = option<\/li>\n<li>Improved options\/settings page design<\/li>\n<li>Linkbackware (instead of silent backlinks...)<\/li>\n<li>Translations of new features<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Implement search logging (option)<\/li>\n<li>Implement most searched list<\/li>\n<li>Search list management (admin pannel)<\/li>\n<li>Most-searched listing function<\/li>\n<li>Most-searched listing-related settings<\/li>\n<li>Display number of different searches today \/ week \/ month \/ year<\/li>\n<li>Display total number of different searches (since first date)<\/li>\n<li>Widget for displaying most searched listing<\/li>\n<li>Widget options panel<\/li>\n<li>Safeguard to automatically count and close  tags<\/li>\n<li>Hit-highlighting optional<\/li>\n<li>Accent-aware highlighting optional<\/li>\n<li>Case-sensitive highlighting optional<\/li>\n<li>Advanced \/ multi-word highlighting optional<\/li>\n<li>Settings update bug<\/li>\n<li>Robot filter<\/li>\n<li>Translations of new features<\/li>\n<\/ul>","raw_excerpt":"Improved search tools and template functions including Google-like search result snippets (on-the-fly contextual abstract), search statistics and hit- &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/8879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=8879"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ydubois"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=8879"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=8879"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=8879"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=8879"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=8879"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=8879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}