DescribeEdit - Edit Inline to Outfile
Article type: Describe Edit
Article name: DescribeEdit - Edit Inline to Outfile
Author: Framez
Description:
We have a list, contained inline in another list, that we want to export to another file.
We will need to create the new article, from that list, and remove the body of the list from the original file. Then, we re-Curate the database, or just the affected entries.
Before:
We have a parent list, containing an inline list.
File probably named - aaa.bbb.ccc
directives ->
namespace <aaa.bbb.ccc>;
Parent List <.rnode> ->
lorem,
ipsum,
dolor <.dol> ->
sit,
amet;
After:
A - the parent list has the exportee body trimmed, and the exportee reduced to an entry.
File still probably named - aaa.bbb.ccc
directives ->
namespace <aaa.bbb.ccc>;
Parent List <.rnode> ->
lorem,
ipsum,
dolor <.dol>;
B - the exportee is declared in a new file
New file probably named - aaa.bbb.ccc.dol
directives ->
namespace <aaa.bbb.ccc>;
dolor <.dol> ->
sit,
amet;
Related actions:
php spark.php action-create-stub "TEXT" "full.namespace.name"
open "https://development.listiary.org/m.editor/m.editor.php?domain=public&itemid=0&article=full.namespace.name"
cut body from parent list, paste to child file.
save both lists and close the child file editor.
php spark.php database-curate
Ctrl+F5 on parent list