Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jquerygooglefeed插件,无输出_Jquery_Ajax_Google Feed Api - Fatal编程技术网

jquerygooglefeed插件,无输出

jquerygooglefeed插件,无输出,jquery,ajax,google-feed-api,Jquery,Ajax,Google Feed Api,我正在使用输出RSS提要。我以前成功地使用过这个替代方案,但不幸的是我遇到了一点问题。RSS源拒绝输出到指定的div。我已使用Google Reader确认该源显示正确 我的网站是http://removed/index我还查阅了[Google Feed API开发者页面][3] 这是我的代码: <script type="text/javascript" src="https://www.google.com/jsapi"></script> <!-- inclu

我正在使用输出RSS提要。我以前成功地使用过这个替代方案,但不幸的是我遇到了一点问题。RSS源拒绝输出到指定的div。我已使用Google Reader确认该源显示正确

我的网站是
http://removed/index
我还查阅了[Google Feed API开发者页面][3]

这是我的代码:

<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<!-- include this plugin -->
<script type="text/javascript" src="jquery.gfeed.js"></script>
<script type="text/javascript">


 // when the DOM is ready, convert the feed anchors into feed content
  $(document).ready(function() {
   // add a feed manually
    $('#feeds').gFeed({ 
       url: 'https://www.phpbb.com/community/feed.php?mode=news',
         title: 'A List Apart Feed (Added by Brute Force)'
     });    
    });
    </script>

     <div id="feeds">

     </div>

//DOM就绪后,将提要锚定转换为提要内容
$(文档).ready(函数(){
//手动添加提要
$('#feed').gFeed({
网址:'https://www.phpbb.com/community/feed.php?mode=news',
标题:“列表分离提要(由暴力添加)”
});    
});

JQuery-gFeed插件非常古老(2007年),它使用FeedControl,我认为这是谷歌不赞成的

我建议使用,然后使用以下代码:

$('#feeds').feeds({
    feeds: {
        feed1: 'https://www.phpbb.com/community/feed.php?mode=news'
    }
});​

.

JQuery-gFeed插件非常古老(2007年),它使用FeedControl,我认为这是谷歌不赞成的

我建议使用,然后使用以下代码:

$('#feeds').feeds({
    feeds: {
        feed1: 'https://www.phpbb.com/community/feed.php?mode=news'
    }
});​

.

谢谢你的更新..我肯定会把它加入书签。我又一次陷入了另一个难题。结果是我把jquery.feeds.min放在了jquery.js之前。切换了订单和中提琴。谢谢更新。我肯定会把它加入书签。我又一次陷入了另一个难题。结果是我把jquery.feeds.min放在了jquery.js之前。改变了顺序,维奥拉。