Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33483

GoogleDocs: Save Doc files in different formats to RTF

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Testing this requires the google repository to be configured and a google drive account with a google document, google presentation, google spreadsheet, and google drawing.

      Before you upgrade

      1. Add a google drive repository and verify that you can view the google presentation, spreadsheet, and doc. (This is easiest to test with the private files link on the dashboard)

      Perform the upgrade

      1. Verify that you can continue to view all files in the google drive repository.
      2. Download each file to the local private files repository in Moodle and then verify that you can download them to your computer (from Moodle) successfully
      3. Go into the Google drive repository settings and change the default format for documents from RTF to DOCX and save the changes
      4. Navigate back to the private files block on the dashboard, and browse to the google drive repository. Select your Google document and verify that it imports into Moodle as a word DOCX file.
      5. Verify that you can download this DOCX to your computer (from Moodle) successfully
      6. Repeat steps 3-5 for each of the supported formats for documents, presentation, spreadsheet, and drawing.
      Show
      Testing this requires the google repository to be configured and a google drive account with a google document, google presentation, google spreadsheet, and google drawing. Before you upgrade Add a google drive repository and verify that you can view the google presentation, spreadsheet, and doc. (This is easiest to test with the private files link on the dashboard) Perform the upgrade Verify that you can continue to view all files in the google drive repository. Download each file to the local private files repository in Moodle and then verify that you can download them to your computer (from Moodle) successfully Go into the Google drive repository settings and change the default format for documents from RTF to DOCX and save the changes Navigate back to the private files block on the dashboard, and browse to the google drive repository. Select your Google document and verify that it imports into Moodle as a word DOCX file. Verify that you can download this DOCX to your computer (from Moodle) successfully Repeat steps 3-5 for each of the supported formats for documents, presentation, spreadsheet, and drawing.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_28_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-33483_m33v2

      Description

      Since Google upgraded Docs to Drive and added Any File support
      And since it is easier to use .DOC files then .RTF ...
      I am suggesting the following patches to the Google Docs repository plugin
      Which enable both MS Documents to be exported as .Doc files
      and the ability to use and file (video, audio...) within Moodle.

      Following Google's advise, i used the source url as it was generated by Google and did not re constructed it myself.
      https://developers.google.com/google-apps/documents-list/#downloading_documents_and_files
      "Important: We highly recommend using the link provided by an entry's content link and not constructing this URL manually." / Google API

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                8 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/17