豆瓣电影页面

1.douban文件夹放入wordpress跟目录
2.douban.php里填入豆瓣ID
3.创建豆瓣页面

<h1 style=”text-align: center;”>我看过的电影</h1>
<script type=”text/javascript”>
var head = document.getElementsByTagName(‘head’)[0];
var link = document.createElement(‘link’);
link.type=’text/css’;
link.rel = ‘stylesheet’;
link.href = ‘//www.dsecret.com/douban/assets/DoubanBoard.04.css’;
head.appendChild(link);
</script>
<script>var DoubanPageSize=20;</script>
<script type=”text/javascript” src=”//www.dsecret.com/douban/assets/jquery.min.js”></script>
<script type=”text/javascript” src=”//www.dsecret.com/douban/assets/DoubanBoard.04.js”></script>
<div id=”douban-movie-list” class=”doubanboard-list” style=”margin-top: -70px;”></div>

0

Related Posts

Comments

发表评论

电子邮件地址不会被公开。 必填项已用*标注