Plugin Directory

Changeset 3843323


Ignore:
Timestamp:
12/03/2026 08:17:34 PM (2 hours ago)
Author:
p2p4me
Message:

Release 0.9.17: maintenance fixes, improved plugin description and FAQ

Location:
p2p4me-publisher
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • p2p4me-publisher/tags/0.9.17/backfill.php

    r3838570 r3843323  
    2121 try{
    2222  $start=microtime(true); $failed=0; $processed=0;
    23   $ids=get_posts(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>true,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>p2p4me_backfill_limit(),'fields'=>'ids','orderby'=>'ID','order'=>'ASC','meta_query'=>['relation'=>'OR',['key'=>'_p2p4me_record','compare'=>'NOT EXISTS'],['key'=>'_p2p4me_history_current','compare'=>'NOT EXISTS']]]);
     23  $ids=get_posts(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>false,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>p2p4me_backfill_limit(),'fields'=>'ids','orderby'=>'ID','order'=>'ASC','meta_query'=>['relation'=>'OR',['key'=>'_p2p4me_record','compare'=>'NOT EXISTS'],['key'=>'_p2p4me_history_current','compare'=>'NOT EXISTS']]]);
    2424  foreach($ids as $id){
    2525   if(microtime(true)-$start>10)break;
  • p2p4me-publisher/tags/0.9.17/dashboard.php

    r3838570 r3843323  
    1414});
    1515function p2p4me_dashboard_query($extra=[]){
    16  return new WP_Query(array_merge(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>true,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>10,'meta_key'=>'_p2p4me_record','orderby'=>'date','order'=>'DESC'], $extra));
     16 return new WP_Query(array_merge(['post_type'=>p2p4me_publication_types(),'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>10,'meta_key'=>'_p2p4me_record','orderby'=>'date','order'=>'DESC'], $extra));
    1717}
    1818function p2p4me_dashboard_header($title){
    … …  
    3535 }
    3636 // Count eligible posts without a postmeta join; subtract registered posts below.
    37  $eligible=new WP_Query(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>true,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>1,'fields'=>'ids']);
    38  $missing=new WP_Query(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>true,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>1,'fields'=>'ids','meta_query'=>[['key'=>'_p2p4me_record','compare'=>'EXISTS'],['key'=>'_p2p4me_history_current','compare'=>'NOT EXISTS']]]);
     37 $eligible=new WP_Query(['post_type'=>p2p4me_publication_types(),'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>1,'fields'=>'ids']);
     38 $missing=new WP_Query(['post_type'=>p2p4me_publication_types(),'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>1,'fields'=>'ids','meta_query'=>[['key'=>'_p2p4me_record','compare'=>'EXISTS'],['key'=>'_p2p4me_history_current','compare'=>'NOT EXISTS']]]);
    3939 $backfill=get_option('p2p4me_backfill_status',[]);
    4040 p2p4me_dashboard_header('Overview');
  • p2p4me-publisher/tags/0.9.17/p2p4me.php

    r3838570 r3843323  
    33 * Plugin Name: p2p4me Publisher
    44 * Description: Decentralized information-object registration and local AI activity monitoring. Local IP verification with background provider-list updates. No payment processing.
    5  * Version: 0.9.16
     5 * Version: 0.9.17
    66 * Requires at least: 6.2
    77 * Requires PHP: 7.4
    … …  
    7171 register_rest_route('p2p4me/v1','/manifest',['methods'=>'GET','permission_callback'=>'__return_true','callback'=>function(){return ['protocol'=>'p2p4me','schema'=>'experimental-0.2','provider'=>home_url('/'),'objects'=>rest_url('p2p4me/v1/objects'),'object_template'=>rest_url('p2p4me/v1/objects/').'{post_id}','history_index_template'=>rest_url('p2p4me/v1/objects/').'{post_id}/versions','history_template'=>rest_url('p2p4me/v1/objects/').'{post_id}/versions/{version}','signed'=>(bool)p2p4me_key(),'keys'=>rest_url('p2p4me/v1/keys')];}]);
    7272 register_rest_route('p2p4me/v1','/objects/(?P<id>\d+)',['methods'=>'GET','permission_callback'=>'__return_true','callback'=>function($r){return p2p4me_public_record((int)$r['id']);}]);
    73  register_rest_route('p2p4me/v1','/objects',['methods'=>'GET','permission_callback'=>'__return_true','callback'=>function($r){if(!p2p4me_key())return new WP_Error('signing_unavailable','Signing key unavailable',['status'=>503]); $page=max(1,min(100000,(int)$r->get_param('page'))); $q=new WP_Query(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>true,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'meta_key'=>'_p2p4me_record','posts_per_page'=>50,'paged'=>$page,'fields'=>'ids','orderby'=>'ID','order'=>'ASC']); $items=[]; foreach($q->posts as $id){$v=p2p4me_public_record($id);if(is_wp_error($v))return $v; $items[]=$v;} return ['items'=>$items,'page'=>$page,'total_pages'=>$q->max_num_pages];}]);
     73 register_rest_route('p2p4me/v1','/objects',['methods'=>'GET','permission_callback'=>'__return_true','callback'=>function($r){if(!p2p4me_key())return new WP_Error('signing_unavailable','Signing key unavailable',['status'=>503]); $page=max(1,min(100000,(int)$r->get_param('page'))); $q=new WP_Query(['post_type'=>p2p4me_publication_types(),'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'meta_key'=>'_p2p4me_record','posts_per_page'=>50,'paged'=>$page,'fields'=>'ids','orderby'=>'ID','order'=>'ASC']); $items=[]; foreach($q->posts as $id){$v=p2p4me_public_record($id);if(is_wp_error($v))return $v; $items[]=$v;} return ['items'=>$items,'page'=>$page,'total_pages'=>$q->max_num_pages];}]);
    7474});
    7575add_action('admin_menu',function(){add_options_page('p2p4me','p2p4me','manage_options','p2p4me','p2p4me_admin');});
    … …  
    7777 if(!current_user_can('manage_options'))return;
    7878 if(isset($_POST['p2p4me_save'])){check_admin_referer('p2p4me_save');
    79 $selected=isset($_POST['p2p4me_publication_types'])&&is_array($_POST['p2p4me_publication_types'])?wp_unslash($_POST['p2p4me_publication_types']):[];
     79$selected=isset($_POST['p2p4me_publication_types'])&&is_array($_POST['p2p4me_publication_types'])?map_deep(wp_unslash($_POST['p2p4me_publication_types']),'sanitize_text_field'):[];
    8080$selected=array_map('sanitize_key',array_filter($selected,'is_string'));
    8181$selected=array_values(array_intersect(array_keys(p2p4me_available_publication_types()),$selected));
  • p2p4me-publisher/tags/0.9.17/readme.txt

    r3838570 r3843323  
    11=== p2p4me Publisher ===
    22Contributors: p2p4me
    3 Tags: AI, analytics, AI crawlers, publishing, content licensing
     3Tags: ai analytics, ai crawler, ai traffic, ai referrals, bot tracking
    44Requires at least: 6.2
    55Requires PHP: 7.4
    66Tested up to: 7.1
    7 Stable tag: 0.9.16
     7Stable tag: 0.9.17
    88License: GPL-2.0-or-later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 Free live AI crawler monitoring, AI referral tracking and publication registration. No account. No subscription. No premium features.
     11Free live AI traffic statistics, AI crawler tracking, AI referral analytics and automatic publication registration for WordPress.
    1212
    1313== Description ==
    1414
    15 = Fair Trade for Information. =
    16 
    17 **100% FREE. 100% YOURS.**
    18 
    19 Your information powers the web. Increasingly, it also powers artificial intelligence.
    20 
    21 But what do you actually know about how AI companies access your information?
    22 
    23 * Which AI crawlers are detected on your website?
    24 * How often do they access your publications?
    25 * Which publications attract the most AI activity?
    26 * How much traffic do AI platforms send back to your website?
    27 
    28 With p2p4me Publisher, you can start finding out today.
    29 
    30 All from your own WordPress dashboard.
     15**You create the content. AI platforms consume it. What do you get in return?**
     16
     17**p2p4me Publisher** provides free, live AI traffic analytics directly inside your WordPress dashboard, while preparing your publications for future commercial licensing through the open [p2p4me protocol](https://p2p4me.com/).
    3118
    3219= Know your AI audience — LIVE =
    3320
    34 Monitor locally observed AI crawler activity as it happens. Explore provider and agent statistics, discover your most accessed publications and track incoming referrals from AI platforms.
    35 
    36 **Live statistics. Your own dashboard. Your own data.**
    37 
    38 Filter, analyse and export your data whenever you want.
     21* **AI crawler tracking:** Discover which AI providers and agents access your website.
     22* **Publication statistics:** See which publications receive the most AI crawler requests.
     23* **AI referral tracking:** Discover how much identifiable traffic AI platforms send back to your website.
     24* **Data exports:** Filter, analyse and export your statistics in CSV and JSON format.
     25
     26Live statistics. Your own dashboard. Your own data.
     27
     28Completely free.
    3929
    4030= Give your information an identity =
    4131
    42 Automatically register your existing and future publications with unique publication identifiers, cryptographic fingerprints and digitally signed version records.
     32Automatically register your existing and future publications with unique, persistent identifiers, cryptographic fingerprints and digitally signed version records.
    4333
    4434No manual registration. No technical knowledge required.
    … …  
    5242p2p4me is building the foundations for an open information economy in which publishers and AI companies can agree on compensation for retrieving, retaining and using information.
    5343
    54 No mandatory marketplace. No exclusive agreements. No intermediary required by the protocol.
    55 
    56 Your information. Your terms. Your choice.
     44No mandatory marketplace. No exclusive agreements required. No intermediary required by the protocol.
     45
     46**Your information. Your terms. Your choice.**
    5747
    5848Commercial transactions and payments are not yet supported.
    … …  
    6151
    6252* Free and open source.
    63 * No external service required.
     53* No external account or service required.
    6454* No automatic transmission of your data to third-party services.
    6555* No crawler blocking or paywalls.
    6656* Your publication records and private signing key remain under your control.
    6757
    68 Publication records and public verification keys are made available through your own website.
    69 
    7058= Install. Activate. You're done. =
    7159
    … …  
    8068= Features =
    8169
    82 * Live local AI crawler observations, provider and agent statistics, filters, CSV and JSON exports, and origin response fingerprints.
    83 * AI referral counts by platform and publication, with CSV and JSON exports. Referral totals are stored locally by UTC day, platform and post; no raw referrer, IP address or cookie is stored by this feature. Cached requests and missing referrers may be missed.
    84 * Automatic registration of existing and new public posts, with optional additional public publication types in Settings.
     70* Live local AI crawler observations, provider and agent statistics, filters and CSV/JSON exports.
     71* AI referral analytics by platform and publication, with CSV/JSON exports.
     72* Origin response fingerprints.
     73* Automatic registration of existing and new public posts, with optional additional public publication types.
    8574* Unique, persistent publication identifiers.
    86 * Cryptographic content fingerprints (SHA-256).
    87 * Digital signatures (Ed25519).
     75* SHA-256 content fingerprints.
     76* Ed25519 digital signatures.
    8877* Automatic version registration and archiving.
    89 * Publicly verifiable publication records via REST API.
    90 * Machine-readable provenance metadata in public posts.
     78* Publicly verifiable publication records and public verification keys via REST API.
     79* Machine-readable provenance metadata.
     80* Automatic background processing.
    9181* Experimental licensing protocol support retained; public pricing offers are currently suspended.
    92 * Automatic background processing.
    93 
    94 AI activity is based on locally observed requests and claimed user-agent identities, with IP matching where available. Cached requests may be missed. Origin response fingerprints do not prove receipt or subsequent use by an AI provider.
    9582
    9683== Installation ==
    … …  
    10693== Frequently Asked Questions ==
    10794
    108 = Is p2p4me Publisher free? =
    109 
    110 Yes. All current plugin features are free. No account, subscription, registration fee or premium features.
    111 
    112 = Does registering my publications create any financial or contractual obligations? =
    113 
    114 No. Registration is free and does not create any financial or contractual obligations.
    115 
    116 You remain in control of your licensing terms and commercial relationships. Experimental pricing offers are currently suspended and do not establish agreements. Previously stored pricing settings are retained locally; historical signed snapshots are unchanged.
    117 
    118 = What do live AI statistics measure? =
    119 
    120 The dashboard shows locally recorded AI crawler activity and detected AI referrals. Statistics reflect recorded observations as the dashboard refreshes or is reloaded; they are not a complete measure of AI activity or information use. Cached requests may be missed.
    121 
    122 = Are AI crawler identities verified? =
    123 
    124 Crawler detection uses recognized user-agent claims. IP matching against supported provider lists is available where the necessary information is present. A user-agent claim alone does not authenticate a crawler. Origin response fingerprints do not prove that a provider received, retained or used the information.
    125 
    126 = What are AI referrals? =
    127 
    128 AI referrals are incoming requests with recognized AI platform referrers. Counts are not unique visitors or proof of a citation or payment. Missing referrers and cached requests may be missed. The feature stores daily aggregate counts locally, without raw referrers, IP addresses or cookies.
    129 
    130 = Can I register other publication types? =
    131 
    132 Public posts are enabled by default. Additional supported public publication types can be enabled in Settings, including pages, events, venues and organizers. Disabling an optional type retains stored records but hides public discovery for that type.
    133 
    134 = Does this plugin block AI crawlers? =
    135 
    136 No. p2p4me Publisher does not block crawlers, restrict access, create paywalls or enforce copyright.
     95= Is p2p4me Publisher really free? =
     96
     97Yes. All currently available features are free and open source. No subscriptions, premium upgrades or mandatory external accounts.
     98
     99= How can I monitor AI bot traffic on my WordPress website? =
     100
     101Install and activate p2p4me Publisher. The plugin automatically records locally observed requests from recognized AI agents associated with providers such as OpenAI, Anthropic, Perplexity and Google. View them in the AI Activity dashboard.
     102
     103= What do AI traffic statistics actually measure? =
     104
     105Locally observed requests, based on claimed user-agent identities and IP matching where available. Cached requests and unrecognized agents may be missed. These statistics do not prove subsequent AI training, retention or use.
     106
     107= Can I track referrals from ChatGPT and other AI platforms? =
     108
     109Yes, where recognizable referral information is available. The AI Referrals dashboard shows incoming requests by platform and publication. Visits without recognizable referral information may be missed.
    137110
    138111= Is my data sent to external servers? =
    139112
    140 The plugin does not automatically transmit data to external services. Registration records and cryptographic keys are stored locally. Public registration records and public verification keys can be accessed through your website without authentication.
    141 
    142 Your private signing key is not published. Protect your database and backups because they contain the private signing key.
    143 
    144 = Can I receive payments from AI companies right now? =
    145 
    146 No. Commercial transactions and payments are not currently supported by this plugin.
    147 
    148 = What happens to my existing publications? =
    149 
    150 Existing public, non-password-protected posts are automatically registered and archived in the background. No manual registration is required.
    151 
    152 = What happens when I update a publication? =
    153 
    154 Changes to registered publication content are recorded as new versions. Previously archived registration records remain available for verification while the post remains public and non-password-protected. Snapshots contain metadata, not copies of article bodies. Publication fingerprints cover raw title, content and excerpt, not rendered HTML or media. For supported The Events Calendar events, venues and organizers, they also include selected metadata.
    155 
    156 = Does registration prove copyright ownership? =
    157 
    158 No. Registration provides cryptographically verifiable publication records. It does not establish copyright ownership, provide a trusted timestamp or guarantee the accuracy of information.
     113No automatic transmission of your data to third-party services takes place. Statistics and publication records are stored locally. Public publication records and verification keys are available through your own website.
     114
     115The AI Referrals feature stores daily totals by UTC day, platform and publication, without storing raw referrers, IP addresses or cookies.
     116
     117Protect your database and backups because they contain the private signing key.
     118
     119= Does the plugin block AI crawlers? =
     120
     121No. Your content remains accessible as before.
     122
     123= What happens to my existing and future publications? =
     124
     125Eligible publications are registered automatically. When a qualifying content change occurs, a new signed version record is created while the persistent publication identifier is preserved.
     126
     127Additional eligible public publication types can be enabled in Settings. Snapshots contain metadata, not copies of article bodies. Fingerprints cover raw title, content and excerpt, with selected metadata for supported additional types, not rendered HTML or media.
     128
     129= Does registration prove copyright ownership or AI usage? =
     130
     131No. Cryptographic fingerprints and digital signatures establish verifiable technical records, not copyright ownership, authorship or a trusted timestamp. Origin response fingerprints do not prove receipt or subsequent use by an AI provider.
     132
     133= Does registration create financial or contractual obligations? =
     134
     135No. Registration does not create a licensing agreement or payment obligation. Previously stored pricing settings are retained locally; historical signed snapshots are unchanged.
     136
     137= Can I receive payments from AI companies? =
     138
     139Not yet. The open p2p4me protocol is being developed to facilitate independent commercial agreements for retrieving, retaining and using information.
     140
     141= What happens when I move domains or deactivate the plugin? =
     142
     143Signing fails closed when the stored key does not match the domain. Key rotation and recovery are not implemented. Do not clone signing keys to other domains.
     144
     145Deactivation does not delete existing publication records. The plugin has no automatic uninstall cleanup. Deleting a post removes its metadata through WordPress. Public history is hidden when a post is unpublished or password protected.
    159146
    160147= Is p2p4me an open protocol? =
    161148
    162 Yes. The protocol is designed to be freely and independently implementable, without requiring a particular platform, company or commercial service.
    163 
    164 = What happens when I move domains? =
    165 
    166 Signing fails closed when the stored key does not match the domain. Key rotation and recovery are not implemented. Do not clone signing keys to other domains.
    167 
    168 = Does deactivation delete records? =
    169 
    170 No. The plugin has no automatic uninstall cleanup. Deleting a post removes its metadata through WordPress. Public history is hidden when a post is unpublished or password protected.
    171 
    172 = Are there limitations? =
     149Yes. Publishers and information consumers can participate independently, without a mandatory marketplace or intermediary.
     150
     151Learn more at [p2p4me.com](https://p2p4me.com/).
     152
     153= Are there technical limitations? =
    173154
    174155Concurrent writes are not transactionally protected. Full-page caches may serve stale metadata. Failed archive writes can be retried by saving an unchanged post or by the automatic background worker. Historical records are not reconstructed. The protocol and wire formats are experimental. No financial settlement is implemented.
    … …  
    176157== Screenshots ==
    177158
    178 1. Overview of publication registration, archived versions and AI activity.
    179 2. AI Activity with crawler statistics, provider breakdown and filtering.
    180 3. AI Referrals with incoming requests and platform statistics.
    181 4. Publication register with version history, verification records and export options.
    182 5. Earnings preview. Commercial functionality is not yet available.
    183 6. Settings for publication types and automatic background registration.
     1591. Overview — publication registration, archived versions and AI activity.
     1602. AI Activity — live crawler statistics, provider breakdown and filtering.
     1613. AI Referrals — incoming referral traffic by platform and publication.
     1624. Publications — publication register, version history and verification records.
     1635. Earnings — preview of future commercial functionality.
     1646. Settings — publication types and automatic background registration.
    184165
    185166== Changelog ==
     167
     168= 0.9.17 =
     169* Maintenance release: allow WordPress query filters while retaining TEC-specific query handling; sanitize publication type settings.
     170* Update the plugin description, FAQ, screenshot captions and discovery tags.
    186171
    187172= 0.9.16 =
  • p2p4me-publisher/trunk/backfill.php

    r3838570 r3843323  
    2121 try{
    2222  $start=microtime(true); $failed=0; $processed=0;
    23   $ids=get_posts(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>true,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>p2p4me_backfill_limit(),'fields'=>'ids','orderby'=>'ID','order'=>'ASC','meta_query'=>['relation'=>'OR',['key'=>'_p2p4me_record','compare'=>'NOT EXISTS'],['key'=>'_p2p4me_history_current','compare'=>'NOT EXISTS']]]);
     23  $ids=get_posts(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>false,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>p2p4me_backfill_limit(),'fields'=>'ids','orderby'=>'ID','order'=>'ASC','meta_query'=>['relation'=>'OR',['key'=>'_p2p4me_record','compare'=>'NOT EXISTS'],['key'=>'_p2p4me_history_current','compare'=>'NOT EXISTS']]]);
    2424  foreach($ids as $id){
    2525   if(microtime(true)-$start>10)break;
  • p2p4me-publisher/trunk/dashboard.php

    r3838570 r3843323  
    1414});
    1515function p2p4me_dashboard_query($extra=[]){
    16  return new WP_Query(array_merge(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>true,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>10,'meta_key'=>'_p2p4me_record','orderby'=>'date','order'=>'DESC'], $extra));
     16 return new WP_Query(array_merge(['post_type'=>p2p4me_publication_types(),'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>10,'meta_key'=>'_p2p4me_record','orderby'=>'date','order'=>'DESC'], $extra));
    1717}
    1818function p2p4me_dashboard_header($title){
    … …  
    3535 }
    3636 // Count eligible posts without a postmeta join; subtract registered posts below.
    37  $eligible=new WP_Query(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>true,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>1,'fields'=>'ids']);
    38  $missing=new WP_Query(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>true,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>1,'fields'=>'ids','meta_query'=>[['key'=>'_p2p4me_record','compare'=>'EXISTS'],['key'=>'_p2p4me_history_current','compare'=>'NOT EXISTS']]]);
     37 $eligible=new WP_Query(['post_type'=>p2p4me_publication_types(),'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>1,'fields'=>'ids']);
     38 $missing=new WP_Query(['post_type'=>p2p4me_publication_types(),'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'posts_per_page'=>1,'fields'=>'ids','meta_query'=>[['key'=>'_p2p4me_record','compare'=>'EXISTS'],['key'=>'_p2p4me_history_current','compare'=>'NOT EXISTS']]]);
    3939 $backfill=get_option('p2p4me_backfill_status',[]);
    4040 p2p4me_dashboard_header('Overview');
  • p2p4me-publisher/trunk/p2p4me.php

    r3838570 r3843323  
    33 * Plugin Name: p2p4me Publisher
    44 * Description: Decentralized information-object registration and local AI activity monitoring. Local IP verification with background provider-list updates. No payment processing.
    5  * Version: 0.9.16
     5 * Version: 0.9.17
    66 * Requires at least: 6.2
    77 * Requires PHP: 7.4
    … …  
    7171 register_rest_route('p2p4me/v1','/manifest',['methods'=>'GET','permission_callback'=>'__return_true','callback'=>function(){return ['protocol'=>'p2p4me','schema'=>'experimental-0.2','provider'=>home_url('/'),'objects'=>rest_url('p2p4me/v1/objects'),'object_template'=>rest_url('p2p4me/v1/objects/').'{post_id}','history_index_template'=>rest_url('p2p4me/v1/objects/').'{post_id}/versions','history_template'=>rest_url('p2p4me/v1/objects/').'{post_id}/versions/{version}','signed'=>(bool)p2p4me_key(),'keys'=>rest_url('p2p4me/v1/keys')];}]);
    7272 register_rest_route('p2p4me/v1','/objects/(?P<id>\d+)',['methods'=>'GET','permission_callback'=>'__return_true','callback'=>function($r){return p2p4me_public_record((int)$r['id']);}]);
    73  register_rest_route('p2p4me/v1','/objects',['methods'=>'GET','permission_callback'=>'__return_true','callback'=>function($r){if(!p2p4me_key())return new WP_Error('signing_unavailable','Signing key unavailable',['status'=>503]); $page=max(1,min(100000,(int)$r->get_param('page'))); $q=new WP_Query(['post_type'=>p2p4me_publication_types(),'suppress_filters'=>true,'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'meta_key'=>'_p2p4me_record','posts_per_page'=>50,'paged'=>$page,'fields'=>'ids','orderby'=>'ID','order'=>'ASC']); $items=[]; foreach($q->posts as $id){$v=p2p4me_public_record($id);if(is_wp_error($v))return $v; $items[]=$v;} return ['items'=>$items,'page'=>$page,'total_pages'=>$q->max_num_pages];}]);
     73 register_rest_route('p2p4me/v1','/objects',['methods'=>'GET','permission_callback'=>'__return_true','callback'=>function($r){if(!p2p4me_key())return new WP_Error('signing_unavailable','Signing key unavailable',['status'=>503]); $page=max(1,min(100000,(int)$r->get_param('page'))); $q=new WP_Query(['post_type'=>p2p4me_publication_types(),'tribe_suppress_query_filters'=>true,'post_status'=>'publish','has_password'=>false,'meta_key'=>'_p2p4me_record','posts_per_page'=>50,'paged'=>$page,'fields'=>'ids','orderby'=>'ID','order'=>'ASC']); $items=[]; foreach($q->posts as $id){$v=p2p4me_public_record($id);if(is_wp_error($v))return $v; $items[]=$v;} return ['items'=>$items,'page'=>$page,'total_pages'=>$q->max_num_pages];}]);
    7474});
    7575add_action('admin_menu',function(){add_options_page('p2p4me','p2p4me','manage_options','p2p4me','p2p4me_admin');});
    … …  
    7777 if(!current_user_can('manage_options'))return;
    7878 if(isset($_POST['p2p4me_save'])){check_admin_referer('p2p4me_save');
    79 $selected=isset($_POST['p2p4me_publication_types'])&&is_array($_POST['p2p4me_publication_types'])?wp_unslash($_POST['p2p4me_publication_types']):[];
     79$selected=isset($_POST['p2p4me_publication_types'])&&is_array($_POST['p2p4me_publication_types'])?map_deep(wp_unslash($_POST['p2p4me_publication_types']),'sanitize_text_field'):[];
    8080$selected=array_map('sanitize_key',array_filter($selected,'is_string'));
    8181$selected=array_values(array_intersect(array_keys(p2p4me_available_publication_types()),$selected));
  • p2p4me-publisher/trunk/readme.txt

    r3838570 r3843323  
    11=== p2p4me Publisher ===
    22Contributors: p2p4me
    3 Tags: AI, analytics, AI crawlers, publishing, content licensing
     3Tags: ai analytics, ai crawler, ai traffic, ai referrals, bot tracking
    44Requires at least: 6.2
    55Requires PHP: 7.4
    66Tested up to: 7.1
    7 Stable tag: 0.9.16
     7Stable tag: 0.9.17
    88License: GPL-2.0-or-later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 Free live AI crawler monitoring, AI referral tracking and publication registration. No account. No subscription. No premium features.
     11Free live AI traffic statistics, AI crawler tracking, AI referral analytics and automatic publication registration for WordPress.
    1212
    1313== Description ==
    1414
    15 = Fair Trade for Information. =
    16 
    17 **100% FREE. 100% YOURS.**
    18 
    19 Your information powers the web. Increasingly, it also powers artificial intelligence.
    20 
    21 But what do you actually know about how AI companies access your information?
    22 
    23 * Which AI crawlers are detected on your website?
    24 * How often do they access your publications?
    25 * Which publications attract the most AI activity?
    26 * How much traffic do AI platforms send back to your website?
    27 
    28 With p2p4me Publisher, you can start finding out today.
    29 
    30 All from your own WordPress dashboard.
     15**You create the content. AI platforms consume it. What do you get in return?**
     16
     17**p2p4me Publisher** provides free, live AI traffic analytics directly inside your WordPress dashboard, while preparing your publications for future commercial licensing through the open [p2p4me protocol](https://p2p4me.com/).
    3118
    3219= Know your AI audience — LIVE =
    3320
    34 Monitor locally observed AI crawler activity as it happens. Explore provider and agent statistics, discover your most accessed publications and track incoming referrals from AI platforms.
    35 
    36 **Live statistics. Your own dashboard. Your own data.**
    37 
    38 Filter, analyse and export your data whenever you want.
     21* **AI crawler tracking:** Discover which AI providers and agents access your website.
     22* **Publication statistics:** See which publications receive the most AI crawler requests.
     23* **AI referral tracking:** Discover how much identifiable traffic AI platforms send back to your website.
     24* **Data exports:** Filter, analyse and export your statistics in CSV and JSON format.
     25
     26Live statistics. Your own dashboard. Your own data.
     27
     28Completely free.
    3929
    4030= Give your information an identity =
    4131
    42 Automatically register your existing and future publications with unique publication identifiers, cryptographic fingerprints and digitally signed version records.
     32Automatically register your existing and future publications with unique, persistent identifiers, cryptographic fingerprints and digitally signed version records.
    4333
    4434No manual registration. No technical knowledge required.
    … …  
    5242p2p4me is building the foundations for an open information economy in which publishers and AI companies can agree on compensation for retrieving, retaining and using information.
    5343
    54 No mandatory marketplace. No exclusive agreements. No intermediary required by the protocol.
    55 
    56 Your information. Your terms. Your choice.
     44No mandatory marketplace. No exclusive agreements required. No intermediary required by the protocol.
     45
     46**Your information. Your terms. Your choice.**
    5747
    5848Commercial transactions and payments are not yet supported.
    … …  
    6151
    6252* Free and open source.
    63 * No external service required.
     53* No external account or service required.
    6454* No automatic transmission of your data to third-party services.
    6555* No crawler blocking or paywalls.
    6656* Your publication records and private signing key remain under your control.
    6757
    68 Publication records and public verification keys are made available through your own website.
    69 
    7058= Install. Activate. You're done. =
    7159
    … …  
    8068= Features =
    8169
    82 * Live local AI crawler observations, provider and agent statistics, filters, CSV and JSON exports, and origin response fingerprints.
    83 * AI referral counts by platform and publication, with CSV and JSON exports. Referral totals are stored locally by UTC day, platform and post; no raw referrer, IP address or cookie is stored by this feature. Cached requests and missing referrers may be missed.
    84 * Automatic registration of existing and new public posts, with optional additional public publication types in Settings.
     70* Live local AI crawler observations, provider and agent statistics, filters and CSV/JSON exports.
     71* AI referral analytics by platform and publication, with CSV/JSON exports.
     72* Origin response fingerprints.
     73* Automatic registration of existing and new public posts, with optional additional public publication types.
    8574* Unique, persistent publication identifiers.
    86 * Cryptographic content fingerprints (SHA-256).
    87 * Digital signatures (Ed25519).
     75* SHA-256 content fingerprints.
     76* Ed25519 digital signatures.
    8877* Automatic version registration and archiving.
    89 * Publicly verifiable publication records via REST API.
    90 * Machine-readable provenance metadata in public posts.
     78* Publicly verifiable publication records and public verification keys via REST API.
     79* Machine-readable provenance metadata.
     80* Automatic background processing.
    9181* Experimental licensing protocol support retained; public pricing offers are currently suspended.
    92 * Automatic background processing.
    93 
    94 AI activity is based on locally observed requests and claimed user-agent identities, with IP matching where available. Cached requests may be missed. Origin response fingerprints do not prove receipt or subsequent use by an AI provider.
    9582
    9683== Installation ==
    … …  
    10693== Frequently Asked Questions ==
    10794
    108 = Is p2p4me Publisher free? =
    109 
    110 Yes. All current plugin features are free. No account, subscription, registration fee or premium features.
    111 
    112 = Does registering my publications create any financial or contractual obligations? =
    113 
    114 No. Registration is free and does not create any financial or contractual obligations.
    115 
    116 You remain in control of your licensing terms and commercial relationships. Experimental pricing offers are currently suspended and do not establish agreements. Previously stored pricing settings are retained locally; historical signed snapshots are unchanged.
    117 
    118 = What do live AI statistics measure? =
    119 
    120 The dashboard shows locally recorded AI crawler activity and detected AI referrals. Statistics reflect recorded observations as the dashboard refreshes or is reloaded; they are not a complete measure of AI activity or information use. Cached requests may be missed.
    121 
    122 = Are AI crawler identities verified? =
    123 
    124 Crawler detection uses recognized user-agent claims. IP matching against supported provider lists is available where the necessary information is present. A user-agent claim alone does not authenticate a crawler. Origin response fingerprints do not prove that a provider received, retained or used the information.
    125 
    126 = What are AI referrals? =
    127 
    128 AI referrals are incoming requests with recognized AI platform referrers. Counts are not unique visitors or proof of a citation or payment. Missing referrers and cached requests may be missed. The feature stores daily aggregate counts locally, without raw referrers, IP addresses or cookies.
    129 
    130 = Can I register other publication types? =
    131 
    132 Public posts are enabled by default. Additional supported public publication types can be enabled in Settings, including pages, events, venues and organizers. Disabling an optional type retains stored records but hides public discovery for that type.
    133 
    134 = Does this plugin block AI crawlers? =
    135 
    136 No. p2p4me Publisher does not block crawlers, restrict access, create paywalls or enforce copyright.
     95= Is p2p4me Publisher really free? =
     96
     97Yes. All currently available features are free and open source. No subscriptions, premium upgrades or mandatory external accounts.
     98
     99= How can I monitor AI bot traffic on my WordPress website? =
     100
     101Install and activate p2p4me Publisher. The plugin automatically records locally observed requests from recognized AI agents associated with providers such as OpenAI, Anthropic, Perplexity and Google. View them in the AI Activity dashboard.
     102
     103= What do AI traffic statistics actually measure? =
     104
     105Locally observed requests, based on claimed user-agent identities and IP matching where available. Cached requests and unrecognized agents may be missed. These statistics do not prove subsequent AI training, retention or use.
     106
     107= Can I track referrals from ChatGPT and other AI platforms? =
     108
     109Yes, where recognizable referral information is available. The AI Referrals dashboard shows incoming requests by platform and publication. Visits without recognizable referral information may be missed.
    137110
    138111= Is my data sent to external servers? =
    139112
    140 The plugin does not automatically transmit data to external services. Registration records and cryptographic keys are stored locally. Public registration records and public verification keys can be accessed through your website without authentication.
    141 
    142 Your private signing key is not published. Protect your database and backups because they contain the private signing key.
    143 
    144 = Can I receive payments from AI companies right now? =
    145 
    146 No. Commercial transactions and payments are not currently supported by this plugin.
    147 
    148 = What happens to my existing publications? =
    149 
    150 Existing public, non-password-protected posts are automatically registered and archived in the background. No manual registration is required.
    151 
    152 = What happens when I update a publication? =
    153 
    154 Changes to registered publication content are recorded as new versions. Previously archived registration records remain available for verification while the post remains public and non-password-protected. Snapshots contain metadata, not copies of article bodies. Publication fingerprints cover raw title, content and excerpt, not rendered HTML or media. For supported The Events Calendar events, venues and organizers, they also include selected metadata.
    155 
    156 = Does registration prove copyright ownership? =
    157 
    158 No. Registration provides cryptographically verifiable publication records. It does not establish copyright ownership, provide a trusted timestamp or guarantee the accuracy of information.
     113No automatic transmission of your data to third-party services takes place. Statistics and publication records are stored locally. Public publication records and verification keys are available through your own website.
     114
     115The AI Referrals feature stores daily totals by UTC day, platform and publication, without storing raw referrers, IP addresses or cookies.
     116
     117Protect your database and backups because they contain the private signing key.
     118
     119= Does the plugin block AI crawlers? =
     120
     121No. Your content remains accessible as before.
     122
     123= What happens to my existing and future publications? =
     124
     125Eligible publications are registered automatically. When a qualifying content change occurs, a new signed version record is created while the persistent publication identifier is preserved.
     126
     127Additional eligible public publication types can be enabled in Settings. Snapshots contain metadata, not copies of article bodies. Fingerprints cover raw title, content and excerpt, with selected metadata for supported additional types, not rendered HTML or media.
     128
     129= Does registration prove copyright ownership or AI usage? =
     130
     131No. Cryptographic fingerprints and digital signatures establish verifiable technical records, not copyright ownership, authorship or a trusted timestamp. Origin response fingerprints do not prove receipt or subsequent use by an AI provider.
     132
     133= Does registration create financial or contractual obligations? =
     134
     135No. Registration does not create a licensing agreement or payment obligation. Previously stored pricing settings are retained locally; historical signed snapshots are unchanged.
     136
     137= Can I receive payments from AI companies? =
     138
     139Not yet. The open p2p4me protocol is being developed to facilitate independent commercial agreements for retrieving, retaining and using information.
     140
     141= What happens when I move domains or deactivate the plugin? =
     142
     143Signing fails closed when the stored key does not match the domain. Key rotation and recovery are not implemented. Do not clone signing keys to other domains.
     144
     145Deactivation does not delete existing publication records. The plugin has no automatic uninstall cleanup. Deleting a post removes its metadata through WordPress. Public history is hidden when a post is unpublished or password protected.
    159146
    160147= Is p2p4me an open protocol? =
    161148
    162 Yes. The protocol is designed to be freely and independently implementable, without requiring a particular platform, company or commercial service.
    163 
    164 = What happens when I move domains? =
    165 
    166 Signing fails closed when the stored key does not match the domain. Key rotation and recovery are not implemented. Do not clone signing keys to other domains.
    167 
    168 = Does deactivation delete records? =
    169 
    170 No. The plugin has no automatic uninstall cleanup. Deleting a post removes its metadata through WordPress. Public history is hidden when a post is unpublished or password protected.
    171 
    172 = Are there limitations? =
     149Yes. Publishers and information consumers can participate independently, without a mandatory marketplace or intermediary.
     150
     151Learn more at [p2p4me.com](https://p2p4me.com/).
     152
     153= Are there technical limitations? =
    173154
    174155Concurrent writes are not transactionally protected. Full-page caches may serve stale metadata. Failed archive writes can be retried by saving an unchanged post or by the automatic background worker. Historical records are not reconstructed. The protocol and wire formats are experimental. No financial settlement is implemented.
    … …  
    176157== Screenshots ==
    177158
    178 1. Overview of publication registration, archived versions and AI activity.
    179 2. AI Activity with crawler statistics, provider breakdown and filtering.
    180 3. AI Referrals with incoming requests and platform statistics.
    181 4. Publication register with version history, verification records and export options.
    182 5. Earnings preview. Commercial functionality is not yet available.
    183 6. Settings for publication types and automatic background registration.
     1591. Overview — publication registration, archived versions and AI activity.
     1602. AI Activity — live crawler statistics, provider breakdown and filtering.
     1613. AI Referrals — incoming referral traffic by platform and publication.
     1624. Publications — publication register, version history and verification records.
     1635. Earnings — preview of future commercial functionality.
     1646. Settings — publication types and automatic background registration.
    184165
    185166== Changelog ==
     167
     168= 0.9.17 =
     169* Maintenance release: allow WordPress query filters while retaining TEC-specific query handling; sanitize publication type settings.
     170* Update the plugin description, FAQ, screenshot captions and discovery tags.
    186171
    187172= 0.9.16 =
Note: See TracChangeset for help on using the changeset viewer.