-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblueprint.json
More file actions
85 lines (85 loc) · 5.59 KB
/
blueprint.json
File metadata and controls
85 lines (85 loc) · 5.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"meta": {
"title": "Really Simple Licensing Demo",
"description": "Demo of Really Simple Licensing plugin with sample licenses and content to showcase Really Simple Licensing (RSL) functionality for AI content licensing.",
"author": "James W. LePage",
"categories": [
"Content",
"SEO",
"Developer Tools"
]
},
"features": {
"networking": true
},
"landingPage": "/wp-admin/admin.php?page=rsl-wp",
"login": true,
"preferredVersions": {
"php": "8.2",
"wp": "latest"
},
"steps": [
{
"step": "installPlugin",
"pluginData": {
"resource": "url",
"url": "https://github-proxy.com/proxy/?repo=Jameswlepage/rsl-wp&release=v0.0.5-alpha&asset=rsl-licensing-0.0.5.zip"
},
"options": {
"activate": true
}
},
{
"step": "defineWpConfigConsts",
"consts": {
"RSL_DEBUG": true,
"WP_DEBUG": true,
"WP_DEBUG_LOG": true
}
},
{
"step": "wp-cli",
"command": "wp post create --post_type=post --post_status=publish --post_title='Welcome to RSL Licensing Demo' --post_name='welcome-rsl-demo' --post_content='<p>This site demonstrates <strong>Really Simple Licensing (RSL)</strong> - a machine-readable format for content licensing that helps AI companies and crawlers understand how they can legally use your content.</p><p>Visit the <a href=\"/wp-admin/admin.php?page=rsl-licensing\">RSL Dashboard</a> to see the plugin in action, or check out the different licensing examples on this site:</p><ul><li><a href=\"/free-content/\">Free Content</a> - No restrictions</li><li><a href=\"/ai-training-blocked/\">AI Training Blocked</a> - Search allowed, AI training prohibited</li><li><a href=\"/commercial-license/\">Commercial License</a> - Paid licensing for AI training</li></ul><p>You can also check the <code>robots.txt</code> file and RSS feeds to see how RSL integrates across your WordPress site.</p>'"
},
{
"step": "wp-cli",
"command": "wp post create --post_type=post --post_status=publish --post_title='Free Content Example' --post_name='free-content' --post_content='<p>This content is completely free to use with no restrictions. AI companies can train on this content, search engines can index it, and anyone can access it freely.</p><p>The RSL license for this content specifies:</p><ul><li><strong>Payment Type:</strong> Free</li><li><strong>Permits:</strong> All usage types</li><li><strong>Restrictions:</strong> None</li></ul><p>Check the page source to see the RSL license embedded in the HTML head.</p>'"
},
{
"step": "wp-cli",
"command": "wp post create --post_type=post --post_status=publish --post_title='AI Training Blocked Content' --post_name='ai-training-blocked' --post_content='<p>This content allows search indexing and summarization but <strong>prohibits AI training</strong>. This is a common licensing preference for content creators who want discoverability but dont want their work used to train AI models.</p><p>The RSL license for this content specifies:</p><ul><li><strong>Payment Type:</strong> Free</li><li><strong>Permits:</strong> Search, AI summarization</li><li><strong>Prohibits:</strong> AI training (train-ai, train-genai)</li></ul><p>Notice how this appears in your sites robots.txt file with the AI Preferences format for maximum compatibility.</p>'"
},
{
"step": "wp-cli",
"command": "wp post create --post_type=post --post_status=publish --post_title='Commercial License Example' --post_name='commercial-license' --post_content='<p>This premium content requires payment for AI training usage. While search indexing remains free, AI companies must purchase a license to use this content for training purposes.</p><p>The RSL license for this content specifies:</p><ul><li><strong>Payment Type:</strong> Subscription ($99/month)</li><li><strong>Permits:</strong> AI training (with payment)</li><li><strong>Server URL:</strong> OAuth endpoint for authentication</li></ul><p>In a real implementation, this would integrate with WooCommerce or other payment processors to handle transactions automatically.</p>'"
},
{
"step": "setSiteOptions",
"options": {
"blogname": "RSL for WordPress Demo",
"blogdescription": "Demonstrating Really Simple Licensing (RSL) for AI content licensing",
"show_on_front": "posts",
"rsl_enable_html_injection": 1,
"rsl_enable_http_headers": 1,
"rsl_enable_robots_txt": 1,
"rsl_enable_rss_feed": 1,
"rsl_enable_media_metadata": 1
}
},
{
"step": "wp-cli",
"command": "wp post create --post_type=page --post_status=publish --post_title='About RSL' --post_name='about-rsl' --post_content='<p>Really Simple Licensing (RSL) is an XML-based standard for defining machine-readable licensing terms for digital content.</p><p>Key benefits:</p><ul><li><strong>Machine-readable:</strong> AI systems can automatically understand your licensing terms</li><li><strong>Standardized:</strong> Uses a common format recognized across the industry</li><li><strong>Flexible:</strong> Supports various payment models and usage restrictions</li><li><strong>WordPress native:</strong> Integrates seamlessly with your existing WordPress workflow</li></ul><p><a href=\"https://rslstandard.org\" target=\"_blank\">Learn more about the RSL standard</a></p>'"
},
{
"step": "installPlugin",
"pluginData": {
"resource": "wordpress.org/plugins",
"slug": "classic-editor"
},
"options": {
"activate": true
}
}
]
}