{"id":9286,"date":"2020-01-24T10:18:22","date_gmt":"2020-01-24T10:18:22","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=9286"},"modified":"2022-04-13T15:56:35","modified_gmt":"2022-04-13T15:56:35","slug":"how-to-add-live-search-functionality-to-your-website","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/how-to-add-live-search-functionality-to-your-website\/","title":{"rendered":"How to add live search functionality to your website?"},"content":{"rendered":"\n<p>With Php Custom Search, full-featured text search engine library written entirely in Php,javascript and xml. It is a technology suitable for nearly any application that requires full-text search.<\/p>\n\n\n\n<p><strong>step-1<\/strong> First you create index.html page and adding some javascript code for using functionality livesearch.php page<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/amardeep18\/4a43805a4fb3688f01b6ed5b35e2551c.js\"><\/script>\n\n\n\n<p> <strong>step-2<\/strong>\u00a0Then you create livesearch.php page <\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/amardeep18\/098e0e9fba418916bb71b7022f77f028.js\"><\/script>\n\n\n\n<p> <strong>step-3<\/strong>\u00a0Then you create links.xml file links.xml is used for linking with search data. <\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/amardeep18\/fec6b45d3c63cc03cf96784ee3e9e997.js\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>With Php Custom Search, full-featured text search engine library written entirely in Php,javascript and xml. It is a technology suitable for nearly any application that requires full-text search. step-1 First&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-9286","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/9286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=9286"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/9286\/revisions"}],"predecessor-version":[{"id":9402,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/9286\/revisions\/9402"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=9286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=9286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=9286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}