Skip to main content
rombanks
Inspiring
July 29, 2014
Question

Mif to XML/HTML conversion w/o FrameMaker

  • July 29, 2014
  • 2 replies
  • 1937 views

Hello fellows,

Are you aware of any way to convert a Mif file to HTML outside of Framemaker? In the past, there were attempts to create tools that convert Mifs to XML, but they weren't really successful.

Thank you for your suggestions in advance!

    This topic has been closed for replies.

    2 replies

    Legend
    July 30, 2014

    Oh, easy-peasy … all you need is a programmer, someone who understands FM source and something like sed, awk or perl <roflwlia> It's amazing just how much information shows up in a .mif file – I've just opened one I was using yesterday, and by searching for <String I see that there are 125 lines of 'content' (fewer, actually, since some of them are for headers and footers) in a file of 126671 lines.

    You might get something recognisable to use as a starting-point – though without checking I'm not sure how far it would get you with tables – by pulling out PgfTag and String entries, but I suspect the overall answer to "any way to …" may still be "start with a good text editor and {beverage of choice}". Good luck!

    Jeff_Coatsworth
    Community Expert
    Community Expert
    July 29, 2014

    Have you explored using Mif2Go?

    rombanks
    rombanksAuthor
    Inspiring
    July 29, 2014

    Hi Jeff,

    Thank you for your response!

    AFAIK, Mif2Go is an FM plugin. I'd like to convert Mifs to HTML without running Framemaker (and preferably in Linux/Unix environment).

    Thanks!

    Jeff_Coatsworth
    Community Expert
    Community Expert
    July 29, 2014

    Yes, I realized that, but I suspect it’s working via FM > MIF > MIF2Go > HTML