Changeset 3843323
- Timestamp:
- 12/03/2026 08:17:34 PM (2 hours ago)
- Location:
- p2p4me-publisher
- Files:
-
- 8 edited
- 1 copied
-
tags/0.9.17 (copied) (copied from p2p4me-publisher/trunk )
-
tags/0.9.17/backfill.php (modified) (1 diff)
-
tags/0.9.17/dashboard.php (modified) (2 diffs)
-
tags/0.9.17/p2p4me.php (modified) (3 diffs)
-
tags/0.9.17/readme.txt (modified) (6 diffs)
-
trunk/backfill.php (modified) (1 diff)
-
trunk/dashboard.php (modified) (2 diffs)
-
trunk/p2p4me.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
p2p4me-publisher/tags/0.9.17/backfill.php
r3838570 r3843323 21 21 try{ 22 22 $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']]]); 24 24 foreach($ids as $id){ 25 25 if(microtime(true)-$start>10)break; -
p2p4me-publisher/tags/0.9.17/dashboard.php
r3838570 r3843323 14 14 }); 15 15 function 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)); 17 17 } 18 18 function p2p4me_dashboard_header($title){ … … 35 35 } 36 36 // 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']]]); 39 39 $backfill=get_option('p2p4me_backfill_status',[]); 40 40 p2p4me_dashboard_header('Overview'); -
p2p4me-publisher/tags/0.9.17/p2p4me.php
r3838570 r3843323 3 3 * Plugin Name: p2p4me Publisher 4 4 * 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.1 65 * Version: 0.9.17 6 6 * Requires at least: 6.2 7 7 * Requires PHP: 7.4 … … 71 71 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')];}]); 72 72 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];}]); 74 74 }); 75 75 add_action('admin_menu',function(){add_options_page('p2p4me','p2p4me','manage_options','p2p4me','p2p4me_admin');}); … … 77 77 if(!current_user_can('manage_options'))return; 78 78 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'):[]; 80 80 $selected=array_map('sanitize_key',array_filter($selected,'is_string')); 81 81 $selected=array_values(array_intersect(array_keys(p2p4me_available_publication_types()),$selected)); -
p2p4me-publisher/tags/0.9.17/readme.txt
r3838570 r3843323 1 1 === p2p4me Publisher === 2 2 Contributors: p2p4me 3 Tags: AI, analytics, AI crawlers, publishing, content licensing3 Tags: ai analytics, ai crawler, ai traffic, ai referrals, bot tracking 4 4 Requires at least: 6.2 5 5 Requires PHP: 7.4 6 6 Tested up to: 7.1 7 Stable tag: 0.9.1 67 Stable tag: 0.9.17 8 8 License: GPL-2.0-or-later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Free live AI crawler monitoring, AI referral tracking and publication registration. No account. No subscription. No premium features.11 Free live AI traffic statistics, AI crawler tracking, AI referral analytics and automatic publication registration for WordPress. 12 12 13 13 == Description == 14 14 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/). 31 18 32 19 = Know your AI audience — LIVE = 33 20 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 26 Live statistics. Your own dashboard. Your own data. 27 28 Completely free. 39 29 40 30 = Give your information an identity = 41 31 42 Automatically register your existing and future publications with unique publicationidentifiers, cryptographic fingerprints and digitally signed version records.32 Automatically register your existing and future publications with unique, persistent identifiers, cryptographic fingerprints and digitally signed version records. 43 33 44 34 No manual registration. No technical knowledge required. … … 52 42 p2p4me 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. 53 43 54 No mandatory marketplace. No exclusive agreements . No intermediary required by the protocol.55 56 Your information. Your terms. Your choice. 44 No mandatory marketplace. No exclusive agreements required. No intermediary required by the protocol. 45 46 **Your information. Your terms. Your choice.** 57 47 58 48 Commercial transactions and payments are not yet supported. … … 61 51 62 52 * Free and open source. 63 * No external service required.53 * No external account or service required. 64 54 * No automatic transmission of your data to third-party services. 65 55 * No crawler blocking or paywalls. 66 56 * Your publication records and private signing key remain under your control. 67 57 68 Publication records and public verification keys are made available through your own website.69 70 58 = Install. Activate. You're done. = 71 59 … … 80 68 = Features = 81 69 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. 85 74 * Unique, persistent publication identifiers. 86 * Cryptographic content fingerprints (SHA-256).87 * Digital signatures (Ed25519).75 * SHA-256 content fingerprints. 76 * Ed25519 digital signatures. 88 77 * 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. 91 81 * 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.95 82 96 83 == Installation == … … 106 93 == Frequently Asked Questions == 107 94 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 97 Yes. 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 101 Install 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 105 Locally 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 109 Yes, 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. 137 110 138 111 = Is my data sent to external servers? = 139 112 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. 113 No 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 115 The AI Referrals feature stores daily totals by UTC day, platform and publication, without storing raw referrers, IP addresses or cookies. 116 117 Protect your database and backups because they contain the private signing key. 118 119 = Does the plugin block AI crawlers? = 120 121 No. Your content remains accessible as before. 122 123 = What happens to my existing and future publications? = 124 125 Eligible 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 127 Additional 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 131 No. 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 135 No. 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 139 Not 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 143 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. 144 145 Deactivation 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. 159 146 160 147 = Is p2p4me an open protocol? = 161 148 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? = 149 Yes. Publishers and information consumers can participate independently, without a mandatory marketplace or intermediary. 150 151 Learn more at [p2p4me.com](https://p2p4me.com/). 152 153 = Are there technical limitations? = 173 154 174 155 Concurrent 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. … … 176 157 == Screenshots == 177 158 178 1. Overview ofpublication registration, archived versions and AI activity.179 2. AI Activity withcrawler 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 forpublication types and automatic background registration.159 1. Overview — publication registration, archived versions and AI activity. 160 2. AI Activity — live crawler statistics, provider breakdown and filtering. 161 3. AI Referrals — incoming referral traffic by platform and publication. 162 4. Publications — publication register, version history and verification records. 163 5. Earnings — preview of future commercial functionality. 164 6. Settings — publication types and automatic background registration. 184 165 185 166 == 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. 186 171 187 172 = 0.9.16 = -
p2p4me-publisher/trunk/backfill.php
r3838570 r3843323 21 21 try{ 22 22 $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']]]); 24 24 foreach($ids as $id){ 25 25 if(microtime(true)-$start>10)break; -
p2p4me-publisher/trunk/dashboard.php
r3838570 r3843323 14 14 }); 15 15 function 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)); 17 17 } 18 18 function p2p4me_dashboard_header($title){ … … 35 35 } 36 36 // 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']]]); 39 39 $backfill=get_option('p2p4me_backfill_status',[]); 40 40 p2p4me_dashboard_header('Overview'); -
p2p4me-publisher/trunk/p2p4me.php
r3838570 r3843323 3 3 * Plugin Name: p2p4me Publisher 4 4 * 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.1 65 * Version: 0.9.17 6 6 * Requires at least: 6.2 7 7 * Requires PHP: 7.4 … … 71 71 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')];}]); 72 72 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];}]); 74 74 }); 75 75 add_action('admin_menu',function(){add_options_page('p2p4me','p2p4me','manage_options','p2p4me','p2p4me_admin');}); … … 77 77 if(!current_user_can('manage_options'))return; 78 78 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'):[]; 80 80 $selected=array_map('sanitize_key',array_filter($selected,'is_string')); 81 81 $selected=array_values(array_intersect(array_keys(p2p4me_available_publication_types()),$selected)); -
p2p4me-publisher/trunk/readme.txt
r3838570 r3843323 1 1 === p2p4me Publisher === 2 2 Contributors: p2p4me 3 Tags: AI, analytics, AI crawlers, publishing, content licensing3 Tags: ai analytics, ai crawler, ai traffic, ai referrals, bot tracking 4 4 Requires at least: 6.2 5 5 Requires PHP: 7.4 6 6 Tested up to: 7.1 7 Stable tag: 0.9.1 67 Stable tag: 0.9.17 8 8 License: GPL-2.0-or-later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Free live AI crawler monitoring, AI referral tracking and publication registration. No account. No subscription. No premium features.11 Free live AI traffic statistics, AI crawler tracking, AI referral analytics and automatic publication registration for WordPress. 12 12 13 13 == Description == 14 14 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/). 31 18 32 19 = Know your AI audience — LIVE = 33 20 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 26 Live statistics. Your own dashboard. Your own data. 27 28 Completely free. 39 29 40 30 = Give your information an identity = 41 31 42 Automatically register your existing and future publications with unique publicationidentifiers, cryptographic fingerprints and digitally signed version records.32 Automatically register your existing and future publications with unique, persistent identifiers, cryptographic fingerprints and digitally signed version records. 43 33 44 34 No manual registration. No technical knowledge required. … … 52 42 p2p4me 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. 53 43 54 No mandatory marketplace. No exclusive agreements . No intermediary required by the protocol.55 56 Your information. Your terms. Your choice. 44 No mandatory marketplace. No exclusive agreements required. No intermediary required by the protocol. 45 46 **Your information. Your terms. Your choice.** 57 47 58 48 Commercial transactions and payments are not yet supported. … … 61 51 62 52 * Free and open source. 63 * No external service required.53 * No external account or service required. 64 54 * No automatic transmission of your data to third-party services. 65 55 * No crawler blocking or paywalls. 66 56 * Your publication records and private signing key remain under your control. 67 57 68 Publication records and public verification keys are made available through your own website.69 70 58 = Install. Activate. You're done. = 71 59 … … 80 68 = Features = 81 69 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. 85 74 * Unique, persistent publication identifiers. 86 * Cryptographic content fingerprints (SHA-256).87 * Digital signatures (Ed25519).75 * SHA-256 content fingerprints. 76 * Ed25519 digital signatures. 88 77 * 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. 91 81 * 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.95 82 96 83 == Installation == … … 106 93 == Frequently Asked Questions == 107 94 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 97 Yes. 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 101 Install 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 105 Locally 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 109 Yes, 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. 137 110 138 111 = Is my data sent to external servers? = 139 112 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. 113 No 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 115 The AI Referrals feature stores daily totals by UTC day, platform and publication, without storing raw referrers, IP addresses or cookies. 116 117 Protect your database and backups because they contain the private signing key. 118 119 = Does the plugin block AI crawlers? = 120 121 No. Your content remains accessible as before. 122 123 = What happens to my existing and future publications? = 124 125 Eligible 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 127 Additional 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 131 No. 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 135 No. 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 139 Not 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 143 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. 144 145 Deactivation 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. 159 146 160 147 = Is p2p4me an open protocol? = 161 148 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? = 149 Yes. Publishers and information consumers can participate independently, without a mandatory marketplace or intermediary. 150 151 Learn more at [p2p4me.com](https://p2p4me.com/). 152 153 = Are there technical limitations? = 173 154 174 155 Concurrent 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. … … 176 157 == Screenshots == 177 158 178 1. Overview ofpublication registration, archived versions and AI activity.179 2. AI Activity withcrawler 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 forpublication types and automatic background registration.159 1. Overview — publication registration, archived versions and AI activity. 160 2. AI Activity — live crawler statistics, provider breakdown and filtering. 161 3. AI Referrals — incoming referral traffic by platform and publication. 162 4. Publications — publication register, version history and verification records. 163 5. Earnings — preview of future commercial functionality. 164 6. Settings — publication types and automatic background registration. 184 165 185 166 == 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. 186 171 187 172 = 0.9.16 =
Note:
See TracChangeset
for help on using the changeset viewer.