Live Search - Searchengine for your Website

Live Search 3.6 August 27th 2014

The Searchengine for your Site

  • Search for text, images and PDF files in your website
  • allow_url_fopen OR Curl OR auto
  • no database required
  • hide content from being indexed
  • just one PHP file needed for your search results

New since V3.5: improvements to the highlighting of phrases … please read the changelog further down

New since V3.4: added logical correlation when (AND/OR/NONE) searching for words, some fixes and improvements … please read the changelog further down

New since V3.6: some fixes, improvements and helperlies … please read the changelog further down

New since V3.3: added Bootstrap 3.1.1 pagination, possibility to index single external pages or embeded external image sources, some fixes and improvements … please read the changelog further down

New since V3.2: real Bootstrap Pagination, different, possibility to define error messages and highlight classes, and some greater improvements, addons and fixes … please read the changelog further down

New since V3.01: fixed bug in curl/allow_url_fopen avaibility detection

New since V3.0: Added Curl support, added function to index PDF files and search within all updates can be found detailed further down in the changelog

New since V2.01: Now thumbnails will be generated from GIFs and PNGs too

New since V2.0: Added possibility to search for images (filename, alt-tag, title-tag) with displaying their auto generated (CSS or GD) thumbnails, META-description and META-keywords are involved now, performace fix for greater websites – all updates can be found detailed further down in the changelog

New since V1.3: Added possibility to hide content from being indexed – all updates can be found detailed further down in the changelog

New since V1.21: small fix for quoting searchstrings – all updates can be found detailed further down in the changelog

New since V1.2: improved searchstring savings (for the cloud), including and excluding files and/or paths and some major fixes – all updates can be found detailed further down in the changelog

New since V1.1: some fixes and the possibility add GET-Variables – all updates can be found detailed further down in the changelog

The Search Engine for your Website.
You can use Live Search for smaller and medium websites. A database is not needed. The website will be crawled from the defined baseurl.
The links will be collected and the content cached – so future searches are faster. Already succeeded searches are stored in files too to increase search speed.
The textparts with the found searchstrings are cropped in the search results so only the part with the searchstring is displayed (like displaying the results on Google)

Various options help you to handle Live Search. A Search Word Cloud is available too.

A complete overview is available in the How it works section of the demo

Check out the Demo on envato.homac.net

Sites where Live Search is in use

http://sigmasecuritydevices.com (search form at the top right)
http://www.homac.at (search form at the top right)
http://www.strohhandel.co.at (search form at the top)

Features

  • Easy to include and setup
  • Should work with every smaller and middle website
  • No need of any database
  • Pagination function
  • Caching of searchresults and content
  • Include unlinked files new since 1.2
  • Include external hosts (domains) new since 3.3
  • Define logical correlation between single words (AND, OR, as is) new since 3.4
  • Exclude paths and files from being searched for links new since 1.2
  • Exclude paths and files from being searched for links new since 1.2
  • Exclude < script > blocks new since 2.0
  • Added performance switch if necessary new since 2.0
  • Search for META-description new since 2.0
  • Search for META-keywords new since 2.0
  • Search for images new since 2.0
  • Possibility to hide images from being indexed new since 2.0
  • Thumbnail-Generation on the Fly new since 2.0
  • Search within PDF files new since 3.0
  • Select different methods of indexing (allow_url_fopen or Curl or auto) new since 3.0
  • ...

Requirements

  • PHP 5.x
  • activated allow_url_fopen or enabled Curl
  • optional GD-Library for thumbnail Generation (CSS thumbs are possible too)
  • optional for PDF-indexing (Linux-based Webserver with accessible pdftotext binary)

Changelog

Current Version Live Search 3.6 August 27th 2014

Update information are included

Updates V3.6 August 27th 2014

improved: text segment of search results might doesn't contain any of the search string when searching for wordgroups when searching for wordgroup and complete wordgroup or first word wasn't found
fixed: line feeds within title tags weren't considered
improvement: just copy txt files without parsing them (great performance fix when handling bigger txt files)
improvement: removed question marks from urls to prevent double caching (time consuming)
added: possibility to save urls next to index files with the same title ?????
fixed: if just images are part of the cached search results, they weren't displayed

