HTML页面中的Powerpoint幻灯片放映 [英] Power point slide show in html page

查看:205
本文介绍了HTML页面中的Powerpoint幻灯片放映的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个简单的HTML页面.

在此页面中,用户可以查看"PowerPoint"文件.

用户只需要向其传递一个pptx文件路径,它应该会自动显示图片并显示为"slideshare.com".

请指导我该怎么做?

谢谢

I need to create a simple HTML page.

In this page, user can view "PowerPoint" file.

User just have to pass it a pptx file path and it should auto pic and display just as "slideshare.com".

Please guide me how I do this?

Thanks

推荐答案

第一答案
使用google.

我已经搜索了:show powerpoint in html

结果很有趣:

第一个更进一步:它可以用作简报,但仅是HTML和XHTML: http: //www.w3.org/Talks/Tools/Slidy2/#(1) [ ^ ]


这来自圣地亚哥州立大学: http://www-rohan.sdsu. edu/〜bats/PDF/Students/Ppt/Ppt_HTML_97_98.pdf [ ^ ]

选中此复选框,以获取有关您要执行的操作的想法: http://www.boutell.com/newfaq/creating/powerpointtoweb.html [^ ]

而且,您还可以从Stack Overflow(grrrr)进行检查,它向您展示了一种利用google文档来实现这一目标的方法: http://phppowerpoint.codeplex.com/ [ EasyPHP [ ^ ].
XAMPP [ ^ ].

两种软件都安装了基本服务器功能,以与您要实现的大多数MySQL,PHP等Web页面一起使用.

通常,我最后使用一个好的文本编辑器(Notepad ++,Ultraedit,Scite ...)来编辑代码,然后使用EasyPHP来使用PHP.然后有大量的firefox扩展程序可以检查页面的行为.

第四答案
FIRST ANSWER
Use google.

I''ve searched for: show powerpoint in html

and the results have been interesting:

This first one goes a little bit further: it works as powerpoint but it is only HTML and XHTML: http://www.w3.org/Talks/Tools/Slidy2/#(1)[^]


This is from the San Diego State university: http://www-rohan.sdsu.edu/~bats/PDF/Students/Ppt/Ppt_HTML_97_98.pdf[^]

Check this one for thoughts on what you want to do: http://www.boutell.com/newfaq/creating/powerpointtoweb.html[^]

And you can also check this from Stack Overflow (grrrr) which shows you a way of taking advantage of google docs to make that: http://stackoverflow.com/questions/39855/embed-a-powerpoint-presentation-into-html[^]

SECOND ANSWER
Use Google.

I''ve searched for that and: http://phppowerpoint.codeplex.com/[^] shows examples on how to use it.

Of course you''ve tagged your question as HTML and Powerpoint and this is not including PHP in any way.

THIRD ANSWER
PHP is a server side language. You don''t need a server to work with HTML as HTML is processed directly from your browser. Then, in order to use PHP you need a PHP server.

See:
EasyPHP[^].
XAMPP[^].

Both softwares install the basic server functionality to work with most of the MySQL, PHP, ... web pages you would like to implement.

Typically I end up by using a good text editor (Notepad++, Ultraedit, Scite...) to edit the code and EasyPHP to be able to use PHP. Then there are tons of firefox extensions to check the behavior of the pages.

FOURTH ANSWER
报价:

在使用PHPPowerPoint之前,应满足以下要求:
* PHP 5.2或更高版本
*已启用PHP扩展名php_zip
* PHP扩展php_xml已启用

The following requirements should be met prior to using PHPPowerPoint:
* PHP version 5.2 or higher
* PHP extension php_zip enabled
* PHP extension php_xml enabled

