Plugin Directory

Changeset 3101287


Ignore:
Timestamp:
06/11/2024 03:08:54 PM (22 months ago)
Author:
the9mm
Message:

Added support for AppleBot-Extended, Bytespider, Cohere-ai, Diffbot, ImagesiftBot, PerplexityBot, FacebookBot, and Omigili.

Location:
simple-noai-and-noimageai/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • simple-noai-and-noimageai/trunk/includes/noai-settings.php

    r2997830 r3101287  
    210210    <input type="checkbox" id="anthropicai" name="noai_robots_options[anthropicai]" value="anthropicai" <?php echo isset( $robots_options['anthropicai'] ) ? ( checked( $robots_options['anthropicai'], 'anthropicai', false ) ) : ( '' ); ?>>
    211211    <label for="anthropicai"><?php esc_html_e( 'Anthropic-AI', 'noai' ); ?></label>
     212   
     213    <!-- Added 6-11-24 /-->
     214   
     215       <input type="checkbox" id="applebot" name="noai_robots_options[applebot]" value="applebot" <?php echo isset( $robots_options['applebot'] ) ? ( checked( $robots_options['applebot'], 'applebot', false ) ) : ( '' ); ?>>
     216    <label for="applebot"><?php esc_html_e( 'Applebot-Extended', 'noai' ); ?></label>
     217   
     218    <input type="checkbox" id="bytespider" name="noai_robots_options[bytespider]" value="bytespider" <?php echo isset( $robots_options['bytespider'] ) ? ( checked( $robots_options['bytespider'], 'bytespider', false ) ) : ( '' ); ?>>
     219    <label for="bytespider"><?php esc_html_e( 'Bytespider', 'noai' ); ?></label>
     220   
     221        <input type="checkbox" id="cohere" name="noai_robots_options[cohere]" value="cohere" <?php echo isset( $robots_options['cohere'] ) ? ( checked( $robots_options['cohere'], 'cohere', false ) ) : ( '' ); ?>>
     222    <label for="cohere"><?php esc_html_e( 'cohere-ai', 'noai' ); ?></label>
     223   
     224            <input type="checkbox" id="diffbot" name="noai_robots_options[diffbot]" value="diffbot" <?php echo isset( $robots_options['diffbot'] ) ? ( checked( $robots_options['diffbot'], 'diffbot', false ) ) : ( '' ); ?>>
     225    <label for="diffbot"><?php esc_html_e( 'Diffbot', 'noai' ); ?></label>
     226   
     227    <input type="checkbox" id="imagesiftbot" name="noai_robots_options[imagesiftbot]" value="imagesiftbot" <?php echo isset( $robots_options['imagesiftbot'] ) ? ( checked( $robots_options['imagesiftbot'], 'imagesiftbot', false ) ) : ( '' ); ?>>
     228    <label for="imagesiftbot"><?php esc_html_e( 'Imagesiftbot', 'noai' ); ?></label>
     229   
     230     <input type="checkbox" id="perplexity" name="noai_robots_options[perplexity]" value="perplexity" <?php echo isset( $robots_options['perplexity'] ) ? ( checked( $robots_options['perplexity'], 'perplexity', false ) ) : ( '' ); ?>>
     231    <label for="perplexity"><?php esc_html_e( 'Perplexitybot', 'noai' ); ?></label>
     232   
     233    <input type="checkbox" id="omigili" name="noai_robots_options[omigili]" value="omigili" <?php echo isset( $robots_options['omigili'] ) ? ( checked( $robots_options['omigili'], 'omigili', false ) ) : ( '' ); ?>>
     234    <label for="omigili"><?php esc_html_e( 'Webz.io', 'noai' ); ?></label>
     235   
     236    <input type="checkbox" id="meta" name="noai_robots_options[meta]" value="meta" <?php echo isset( $robots_options['meta'] ) ? ( checked( $robots_options['meta'], 'meta', false ) ) : ( '' ); ?>>
     237    <label for="meta"><?php esc_html_e( 'FacebookBot', 'noai' ); ?></label>
    212238
    213239    <?php
     
    304330function sanitize_noai_robots_options( $input ) {
    305331    $allowed_keys = array(
    306         'allrobots', 'gptbot', 'chatgptuser', 'googleextended', 'googleother', 'ccbot', 'anthropicai'
     332        'allrobots', 'gptbot', 'chatgptuser', 'googleextended', 'googleother', 'ccbot', 'anthropicai', 'applebot', 'bytespider', 'cohere', 'diffbot', 'imagesiftbot', 'perplexity', 'omigili', 'meta',
    307333    );
    308334
  • simple-noai-and-noimageai/trunk/noai.php

    r3064958 r3101287  
    77 Plugin URI: http://www.foundationwebdev.com/plugins/noai-imageai
    88 Description: This plugin very simply adds a line of code to your header that tells AIs not to use anything on your website for indexing. It also has settings to disallow certain crawlers in your robots.txt file including GPTBot and Google-Extended.
    9  Version: 1.6.2
     9 Version: 1.6.3
    1010 Author: Aimee Cozza
    1111 Author URI: http://www.aimeecozza.com
     
    142142    $output .= 'User-agent: anthropic-ai' . "\n" . 'Disallow: /' . "\n";
    143143    $output .= 'User-agent: Google-Extended' . "\n" . 'Disallow: /' . "\n";
     144    $output .= 'User-agent: Omigili' . "\n" . 'Disallow: /' . "\n";
     145    $output .= 'User-agent: OmigiliBot' . "\n" . 'Disallow: /' . "\n";
     146    $output .= 'User-agent: PerplexityBot' . "\n" . 'Disallow: /' . "\n";
     147    $output .= 'User-agent: ImagesiftBot' . "\n" . 'Disallow: /' . "\n";
     148    $output .= 'User-agent: FacebookBot' . "\n" . 'Disallow: /' . "\n";
     149    $output .= 'User-agent: Diffbot' . "\n" . 'Disallow: /' . "\n";
     150    $output .= 'User-agent: cohere-ai' . "\n" . 'Disallow: /' . "\n";
     151    $output .= 'User-agent: Bytespider' . "\n" . 'Disallow: /' . "\n";
     152    $output .= 'User-agent: Applebot-Extended' . "\n" . 'Disallow: /' . "\n";
     153
    144154}
    145155   
     
    173183   
    174184}
     185
     186if ( isset($robots_options['omigili']) && !isset($robots_options['allrobots']) ) {
     187    $output .= 'User-agent: Omigili' . "\n" . 'Disallow: /' . "\n";
     188    $output .= 'User-agent: OmigiliBot' . "\n" . 'Disallow: /' . "\n";
     189   
     190}
     191
     192        if ( isset($robots_options['perplexity']) && !isset($robots_options['allrobots']) ) {
     193    $output .= 'User-agent: PerplexityBot' . "\n" . 'Disallow: /' . "\n";
     194   
     195}
     196
     197        if ( isset($robots_options['imagesiftBot']) && !isset($robots_options['allrobots']) ) {
     198    $output .= 'User-agent: ImagesiftBot' . "\n" . 'Disallow: /' . "\n";
     199   
     200}
     201
     202        if ( isset($robots_options['diffbot']) && !isset($robots_options['allrobots']) ) {
     203    $output .= 'User-agent: Diffbot' . "\n" . 'Disallow: /' . "\n";
     204   
     205}
     206
     207        if ( isset($robots_options['cohere']) && !isset($robots_options['allrobots']) ) {
     208    $output .= 'User-agent: cohere-ai' . "\n" . 'Disallow: /' . "\n";
     209   
     210}
     211
     212        if ( isset($robots_options['bytespider']) && !isset($robots_options['allrobots']) ) {
     213    $output .= 'User-agent: Bytespider' . "\n" . 'Disallow: /' . "\n";
     214   
     215}
     216
     217        if ( isset($robots_options['applebot']) && !isset($robots_options['allrobots']) ) {
     218    $output .= 'User-agent: Applebot-Extended' . "\n" . 'Disallow: /' . "\n";
     219   
     220}
     221
     222        if ( isset($robots_options['meta']) && !isset($robots_options['allrobots']) ) {
     223    $output .= 'User-agent: FacebookBot' . "\n" . 'Disallow: /' . "\n";
     224   
     225}
     226
     227
    175228    $output .=  '# ---------------------------' . "\n" . '# END SIMPLE NOAI BLOCK' . "\n";
    176229    return $output;
  • simple-noai-and-noimageai/trunk/readme.txt

    r3064958 r3101287  
    55Requires at least: 1.2
    66Tested up to: 6.5
    7 Stable tag: 1.6.2
     7Stable tag: 1.6.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2222 
    23231. Upload the plugin folder to your /wp-content/plugins/ folder.
    24 1. Go to the **Plugins** page and activate the plugin.
     242. Go to the **Plugins** page and activate the plugin.
    2525 
    2626== Frequently Asked Questions ==
     
    3939 
    4040== Changelog ==
     41= 1.6.3 =
     42* Added support for AppleBot-Extended, Bytespider, Cohere-ai, Diffbot, ImagesiftBot, PerplexityBot, FacebookBot, and Omigili.
     43
    4144= 1.6.2 =
    42 * Support WordPress 6.5
     45* Supports WordPress 6.5
    4346
    4447= 1.6.1 =
Note: See TracChangeset for help on using the changeset viewer.