The convert mode must be changed to process all found organizations.
There still needs to be a singular organization specified as a command line arg. This organization, similar to how it works now, is what will drive the formulation of the Torus project hierarchy.
After processing the root org, the tool should find and process all other orgs. It needs to process all linked resources in these other orgs.
For all pages found during steps 1 and 2, compare these to the resources directly linked in the newly created Torus hierarchy. For those that do not exist, place them in a newly created Container called "Additional Resources". Place this container at the end of the Torus created hierarchy.
Consider the following example project
Organization 1
--Unit 1
----Page 1
----Page 2 (embedded in this page is a link to Page 4)
Organization 2
--Unit 1
----Page 1
----Page 3
The resultant Torus hierarchy should look like this:
The convert mode must be changed to process all found organizations.
Consider the following example project
The resultant Torus hierarchy should look like this: