Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Import PowerPoint: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(grrr the great moodler in the sky is fogging my memory this AM)
(import powerpoint removed)
 
(45 revisions intermèdies per 8 usuaris que no es mostren)
Línia 1: Línia 1:
{{Lessons}}
{{Lesson}}
{{Moodle 1.8}}


The goal of this feature is to capture text and graphics from a series of MS PowerPoint presentation slides and insert them into the content area of a series of branch tables, as text and images. The title of the page come from the title of the PowerPoint slide. The descriptions on the branch page are blank, so the initial settings will follow the flow control parameter in lesson settings.
==Importing a Powerpoint presentation==
If your Moodle 2.3 installation dates from before October 18th 2012, you will have an option "Import Powerpoint" in your [[Lesson]] settings.


Simple text presentations with simple graphic images can be imported without much trouble. It will not import things like underlining but will import some of the simple bullets. At the moment this feature is best used by teachers who want to do an initial lesson outline in MS PowerPoint. Do not expect it to handle the rich outlining and graphics potentials of MS PowerPoint ([[Import_PowerPoint#Tips|see tips below]]). Versions prior to 1.8 may require some code tweaking for PowerwerPoint 2003 onward. (We've added instructions for a minor tweak to [[Import_PowerPoint#Tweak_for_PowerPoint_2003|import 2003 below]]).  
It has been removed since, as it does not work. See tracker MDL-21801


Remember, a poorly designed course will not magically improve when placed in Moodle. And poorly designed PowerPoint will not improve when it is imported into a Lesson. In other words, a page with 20 bullets and text in a tiny font, might not work on a Lesson page for students or with the importPPT function.   
'''NOTE:''' If you simply wish to display a Powerpoint in your course, then see [[File]].  
:''TIP:'' If you would like to see an alternative to this feature, vote for [http://tracker.moodle.org/browse/MDL-17413 MDL 17413].


== The instructions ==
The following page explains  alternatives for Moodlers who still have the "Import Powerpoint" option.


===Create webpage in MS 2003 versions of PowerPoint into 1.9 ===
#Create the Web Folder
#*Open the MS PowerPoint presentation
#*In "File" click on  "Save as"
#*Change or note "Save In" setting
#*Set Save "file type" pulldown menu to "Web Page"
#*click on "Save"
#Using Windows Explorer or your favorite program
#*Zip the new folder


===Create webpage in MS 2000 versions of PowerPoint into earlier versions ===
=== Powerpoint 2003 Instructions===
It is possible to import Powerpoint 2003 presentations but animations and transitions are not retained.


#Create the Web Folder
#Create your MS Powerpoint 2003 presentation.
#*Open the MS PowerPoint presentation  
#*In the "File" menu click on  "Save as Webpage"
#*In "File" click on  "Save as"
#*Change or note "Save In" setting location and name
#*Change or note "Save In" setting
#**''The Save "file type" should be "Web Page"''
#*Set Save "file type" pulldown menu to "Web Page"
#*Click on "Save"
#*click on "Save"
#**''This will create a file and a folder. The HTML file has links to files in the new folder of the same name as the HTML file. ''
#Using Windows Explorer or your favorite program
#Using Windows Explorer or your favorite program
#*Make sure all the files are in one folder by themselves, then
#*Zip the new folder that contains the webpage files ***NB - DO NOT INCLUDE THE HTML FILE OR THE IMPORT WILL FAIL***
#*Zip the new folder that contains just the webpage files
#**''This is the file you will import into a new lesson. ''




===Moodle instructions===
===Moodle instructions===
#How to import the PowerPoint in Moodle
After you have created the zip file above
#*Add a Lesson activity to a course, set the settings, save settings
*Add a new Lesson activity to a course; set the settings; save settings
#*Select "Import PowerPoint"
**''This will bring you to a screen with several choices''
#*Use the browse button to select the ziped file that contains the webpage folder
*Select "Import PowerPoint"
#*Select "Continue"
*Use the browse button to select the zipped file that contains the webpage folder
#*Start editing the branch pages
*Select "Continue"
*Start editing the Content pages


== Tips ==
===Basic tips===
# Keep it simple, text only is best
# Keep it simple: text only is best
#* No page numbers (see masterslide)
#* No page numbers (see masterslide)
#* No text boxes with graphic or filled backgrounds
#* No text boxes with graphic or filled backgrounds
Línia 53: Línia 45:
#* Graphic images will have to be moved in the Lesson page
#* Graphic images will have to be moved in the Lesson page
#* More than one graphic image might not always import to a Lesson page
#* More than one graphic image might not always import to a Lesson page
# Check each page in student view
#* Make sure all your bullets are there
#* Double check your text when there is a lot on a page
#* Did it import the right number of graphic objects
# Did not import data? 
#* Import PowerPoint does not work on PPT 2003 in pre 1.8 Moodle version nor
#* some non english presentations due to characters-fonts
#* Double check your PowerPoint version.
# Want to import a word document as a series of slides in a Moodle Lesson?
#* Read Microsoft's tips on how to create slides from word text (ie [http://support.microsoft.com/default.aspx?scid=KB;en-us;q198212 MS help page)]
#* Hint, use outline feature and only two levels in Word
#* First level is page title, Second level is content
#* Save Word file, then file, import outline in PPT
#*    takes a little tweaking in word but it is consistent
#* Then follow the instructions above.
==Examples==
# Use PowerPoint as a story board with simple text content and include descriptions for the branch table button. Remember the first line of text in outline view, will be your Lesson page title. So you can also put in the jump for each description as text as a reminder where to set the jumps. After the import into a lesson,  go into edit mode.  In each page cut and paste the description text from content area to the description areas.  Sorry, you can not cut & paste the jump text, so set the jumps and then delete the jump material in content. 
# Edit down a PowerPoint that was designed to run off a CD and import it as the basis of a lesson. Sometimes creating a new PowerPoint is easier than cleaning up an old one.
# [http://moodle.org/mod/forum/discuss.php?d=95867#p424128 A form post] with a zip file called ImportPPT_Stuff. This file contains a simple 3 slide PowerPoint presentation and another zip file of the Web Page folder that the presentation created. The PowerPoint was 2003 SP-2. Once "Stuff" is unpacked, the "ImportPPT_2003_test_1_files.zip" worked in demo.moodle.org which was Moodle 1.9 in May 2008.
==Tweak for PowerPoint 2003==
No tweaks are necessary if you are importing PowerPoint 2003 into 1.9.
==Moodle 1.6 ==
{{Moodle 1.6}}
Here are the steps to import a PowerPoint presentation into a Moodle lesson. Tested with Moodle 1.6 and 1.7 and Powerpoint 2003 (MS Office 2003) as given by Joseph Rézeau in the Lesson Forum.


===ImportPPT.php change===
==An alternative method of importing presentation pages==
If you want to use presentations made with PowerPoint 2003 you'll have to make a minor change in file moodle\mod\lesson\importppt.php around line 135.
It is possible to save presentation slides as images by selecting an image file type such as .png from the ''save as...'' drop down menu in either Powerpoint or Open/Libre Office. These images can then be embedded into individual content pages of a lesson. As with the previous Powerpoint 2003 option however; this is only suitable for plain text and images. Animations/transitions will not work and care also must be taken regarding the dimensions and loading time of the images in each content page.
;
Replace: unzip_file($base.$zipfile, $base, false)
 
with: unzip_file($base.$zipfile, $base.$dirname, false);
 
===Instructions ===
The instructions below works in Moodle 1.6 and 1.7 and are the same for presentations created with versions of PowerPoint prior to MS Office 2003. Remember to make the code adjustment in ImportPPT if you wish only to use PowerPoint 2003.
 
#Create a PowerPoint presentation called e.g. myPresentation.ppt (possiby including embedded images).
#Save your PowerPoint presentation as html pages
#PowerPoint will create (in your chosen destination):
##one myPresentation.htm file
## one myPresentation_files folder (this folder would be called myPresentation_fichiers with a French version of Windows, etc.)
#Then zip the entire myPresentation_files folder to a myPresentation_files.zip file. You do not need the myPresentation.htm file.
# In your Moodle course, in Edit mode, Add an activity, Add a lesson, give it a name and set its parameters.
# On the following screen you are given a choice of: What would you like to do first?
## Import questions
## Import PowerPoint
## Add a Branch Table
## Add a Question Page
# Select Import PowerPoint. On the next screen, upload the myPresentation_files.zip file. Et voila!
 
The above instructions works in Moodle 1.6 and 1.7 without any changes for presentations created with versions of PowerPoint prior to MS Office 2003. Remember to make the code adjustment in ImportPPT if you wish only to use PowerPoint 2003.
 
==Legacy method of importing==
There is a manual way of adding what looks like an OpenOffice Impress or Microsoft PowerPoint slide to a Lesson page.  This is useful when only a few slides need to be imported and something like a screen capture of the slide image will work.  Experienced users report that depending upon the version of Moodle, the screen refresh rate and the number of slides, this process averages between 2 - 3 minutes per created lesson page. 
 
===OpenOffice Impress (OOI)===
1 After creating a presentation or importing a PowerPoint<br>
2 Export OOI presentation as web page<br>
3 Make a note of the folder which was created<br>
4 Create a lesson page<br>
5 Use insert an image process [[Insert image]]<br>
:The OOI page will be called something like img1.jpg<br>
6 Tip - create a zip file of selected jpg files and upload and unpack that in the files area
 
===Microsoft PowerPoint (PPT)===
1 After creating a web folder (see The instructions above)<br>
2 Create a lesson page<br>
3 Use insert an picture process [[Insert image]]<br>
:Look for a file in the web folder called something like slide0001.htm<br>
4 Tip - create a zip file of selected htm files and upload and unpack that in the files area


==See also==
==See also==


*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=24572 Import Powerpoint html to lesson] forum discussion
*[http://moodle.org/mod/forum/discuss.php?d=95867#p424128 Lesson Forum thread] with a sample zip to import and PowerPoint for download as "ImportPPT_Stuff" zip file.
*Moodle docs on [[PowerPoint]]
* See MDL-15755 for a simple PowerPoint and a zip file that was created using the PowerPoint. The zip file is ready to be imported.  Useful to see if other parts of a Moodle site are working and to see an example of what does work.  Try importing this via demo.moodle.org .
* See MDL-5655 for a very rough and not complete attempt at a hack to import OOImpress webpages.
* See MDL-10513 for a hack that imports a series of images in alpha order. There are test files. Requires renaming importimg.php to replace the importppt.php file in lesson.  This replaces the standard import text function of importppt.  See page comment "MDL 10513"
* MDL-17413 to vote for an improvement to insert (by importing) a series of pictures or a series of text pages into a series of lesson branch pages at any point in the lesson. (Like a series of questions).  
* MDL-17413 to vote for an improvement to insert (by importing) a series of pictures or a series of text pages into a series of lesson branch pages at any point in the lesson. (Like a series of questions).  
* [[Inserting content into a lesson activity]] - some alternatives suggested in Lesson forum


[[Category:Teacher]]
[[Category:Teacher]]
[[Category:Lesson]]
[[Category:Lesson]]
 
[[fr:Importer un fichier PowerPoint]]
[[de:PowerPoint_importieren]]
[[de:PowerPoint importieren]]

Revisió de 19:21, 18 oct 2012


Importing a Powerpoint presentation

If your Moodle 2.3 installation dates from before October 18th 2012, you will have an option "Import Powerpoint" in your Lesson settings.

It has been removed since, as it does not work. See tracker MDL-21801

NOTE: If you simply wish to display a Powerpoint in your course, then see File.

The following page explains alternatives for Moodlers who still have the "Import Powerpoint" option.


Powerpoint 2003 Instructions

It is possible to import Powerpoint 2003 presentations but animations and transitions are not retained.

  1. Create your MS Powerpoint 2003 presentation.
    • In the "File" menu click on "Save as Webpage"
    • Change or note "Save In" setting location and name
      • The Save "file type" should be "Web Page"
    • Click on "Save"
      • This will create a file and a folder. The HTML file has links to files in the new folder of the same name as the HTML file.
  2. Using Windows Explorer or your favorite program
    • Zip the new folder that contains the webpage files ***NB - DO NOT INCLUDE THE HTML FILE OR THE IMPORT WILL FAIL***
      • This is the file you will import into a new lesson.


Moodle instructions

After you have created the zip file above

  • Add a new Lesson activity to a course; set the settings; save settings
    • This will bring you to a screen with several choices
  • Select "Import PowerPoint"
  • Use the browse button to select the zipped file that contains the webpage folder
  • Select "Continue"
  • Start editing the Content pages

Basic tips

  1. Keep it simple: text only is best
    • No page numbers (see masterslide)
    • No text boxes with graphic or filled backgrounds
    • Masterslide content will not import, but delete all the footers
    • Watermarks and text over graphics is probably not a good idea
    • It will import some bullet formats but not all
    • It probably does not like "special characters" (any non-english letters)
  2. Graphic images can be imported as a part of the presentation but
    • Graphic images will have to be moved in the Lesson page
    • More than one graphic image might not always import to a Lesson page

An alternative method of importing presentation pages

It is possible to save presentation slides as images by selecting an image file type such as .png from the save as... drop down menu in either Powerpoint or Open/Libre Office. These images can then be embedded into individual content pages of a lesson. As with the previous Powerpoint 2003 option however; this is only suitable for plain text and images. Animations/transitions will not work and care also must be taken regarding the dimensions and loading time of the images in each content page.

See also

  • MDL-17413 to vote for an improvement to insert (by importing) a series of pictures or a series of text pages into a series of lesson branch pages at any point in the lesson. (Like a series of questions).
  • Inserting content into a lesson activity - some alternatives suggested in Lesson forum