From 2667d635ad0a5e97d4571bb70dcee3526a0f6042 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 17 Jan 2024 22:42:52 +0000 Subject: [PATCH] [bulk_add_csv] better docs, see #1015 --- ext/bulk_add_csv/info.php | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/ext/bulk_add_csv/info.php b/ext/bulk_add_csv/info.php index 3575b3ee..772e3f7f 100644 --- a/ext/bulk_add_csv/info.php +++ b/ext/bulk_add_csv/info.php @@ -15,14 +15,16 @@ class BulkAddCSVInfo extends ExtensionInfo public string $license = self::LICENSE_GPLV2; public string $description = "Bulk add server-side posts with metadata from CSV file"; public ?string $documentation = -"Modification of \"Bulk Add\" by Shish.

-Adds posts from a CSV with the five following values:
-\"/path/to/image.jpg\",\"spaced tags\",\"source\",\"rating s/q/e\",\"/path/thumbnail.jpg\"
-e.g. \"/tmp/cat.png\",\"shish oekaki\",\"shimmie.shishnet.org\",\"s\",\"tmp/custom.jpg\"

-Any value but the first may be omitted, but there must be five values per line.
-e.g. \"/why/not/try/bulk_add.jpg\",\"\",\"\",\"\",\"\"

-Post thumbnails will be displayed at the AR of the full post. Thumbnails that are -normally static (e.g. SWF) will be displayed at the board's max thumbnail size

-Useful for importing tagged posts without having to do database manipulation.
+"Adds posts from a CSV with the five following values: +
\"/path/to/image.jpg\",\"spaced tags\",\"source\",\"rating s/q/e\",\"/path/thumbnail.jpg\"
+ +e.g. +
\"/tmp/cat.png\",\"shish oekaki\",\"http://shimmie.shishnet.org\",\"s\",\"tmp/custom.jpg\"
+ +Any value but the first may be omitted, but there must be five values per line. +e.g.
\"/why/not/try/bulk_add.jpg\",\"\",\"\",\"\",\"\"
+ +Useful for importing tagged posts without having to do database manipulation. +

Note: requires \"Admin Controls\" and optionally \"Post Ratings\" to be enabled

"; }