Presentation Viewer on django
Hi All, I am new to Django I need a complete way where I can allow the user to upload a ppt or pdf file and then in the template I show this file embedded Many Thanks, Amr -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Presentation Viewer on django
About PDF's you can use any PDF API for Python like reportlab and see examples like this: https://docs.djangoproject.com/en/dev/howto/outputting-pdf/?from=olddocs PPT is a proprietary and closed spec format from MS Powerpoint, probably you've to reverse engineering (or search for format spec) to write a view that can handle the information you want to extract. 2012/5/7 Amr Abdel-wahab > Hi All, > I am new to Django I need a complete way where I can allow the user to > upload a ppt or pdf file and then in the template I show this file > embedded > > Many Thanks, > Amr > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Presentation Viewer on django
There exists few tools that uses openoffice/libreoffice to convert those proprietary formats (doc, ppt, xls) so that you can show them on a web. See: http://www.boutell.com/newfaq/creating/powerpointtoweb.htmlfor starting point. On Mon, May 7, 2012 at 7:34 PM, Sandro Dutra wrote: > About PDF's you can use any PDF API for Python like reportlab and see > examples like this: > https://docs.djangoproject.com/en/dev/howto/outputting-pdf/?from=olddocs > > PPT is a proprietary and closed spec format from MS Powerpoint, probably > you've to reverse engineering (or search for format spec) to write a view > that can handle the information you want to extract. > > > 2012/5/7 Amr Abdel-wahab > >> Hi All, >> I am new to Django I need a complete way where I can allow the user to >> upload a ppt or pdf file and then in the template I show this file >> embedded >> >> Many Thanks, >> Amr >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to django-users@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Presentation Viewer on django
I don't want to generate a pdf/ppt or edit it I just need to upload it in one page and show it in a frame in another page in the browser -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Presentation Viewer on django
To be able to do that you have to convert your presentation to something more generic that can be shown. Plain HTML and Flash are two popular formats to do that. For a free solution you can use (headless) openoffice/liberoffice to automatically convert your ppt to html/flash and then show it on your page (inside frame). Another option is to make sure that you return correct mime-types for a (i)frame and then your users are required to have powerpoint installed on their machines to be able to show it in browser. And I think it only works for IE, not for FF/Chrome/Safari... On Tue, May 8, 2012 at 1:34 AM, Amr Abdel-wahab < amr.mohamed.abdelwa...@gmail.com> wrote: > I don't want to generate a pdf/ppt or edit it I just need to upload it > in one page and show it in a frame in another page in the browser > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.