Merchant Archive
Thread: Parsing /mailSave's??
All,
Does anyone have a useful tool for parsing vendor/bazaar sales yet? I would like to get at this information and keep track, but this is not in my skill set. If so, would you mind sharing?
Right now it is still pencil and paper for me!
Thanks!
tuta23 wrote:
All,
Does anyone have a useful tool for parsing vendor/bazaar sales yet? I would like to get at this information and keep track, but this is not in my skill set. If so, would you mind sharing?
Right now it is still pencil and paper for me!
Thanks!
I'm playing with a little something but it isn't ready for prime time quite yet.
DocSavag wrote:
I'm playing with a little something but it isn't ready for prime time quite yet.
I've only given the files a cursory look and have not started anything yet.Have you reverse engineered the date field yet?
If so, please post here how to decode the date/time information.
Thanks.
I wrote mine inVB because I can quickly develop the code and test it. I'm not opposed to helping with a larger project but I don't have any interest in writing anything complex. I mainly just wanted an import routine to import into an ODBC database (in this case I am currently using Access but it could be easily converted to just about anything that windows can handle as an odbc connection string.)
I have the code complete, the server, I just need the bandwidth, let me check my limitations.
DocSavag wrote:
[regarding a /mailsave tool] I'm playing with a little something but it isn't ready for prime time quite yet.
Cool! I had been thinking about doing that too, but it has been suffering fromfeature creep in my mind and the project has been growing out of bounds before I wrote any code. Some of the features that I felt I needed to build were:
* Decent mail client display to screen with folder capabilities.
* Compressed storage into a single file (or even a zip file)
* Export of buy and sell messages into a cdf for spreadsheet processing.
* Selection of files to export
* Prevent duplicates in compressed form even if same mail saved more than once
As a result my estimated coding time has grown outside my likely time to complete anything in a reasonable timeframe.
Any interest in making it an open-source project that I could contribute to? I prefer Visual C++ development for this application, but could handle anything with a reasonably priced development environment.
Oh, btw, it creates one flat delimited file that can be loaded into a database (Access, Oracle, MySQL, etc.) or with Excel. Customer name, City, Planet, Item, Quantity, Price, Data, Time are all seperated out.
Ewach wrote:
I've only given the files a cursory look and have not started anything yet.Have you reverse engineered the date field yet?
If so, please post here how to decode the date/time information.
Thanks.
Q. How do I view the contents of a TIMESTAMP fieldcreated by anSQL Server?
A. You don't. Timestamp columns, contrary to what the name implies, are NOT date/times. They are just hex values which are guaranteed by SQL Server to be unique within the database. In normal circumstances the values are monotonically increasing.
Goff McMerrii
Miner
Ignore above post by me. That was directly taken from the SQL manual. "Usually" timestamps have nothing to do with time, nor dates. In this case however, the timestamp is not a unique identifier but rather a date/time. In the mail-file format the ID is actually the Timestamp (when following the correct terminology) and what is called Timestamp is actually date/time.
To convert it to a readable date/time us the following function (for ASP, should be valid for VBScript aswell):
FormatDateTime(value+2209161600)/60/60/24,2)
Where value is the date/time value.
Goff McMerrii
Miner