Server-Side Google Search

Server-Side Google Search Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,766 downloads
Server-Side Google Search Icon

Try plugin: Server-Side Google Search

We'll create fresh WordPress site with Server-Side Google Search installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Server-Side Google Search

Adds a lightweight Google Custom Search to your website, without the need for JavaScript.

0


0


0


0


0

updated: 9 years ago
since: 9 years ago
author: Aptivate

Description

This plugin adds Google Custom Search to your website, but unlike other plugins
operates on the server side, thus eliminating the need for JavaScript and
keeping the page size small.

The admin interface is based on that used by the [WP Google Search plugin]
(https://wordpress.org/plugins/wp-google-search/)

The interface with the Google API is based on Digital Collection Search by Jason Clark for Montana
State University.

Available languages

  • English
  • Spanish (incomplete)

Follow this project on Github

Development

This plugin uses wp-cli and PHPUnit for testing.
The tests require runkit for mocking functions.

  • Grab the latest source from github:

    $ git clone [email protected]:aptivate/server-side-google-search.git

  • Install wp-cli

  • Install PHPUnit
  • Set up runkit:

    $ git clone https://github.com/zenovich/runkit.git
    $ cd runkit
    $ phpize
    $ ./configure
    $ sudo make install

Add the following lines to /etc/php5/cli/php.ini:

extension=runkit.so
runkit.internal_override=1
  • Install the test WordPress environment:

    cd server-side-google-search
    bash bin/install-wp-tests.sh test_db_name db_user ‘db_password’ db_host version

where:
** test_db_name is the name for your temporary test WordPress database
** db_user is the database user name
** db_password is the password
** db_host is the database host (eg localhost)
** version is the version of WordPress (eg 4.2.2 or latest)

  • Run the tests
    phpunit