Lecteur Markdown
GOOGLE_POSITION_DOCUMENTATION_EN
Feature: Google Position #
> Legacy version (v0.55.0). Checks a site's position in Google search results for a given query by scraping the results page.
---
Installation and Configuration #
Via FTP: Upload the `google_position/` directory into `/plugins/`.
Paths:
- Main plugin: `/plugins/google_position/google_position.php`
- Configuration: `/plugins/google_position/conf/google_position.conf.inc.php`
Required level: `GOOGLE_POSITION_LEVEL_HIGHUSER`
---
Usage #
1. Enter a search term
2. The plugin queries Google and scans the results to find the installation's domain
3. Displays the found position and total number of results
Warning: this approach relies on HTML scraping of the Google results page, which may return a block (error 429) at any time. Google regularly changes its page structure, which can render this plugin non-functional.
---
Hooks and Entry Points #
?obj=google_position.php — Search form
?obj=google_position.php&q=TERM — Results (GET)
---
Dependencies #
- PHP cURL extension or `file_get_contents` — for the Google request