Need a program that read all *.php files in a folder (and their subfolders) and based on those breadcrumbs generate a site map in two different formats, both in a text (.TXT) files
1)? ? ? An indented ([hierarchical][1]) .php site map
2)? ? ? An XML sitemap
## Deliverables
The program should read all *.php files in a folder (and their subfolders) and based on those breadcrumbs generate a site map in two different formats, both in a text (.TXT) files:
1)? ? ? An indented ([hierarchical][1]) site map
2)? ? ? An XML sitemap
? The folder will have a copy of the web site.
? The program will have just one single screen to input the folder address
All subfolders should be processed except “INCLUDES??
**Indented Sitemap**
For example for the page
? <[login to view URL]>
the breadcrumb? is:
[Inicio][2] > [Servicios][3] > [Capacitación][4] > [Cursos ERP-SL][5] > ERP-SL-Visión General
? So the indented site map should be:
Inicio
? ? ? Servicios
? ? ? ? ? ? ? ? Capacitación
? ? ? ? ? ? ? ? ? ? ? ? Cursos ERP-SL
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ERP-SL-Visión General
? Texts came from the breadcrumbs.
Each text should have the link to the source page.
? ?
**XML Sitemap**
? Is a normal [login to view URL] one section for each .php file. Home and first level pages are priority one, others are priority 0.5
? Example
<url>
? <loc>[login to view URL]</loc>
? <priority>1.0</priority>
? <lastmod>2008-05-12T01:14:49+00:00</lastmod>
? <changefreq>daily</changefreq>
</url>
<url>
? <loc>[login to view URL]</loc>
? <priority>1.0</priority>
? <lastmod>2008-05-12T01:14:49+00:00</lastmod>
? <changefreq>daily</changefreq>
</url>
<url>
? <loc>[login to view URL]</loc>
? <priority>1.0</priority>
? <lastmod>2008-05-12T01:14:49+00:00</lastmod>
? <changefreq>daily</changefreq>
</url>