Skip to content

Commit 4656039

Browse files
committed
Reset renaming
1 parent d88a669 commit 4656039

File tree

4 files changed

+20
-23
lines changed

4 files changed

+20
-23
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
https://github.com/carstingaxion/gatherpress-demo-data/assets/198883/79c19cab-24f0-47e8-9710-832aed7938ca
44

55

6-
# What
6+
## What
77

88
- [Create, read update, delete & save][export-to-github] the demo-data using Playground and persist it with prepared settings for GitHub Export.
99
- or simply browse & view ...

README.tmpl.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
# CRUD the `project_name` with Playground
1+
# CRUD the `project_urlname` with Playground
22

3-
https://github.com/author_name/gatherpress-demo-data/assets/198883/79c19cab-24f0-47e8-9710-832aed7938ca
4-
5-
6-
# What
3+
## What
74

85
- [Create, read update, delete & save][export-to-github] the demo-data using Playground and persist it with prepared settings for GitHub Export.
96
- or simply browse & view ...

blueprints/blueprint.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
{
1616
"step": "setSiteOptions",
1717
"options": {
18-
"blogname": "crud_the_docs_playground",
19-
"blogdescription": "CRUD the crud_the_docs_playground in Playground.",
20-
"wordpress_export_to_server__owner_repo_branch": "carstingaxion/crud-the-docs-playground/main"
18+
"blogname": "project_urlname",
19+
"blogdescription": "CRUD the project_urlname in Playground.",
20+
"wordpress_export_to_server__owner_repo_branch": "author_name/project_urlname/main"
2121
}
2222
},
2323
{
2424
"step": "defineWpConfigConsts",
2525
"consts": {
26-
"UPLOADS": "wp-content/crud-the-docs-playground-main"
26+
"UPLOADS": "wp-content/project_urlname-main"
2727
}
2828
},
2929
{
@@ -45,22 +45,22 @@
4545
},
4646
{
4747
"step": "writeFile",
48-
"path": "/wordpress/wp-content/crud-the-docs-playground.zip",
48+
"path": "/wordpress/wp-content/project_urlname.zip",
4949
"data": {
5050
"resource": "url",
51-
"url": "https://github-proxy.com/proxy/?repo=carstingaxion/crud-the-docs-playground",
52-
"caption": "Downloading crud_the_docs_playground repository."
51+
"url": "https://github-proxy.com/proxy/?repo=author_name/project_urlname",
52+
"caption": "Downloading project_urlname repository."
5353
},
5454
"progress": {
5555
"weight": 2,
56-
"caption": "Applying crud_the_docs_playground files."
56+
"caption": "Applying project_urlname files."
5757
}
5858
},
5959
{
6060
"step": "unzip",
6161
"zipFile": {
6262
"resource": "vfs",
63-
"path": "/wordpress/wp-content/crud-the-docs-playground.zip"
63+
"path": "/wordpress/wp-content/project_urlname.zip"
6464
},
6565
"extractToPath": "/wordpress/wp-content"
6666
},
@@ -81,7 +81,7 @@
8181
},
8282
{
8383
"step": "runPHP",
84-
"code": "<?php require '/wordpress/wp-load.php';$path = realpath( '/wordpress/wp-content/crud-the-docs-playground-main/export.xml' );$logger = new WP_Importer_Logger_CLI();$logger->min_level = 'info';$options = array( 'fetch_attachments' => false, 'default_author' => 1,);$importer = new WXR_Importer( $options );$importer->set_logger( $logger );$result = $importer->import( $path );"
84+
"code": "<?php require '/wordpress/wp-load.php';$path = realpath( '/wordpress/wp-content/project_urlname-main/export.xml' );$logger = new WP_Importer_Logger_CLI();$logger->min_level = 'info';$options = array( 'fetch_attachments' => false, 'default_author' => 1,);$importer = new WXR_Importer( $options );$importer->set_logger( $logger );$result = $importer->import( $path );"
8585
}
8686
]
8787
}

export.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
>
2727

2828
<channel>
29-
<title>crud_the_docs_playground</title>
30-
<link>https://crud-the-docs-playground.test/</link>
31-
<description>CRUD the crud_the_docs_playground in Playground.</description>
29+
<title>project_urlname</title>
30+
<link>https://project_urlname.test/</link>
31+
<description>CRUD the project_urlname with Playground.</description>
3232
<pubDate>Tue, 11 Jun 2024 11:57:56 +0000</pubDate>
3333
<language>en-US</language>
3434
<wp:wxr_version>1.2</wp:wxr_version>
35-
<wp:base_site_url>https://crud-the-docs-playground.test/</wp:base_site_url>
36-
<wp:base_blog_url>https://crud-the-docs-playground.test</wp:base_blog_url>
35+
<wp:base_site_url>https://project_urlname.test/</wp:base_site_url>
36+
<wp:base_blog_url>https://project_urlname.test</wp:base_blog_url>
3737

3838
<wp:author><wp:author_id>1</wp:author_id><wp:author_login><![CDATA[admin]]></wp:author_login><wp:author_email><![CDATA[admin@localhost.com]]></wp:author_email><wp:author_display_name><![CDATA[admin]]></wp:author_display_name><wp:author_first_name><![CDATA[]]></wp:author_first_name><wp:author_last_name><![CDATA[]]></wp:author_last_name></wp:author>
3939

@@ -49,10 +49,10 @@
4949

5050
<item>
5151
<title><![CDATA[CRUD the docs with Playground]]></title>
52-
<link>https://crud-the-docs-playground.test/2024/06/crud-the-docs-with-playground/</link>
52+
<link>https://project_urlname.test/2024/06/crud-the-docs-with-playground/</link>
5353
<pubDate>Wed, 12 Jun 2024 15:16:37 +0000</pubDate>
5454
<dc:creator><![CDATA[admin]]></dc:creator>
55-
<guid isPermaLink="false">https://crud-the-docs-playground.test/?p=173</guid>
55+
<guid isPermaLink="false">https://project_urlname.test/?p=173</guid>
5656
<description></description>
5757
<content:encoded><![CDATA[<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
5858
<div class="wp-block-group"><!-- wp:paragraph -->

0 commit comments

Comments
 (0)