Page 1 of 1

Offline HTML contents of .zip file not displaying properly.

Posted: Fri Nov 15, 2024 7:13 pm
by Chadwicke
Downloaded the zip of the wiki. Only the Expanded Main Page seems to display correctly. Every other page displays the raw HTML, as if it were text in an editor. Not sure what I did wrong or how to fix it, but viewing the pages online from the server don't have this problem, it's only the downloaded offline pages provided in the zip that have this problem.

Thank you.

Re: Offline HTML contents of .zip file not displaying properly.

Posted: Fri Nov 15, 2024 10:18 pm
by Octocontrabass
The server sends a content-type header when you view the wiki online. Without it, your browser has to guess what each file contains, and it might guess wrong sometimes.

Adding extensions to the file names might help (although it will break links).

Re: Offline HTML contents of .zip file not displaying properly.

Posted: Sat Nov 16, 2024 9:00 am
by Chadwicke
Renaming the files to *.html fixed it but also broke it just as described. I can deal with broken links so long as I know where it's supposed to go. Having the whole thing local is great though, thanks again.