Sorry for bad english, but i try explain.
I like this offline solution more and more, when i download more sites. And i stay happend, when i found, that i can use offline files to indexed by search desktop engines like google or yandex. Its super. But i found, that if my projects download files in direct link with filenames like address link (*.php, *.asp and other extentions) search engines do not index its, because that files has no text extension. From that moment i began use translation link with mask
*.php -> * ->*.html to translate *.php.html, *.asp->*->*.html to translate *.asp.html
and search engines bigan index its. Super, but some time i found strange thing, when i found, that link http://www.php.ru/default.htm translate to http://www.php.ru/default.htm.html. I was wonder! And I understand, that transtale function mistake, that translate www.php.ru... by rule *.php (!), but it do's not do this.
My question: what to do now, to avoid this situation, and when you begin use regular expressions in future (i think, its very important!!!)?
*.php.ru/*.html -> * -> *
*.php.ru/*.php -> /**.php* -> /**.php*.html
and it work good.