好吧,在EasyPHP中,您可以通过编辑PHP的配置来激活它们.右键单击通知托盘中的E图标,然后选择Configuration ==>. PHP.我不知道该如何与其他人一起做.无论如何,您将非常容易在Google中找到激活php_zip" + WAMP或EASYPHP或XAMPP.
您要使用的PHP库肯定可以正常工作,您可能必须激活一些扩展.
确保这些扩展将在您的生产服务器中可用.如果将它们安装在Windows计算机中,进行所有编程,然后将所有内容安装在生产服务器中,则在那里将无法正常工作,这将是一个问题.与服务器公司的人员交谈.

总而言之,安装您喜欢的rpogramming环境(EasyPHP,XAMPP,WAMP ...),然后对其进行更新.之后,在其帮助页面中查看如何激活其扩展程序并开始使用它.

作为旁注,请参见:
http://www.php.net/ [ ^ ]
http://www.w3schools.com/php/default.asp [ http://blog.maartenballiauw. be/post/2009/04/27/PHPPowerPoint-010-(CTP1)-发布!.aspx [ http://blog.maartenballiauw.be/post/2009/04/27/PHPPowerPoint-010-(CTP1)-发布!.aspx [

Well, in EasyPHP you can activate them by editing the configuration of PHP. Right click on the E icon int the notification tray and select Configuration ==> PHP. I don''t know how to do it with the other ones. Anyway, it will be extremely easy for you to find in google "activate php_zip" + WAMP or EASYPHP or XAMPP.
The PHP library you want to use will work for sure, you will probably have to activate some extensions.
Ensure that those extensions will be available in your production server. It would be an issue if you install them in your windows computer, you make all the programming and then you install everything in your production server and nothing works there. Speak with the guys at your server company.

All in all, install the rpogramming environment you prefer (EasyPHP, XAMPP, WAMP...) and then update it. After that see in their help pages how to activate their extensions and start working with it.

as a side note see:
http://www.php.net/[^]
http://www.w3schools.com/php/default.asp[^]

Those are good PHP resources when it''s time to learn how to work with it.

FIFTH ANSWER
Take a look here: http://blog.maartenballiauw.be/post/2009/04/27/PHPPowerPoint-010-(CTP1)-released!.aspx[^]

See that: http://blog.maartenballiauw.be/post/2009/04/27/PHPPowerPoint-010-(CTP1)-released!.aspx[^]

And follow the advice: download the codeplex PHPPowerpoint and use the samples that are there. It seems that you should see test samples that will show you how to use it.

SIXT ANSWER
Given the fact you are working with PHP, and that with PHP echo('''') is used to show things in the web page, it is quite normal...
It seems you are creating a slideshow and showing (via echo calls) the status of this creation to the user.
I''m sorry, as I told you I''ve never worked with that library. Try to find another sample in order to advance...
I can see that the code you pasted is not the complete code: I can''t see the name of the file you are working with, neither the first word is correct (it lacks the


objPHPPowerPoint->),而且我可以看到它在
objPHPPowerPoint->) and I can see that it finishes at


currentslide = which处完成,似乎无处可做...

我会说:阅读示例以及那里的信息,如果需要帮助,请粘贴整个示例.

我不是在这方面提供深入帮助的合适人选(我的帖子一直在为您提供有关如何进行工作的指导和建议).

所以如果我是你,我会:

1.完整阅读样本.
2.尝试了解它们的工作方式.
3.运行它们,看看它们是否或多或少是您感兴趣的内容.
4.当您有特定问题时,请返回CP的问答"部分并发布新问题. (请务必遵循准则).

祝你好运.
currentslide = which that seems to go nowhere...

I would say: read the samples and the information that will be there, paste the entire sample if you need help.

I''m not the right one to give deep level help on that (my post has been only giving you pointers and advice on how I would proceed).

So if I were you I would:

1. read the samples completely.
2. try to understand how they work.
3. run them and see if they are more or less what you are interested in.
4. when you have a specfic question come back to the Q&A section of CP and post a new question. (remember to follow the guidelines).

Good luck.


这篇关于HTML页面中的Powerpoint幻灯片放映的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