Creation of a report and tools that will allow us to migrate our legacy html, htm, and shtml from static pages and a directory structure into our joomla CMS. There are 4 parts to the project: 1. Code to scan through our directory structure and create reporting of all static pages. 2. Scrub the html pages to remove some formatting. 3. Tools in the report to allow us to insert the static page into a joomla section and category from our Joomla database. 4. Creation of a dead-links report for our site.
1. Scan through our site
[[url removed, login to view]] and create a report/list of all static internal .html, .htm and .shtml pages.
a) Create report page with the data collected
b) Organize the data in the report by section and then by category, based on the folder (section), and sub-folder (category) that the static page is in. Sort the pages by section and then category in the report with pagination.
c) Pull the current sections and categories from our Joomla database in two drop-down lists next to the reported section and category (will be used for matching old site with new).
2. Creation of Joomla Pages from old html pages
a) From the report page you've coded, someone on our staff will manually choose/select the joomla section and category for the old hml page to be inserted in.
b) Once the joomla section and category is chosen for a page, a create button/link will by clicked by our staff member which inserts the page content into the joomla database in the specified section and category in an unpublished state. During this insertion the code will be duplicated and scrubbed as outlined in step 3 below. The old html page will not be modified/deleted, just duplicated.
3. Scrub the html pages for the following:
a) Remove the font style and color tags from all html pages
b) Remove any Microsoft Frontpage specific/dead code
c) Identify and replace old legacy .html formatting code with appropriate next generation code for content to appear properly in current firefox, i.e., safari etc. (Potentially some back and forth communication with us on this part of the project).
4. Creation of a dead-links report for our site. Reporting tool that can be run at any time which will do the following:
a) Scan our joomla database/site and test for any external or internal broken links
b) Create a report showing each broken link, identifying the section, category, page name and page id # and then the hyperlinked text and url that is broken.