Allow import of xls file contents
Status: Alpha
Brought to you by:
rvk
This patch extends the current importing and parsing of xls files by making it possible to import xls file contents.
This is useful if your xls file contents are stored in a database on a web server (as apposed to physical files on the file system). It avoids having to save data to temp files first before parsing.
To use this, call the new parse_xls_content method in lib ImportXLS, passing it the contents of your xls file, e.g.:
for name, values in parse_xls_content(file_contents):
...
...
Import xls file contents patch