-
-
Save michaelwills/1075698 to your computer and use it in GitHub Desktop.
Boilerplate for serving a regular old HTML table as application/vnd.ms-excel, apropos acheiving Excel surround sound
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html xmlns:o="urn:schemas-microsoft-com:office:office" | |
xmlns:x="urn:schemas-microsoft-com:office:excel" | |
xmlns="http://www.w3.org/TR/REC-html40"> | |
<head> | |
<meta http-equiv="expires" content="Mon, 06 Jan 1999 00:00:01 GMT"> | |
<meta http-equiv=Content-Type content="text/html; charset=UTF-8"> | |
<!--[if gte mso 9]><xml> | |
<x:ExcelWorkbook> | |
<x:ExcelWorksheets> | |
<x:ExcelWorksheet> | |
<x:Name>Worksheet Name</x:Name> | |
<x:WorksheetOptions> | |
<x:DisplayGridlines/> | |
</x:WorksheetOptions> | |
</x:ExcelWorksheet> | |
</x:ExcelWorksheets> | |
</x:ExcelWorkbook> | |
</xml><![endif]--> | |
</head> | |
<body> | |
<table> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment