zoukankan      html  css  js  c++  java
  • JavaScript 解析 xml 文件 如 rss订阅

    jFeed 是一个通用的 RSS/ATOM 解析器jQuery插件

    jFeed 支持 RSS 0.91, 0.92, 1.0, 2.0 和 Atom 1.0 等格式。

    使用方法:

    jQuery.getFeed(options);
       
       参数:
       
       * url: the feed URL (required).
       * data: data to be sent to the server. See jQuery.ajax data property.
       * success: a function to be called if the request succeeds.
         The function gets passed one argument: the JFeed object.
       
       使用示例:
       
       jQuery.getFeed({
           url: 'rss.xml',
           success: function(feed) {
               alert(feed.title);
           }
       });

    附原文件实例地址:http://download.csdn.net/source/2898662

  • 相关阅读:
    git切换到指定分支,git新建分支与合并
    别克英朗更换空调滤网与发动机空气滤网
    杭州市浙A区域号牌正则表达式
    新史记·特斯拉怒怼民女传
    史记 袁隆平传
    抵押贷款国五车辆,非浙A(外地)转浙A(摇号),本人名下电子转籍流程
    // TPLINK WR882N/TL-WR842N管理脚本
    netsh用法
    百度AI车号牌照片识别
    .htaccess 301重定向 http https 多域名
  • 原文地址:https://www.cnblogs.com/huozhicheng/p/2533165.html
Copyright © 2011-2022 走看看