如何将(旧)推文嵌入演示文稿中?

时间:2018-03-11 14:05:43

标签: powerpoint reveal.js presentation beamer

在演示文稿中,我想创建一个Twitter时间轴,其中包含一些选定的推文。在最好的情况下,它应该看起来很自然,就像有人在自己的计算机上访问Twitter或在智能手机上看到它一样。

我在其余的幻灯片中使用LateX Beamer,但如果它是另一个允许导出我可以包含在LateX中的PDF /图像的软件,我会很灵活。

(关于如何在PowerPoint / Keynote中整合实时推文有很多工具,但我想为历史推文做这些工作,并且在演示期间会离线。)

我正在尝试以下方法: - 只需截取推文的屏幕截图并在LateX或PowerPoint中进行排列。看起来不错,但不是很好,而且非常麻烦。

  • 由于可以提取推文的html以嵌入主页,我想为演示文稿做这个。不幸的是,我对html / reveal.js的演示文稿了解不多。

是否有人为类似的问题找到了一个好的解决方案?

编辑:

我启动了reveal.js并找到了以下插件:https://github.com/rajgoel/reveal.js-plugins/tree/master/embed-tweet

然后我尝试应用它并按照介绍来揭示.js并将插件的源代码保存到我的plugin文件夹中的reveal.js。但是,它不起作用(=返回html中的空白页)。任何人都能指出我的错误吗? (对于reveal.js / html我是全新的,如果它是基本的那么对不起?)

<!doctype html>
<html lang="en">    
<head>
    <meta charset="utf-8">
    <title>Reveal.js 3 Slide Demo</title>
    <link rel="stylesheet" href="css/reveal.min.css">
    <link rel="stylesheet" href="css/theme/default.css" id="theme"> 
    <!--Add support for earlier versions of Internet Explorer -->
    <!--[if lt IE 9]>
    <script src="lib/js/html5shiv.js"></script>
    <![endif]-->
</head>

<body>
    <!-- Wrap the entire slide show in a div using the "reveal" class. -->
    <div class="reveal">
        <!-- Wrap all slides in a single "slides" class -->
        <div class="slides">

            <!-- ALL SLIDES GO HERE -->
            <!-- Each section element contains an individual slide -->
            <section>
                <div class="tweet" data-src="https://twitter.com/marcfbellemare/status/972558957645631488"></div>
            </section>

        </div>
    </div>
    <script src="lib/js/head.min.js"></script>
    <script src="js/reveal.min.js"></script>

    <script>
        // Required, even if empty.
        Reveal.initialize({
            // ...
            dependencies: [
                // ... 
                { src: 'plugin/embed-tweet/embed-tweet.js' },
                // ... 
            ]
        });
     </script>
</body>
</html> 

0 个答案:

没有答案