Updates V3.5 June 4th 2014

Improved: highlighting of the whole searchstring in the search results even though single words found further up in the same text

Updates V3.4 May 22nd 2014

Improved: avoid following tel javascript and anchor links to prevent 404 errors
Added: Search logic for words - AND, OR or false - can be defined in the config
Fixed: sprintf troubles for image results headline (more than one image found)
Fixed: array_pop needs variable instead of returning array, added temporary array as variable to fulfill Strict Standards

Updates V3.3 March 1st 2014

-> Added fourth pagination style (real Bootstrap 3.1.1)
-> Possibility to activate UTF8 decoding during search if needed
-> Added $cachetime 0 to disable auto-caching
-> IMG retrieving improvement (not longer needed to use <img src="..." />, variations working now too i.e.: <img class="..." src="..." />)
-> Possibility to include external hosts-domains to the indexing process when linking to external single pages
-> Possibility to include external hosts-domains to the indexing process when embedding external images

Updates V3.2 July 9th 2013

-> Added third pagination style (real Bootstrap)
-> Possibility to define highlighting CSS class within the livesearch PHP class
-> Added a second highlight class to the css file
-> Possibility to define number of items in the search cloud
-> Possibility to define error messages for too short strings and no results
-> Pagination fix (images were count each as single search result, instead of all of them cobined to one)
-> URL retrieving improvement (not longer needed to use <a href="..." ...=""></a>, variations working now too i.e.: <a class="..." href="..." ...=""></a>)
-> PDF-files with spaces will be cached now too, but please don't use spaces or special characters for your web projects
-> Diffferent error outputs for no results and too short query strings
-> Some smaler fixes and improvements

Updates V3.01 July 10th 2012

> -> fixed bug in curl/allow_url_fopen avaibility detection

Updates V3.0 June 29th 2012

> -> Added possibility to search content within linked PDF files (Linux and pdftotext required)
> -> Added possibility to use 2 different pagination styles (inspired by Dave Reejik)
> -> Offering the possibility to use Curl OR url_fopen (auto-mode included)
> -> One greater bugfix on the image search
> -> Some smaller fixes and improvements

Updates V2.01 Sep 11th 2011

> -> Added PNG and GIF support for the thumbnail generator

Updates V2.0 2011-08-30

> -> < script > blocks are excluded now
> -> Added possibility to search for META-description and META-keywords
> -> Added possibility to search for images by filename, alt-tag or title-tag – Imagesearch can be turned on/off
> -> Thumbnails of found images will be displayed and can be generated on the fly with the help of the GD-Library – can be turned on (GD-thumbs)/off (CSS-thumbs)
> -> Images can be hidden by using the LSHIDE image class
> -> Added performance fix for larger websites running into a timout or memory exhaustion

Updates V1.3 2010-06-07

> -> added some setup error – handlers
> -> Possibility to exclude complete blocks from indexing. i.e. your menues, ...
> -> Added prior PHP 5.1.2 fix for parse_url()

Updates V1.21 2010-02-21

> -> added essential quoting of possible slashes in searchstings

Updates V1.2 2010-02-15 (submitted 2010-02-14)

> -> Double quote and escaped characters fixing for the collected Searchwords (Cloud)
> -> Possibility to exclude files and directories under the basedir
> -> Possibility to include unlinked files and directories under the basedir
> -> Some major bugfixes to prevent from endless loops and to make caching faster

Updates V1.1 2010-02-13

> -> fixed hardcoded pagevariablename
> -> fixed hardcoded searchstringvariablename
> -> Added possibility add GET-Variables for pagination ($add2query)
> -> Added possibility add GET-Variables for drawing searchresults ($add2query)
> -> Added possibility add GET-Variables for the SearchCloud ($add2query)
> -> Replace miss-used echo in the searchcloud

Official Release V1.0 2010-02-12

> -> first version released

I hope you like it and vereything works fine for you :)

regards
mac

free counters

by
by
by
by
by
by