How to convert HTML file into Framemaker Interchange Format(.mif) file? - html

I want to mark index and cross-references like Framemaker does.
Framemaker can export the .fm into .htm and .mif file.
I have analyzed how the index and cross-references appears in .htm and .mif file after exporting it from framemaker.
Now my system will produces .htm file and I can manage to mark the index and cross-reference like framemaker does.
I want that framemaker retain the index and cross-references which will be marked by my system.
But there is no way to import or open HTML files directly in Framemaker.
We can import .mif file in framemaker.
So is there any way we can convert HTML files into .mif(FrameMaker Interchange Format).

there is one option, I know its not full proof solution for this problem.
but it can save your efforts to some point,
Save the HTML file to RTF format (using MS word/Open Office)
Open that RTF file in FM
FM accepts the RTF file and convert it into .fm file
Save the .fm file into .mif format
Note : in this conversion, some data loss may happen, i have tried using it for Markers it works but not complete solution.
All the best!!

You can open the .htm files in Structured FrameMaker and then save them to .mif. This will produce less loss in graphics, for sure.

Related

How to rename a file, using exiftool, to a new name contained in CSV import file

Using exiftool, I have exported image file data to a CSV file. I have manipulated that data and now I want to import the new values to the original files. Everything works as I would expect, except that I want also to rename images to new file names contained in the CSV file (those new names were generated manually as well as by programs; they could not be generated by a rule). I know how to rename files using data that is in the source image file (e.g. I've found advice on how to incorporate the camera model name into the file name), but I don't know how to rename the source image file to the name that I have specified in the CSV file.
It would be simple enough to do this renaming separately from exiftool, but I'm curious to know whether exiftool can do it. It seems to be able to do pretty much anything else.
According to this thread, Phil Harvey (creator of exiftool) says it isn't possible to rename files from a CSV file. It's "a feature to prevent people from messing up their files unintentionally."

Creating a CSV file with the Report Generation Toolkit in Labview

I want to create .csv files with the Report Generation Toolkit in Labview.
They must actually be .csv files which can be opened with Notepad or something similar.
Creating a .csv is not that hard, it's just a matter of adding the extension to the file name that's going to be created.
If I create a .csv file this way it opens nicely in excel just the way it should, but if I open it in Notepad it shows all kind of characters and it doesn't even come close to the data I wrote to the file.
I create the files with the Labview code below:
Link to image (can't post image yet because I've got to few points)
I know .csv files can be created with the Write to Spreadsheet VI but I would like to use the Report Generation Toolkit because it's pretty easy to add columns and rows to the file and that is something I really need.
you can use the Robust CSV package on the lavag.org forum to read and write 2D arrays to CSV files.
http://lavag.org/files/file/239-robust-csv/
Calling a file "csv" does not make it a CSV file. I never used the toolkit to generate an Excel file, but I'm assuming it creates an XLS or XLSX file, regardless of what extension you give it, which is why you're seeing gibberish (probably XLS, since it's been around for a while and I believe XLSX is XML, not binary).
I'm not sure what your problem is with the write spreadsheet VI. It has an append input, so I assume you can use that to at least add rows directly to a file, although I can't say I ever tried it. I would prefer handling all the data in memory explicitly, where you can easily use the array functions to add rows or columns to the array and then overwrite the entire file.

does as3xls library handles hyperlink in excel file..?

Is "as3xls library" capable of handling a hyper link in excel file, is there any other library which i can use for importing data from .xlsx file. as3xls is limited to .xls only.
.xlsx files are basically just XML files that are mapped to each other and zipped up into a zip archive. The way I have dealt with them is to use something like nochump's zip library to unpack them, and then traverse the contained XML yourself. Other than that, I don't know of any libraries set up to deal with xlsx files directly (you are correct that as3xls only deals with the older, more difficult binary xls format). You may find some resources such as the OOXML spec helpful as well.

CSV File creation affected by regionnal setting

I create csv file from my web app and when the web app runs in my system with browser language set to English the file gets downloaded and on open shows the expected format. But when i change my language to Danish it shows like below !
Wrong csv file format
The correct format should be like this
How do i correct this so that irrespective of the language the language the file csv file gets downloded properly ?
Thanks in Advance
I'm not sure about the components you use to create, download, and display the .csv; so this may not help.
In general, language settings may specify the separator used for .csv files. If you can generate the .csv using tab as separator (TabDelimited), there is a chance that the .csv is parsed correctly regardless of the language settings.
Some .csv drivers/providers look into a schema.ini file in the folder containing the .csv file. By specifying the format (Format=Delimited()), you may help the driver to do the right thing.

How to extract hhp file from a chm file

I have an A.chm file for my windows application which runs as expected.
When I decompile it using HTML workshop I get set of html files, .hhc file, .hhk file. When I compile another file B.chm from these extracted files without changing any of the files.((I want to add more html contents to this file but looks like I am losing some information after decompiling)) The output file I get is 72K where as the original file was 75K. B.chm's contents look all file when viewed in the chm viewer but the behavior is lost when when used with the application.
After reading around I found that if .hhp can be extracted from a .chm file then it can be re-constructed as it is without losing any mapping or aliases. Is that true?
How can I extract .hhp file from a .chm file?
Thanks,
Sam
No, Yes , and no.
The original hhp can't be guaranteed extracted
however since chm is an archive type, the project could have added all project files to the archive. I assume you already would have found them if that were the case.
If the decompile process does its administration, it can regenerate the .hhp to a certain degree.
Comments and #define names will probably be lost though, maybe more, but that should not result in problems when recompiling.
But of course it could be that the decompiler is limited. You could try some other (search for something from "keytools").
If not, then take "chmlib" and start drilling down into the format.