INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Will MC Support Office .docx files?  (Read 1235 times)

exodus1977

  • Recent member
  • *
  • Posts: 25
Will MC Support Office .docx files?
« on: January 27, 2014, 04:08:56 pm »

Hi,

I've notice that MC does not import or recognize Microsoft Office .docx files. (Perhaps I am doing something wrong...). That said, is there planned support for importing these files? Thanks,
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Will MC Support Office .docx files?
« Reply #1 on: January 27, 2014, 04:17:17 pm »

See this post:

   http://yabb.jriver.com/interact/index.php?topic=61899.0

It is similar, but for Kindle books and mobi.  Find the Data resource and add docx to the already existing doc type, in your own Custom Resource folder.
Logged
The opinions I express represent my own folly.

exodus1977

  • Recent member
  • *
  • Posts: 25
Re: Will MC Support Office .docx files?
« Reply #2 on: January 27, 2014, 05:30:32 pm »

Thanks for your help.

To update this for anyone else reading, here is a simplified version.

The relevant file is (most likely) here: C:\Program Files (x86)\J River\Media Center 19\Data\Default Resources\FileAssociations.xml

There are two lines that need amending (per each additional file type addition). Look for these:
<!-- Descriptions -->
  <DescriptionTypes>
    <Audio>WAV Audio (wav,w64,raw,l16)....

Find your media type and add the file extention. For me, adding docx meant this correction:
<Data>MS Office Files (doc,docx,xls,csv,ppt,mde,mdb);.......

The second part is:
<!-- Mime -->
  <MimeAssociations>

The <data> portion needs the following line (see the last line below) included:
<Data>
      <Item Name="c">text/c</Item>
      <Item Name="cpp">text/cpp</Item>
      <Item Name="csv">text/csv</Item>
      <Item Name="doc">application/msword</Item>
      <Item Name="docx">application/msword</Item>

Save, close and restart MC (if necessary). Check your auto import and the new file type should show up. Run your import and it should work.

Thanks
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Will MC Support Office .docx files?
« Reply #3 on: January 28, 2014, 12:43:03 am »


To update this for anyone else reading, here is a simplified version.

the disadvantage of this simplified version is that when mc is updated the file in the Default Resources folder are overwritten, and the changes you made are gone. that's why making an custom resources folder is the way to go. mc will check if that folder is there and first read the file in there and then the file in the default resources.

 :)
gab
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10925
Re: Will MC Support Office .docx files?
« Reply #4 on: January 28, 2014, 01:10:31 am »

MC will recognize docx in a future build on its own, no need for this change then anymore.
Logged
~ nevcairiel
~ Author of LAV Filters

yannis

  • World Citizen
  • ***
  • Posts: 229
Re: Will MC Support Office .docx files?
« Reply #5 on: January 28, 2014, 03:48:25 am »

Can someone advise on how to deal with such files in Gizmo? I can see the filenames through the server in my tablet, but they won't open in the relative app.
Logged
Pages: [1]   Go Up