.mpx files

Author Message
Nick 01/04/2005 06:53 pm
Hi,

Can you please give me a summary of the coding of .mpx files. I am trying to decode them to do some processing on the links cntained in some of them and I have noticed that there are characters with ascii codes of between 0 and 32 (mainly below about 17) which seem to represent details of the levels that files exist at within the address. ie www.google.co.uk/main.htm is broken up into a bit descibing the download directory (C:\download) and a bit describing www.google.co.uk and a bit descriubing main.htm. For more complicated links it seems to get quite convoluted and I cannot work out what combinations of characters mean what. Do you have a decoding description for these files that you could let me have?

Thanks,
Nick
Oleg Chernavin 01/05/2005 02:49 am
I think, it is better for you to use OLE Automation to read map files. You can use the following methods:

IOEProject.GetMapEntry
IMainOE.OfflineToOnlineURL

Would this work for you?

Best regards,
Oleg Chernavin
MP Staff
Nick 01/05/2005 05:34 pm
I have never done anything with OLE automation and I don`t really know anything about it. Can you give me a bit more information on how to get started? I am using Visual C++ and am at the moment programming in C. I think I can switch to C++ if necessary, but is there an example I can look at in C or C++ to get me going? I`d be greatful for any help.

Thanks,
Nick


> I think, it is better for you to use OLE Automation to read map files. You can use the following methods:
>
> IOEProject.GetMapEntry
> IMainOE.OfflineToOnlineURL
>
> Would this work for you?
>
> Best regards,
> Oleg Chernavin
> MP Staff
Oleg Chernavin 01/06/2005 04:22 am
Nick,

I am sorry, but I am not an expert in C/C++. Offline Explorer Enterprise comes with two examples - Visual Basic and Delphi (with source codes). Maybe you could look at them and create a simple Visual Basic application for your needs?

Another way is to ask this forum visitors to help - maybe someone could create a VC++ example of how to use Offline Explorer Enterprise. I would include it in the installation file.

Oleg.
Nick 01/06/2005 08:26 am
That would be great if someone could do that.

Alternatively, is there a program that can do a .mpx to .map file conversion, as the format of .map file used by OE pro could give me what I want.

Thanks,
Nick
Oleg Chernavin 01/06/2005 09:05 am
I just made this program. You can download it here:

http://www.metaproducts.com/download/mpxtomap.exe

Click the Open button to find a file and convert it to .map automatically. You can also specify filenames in the command-line. Add /close or /exit parameter to quit the program after processing all files.

Oleg.
Nick 01/06/2005 01:53 pm
That`s great. Thanks a lot Oleg
Oleg Chernavin 01/09/2005 05:14 am
You are welcome!

Oleg.