This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
财新网设计师:数据新闻可视化经验谈 - http://www.36dsj.com/archives/6173 | |
react 深入浅出React(一):React的设计哲学 - 简单之美 http://www.infoq.com/cn/articles/react-art-of-simplity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATATABLES_LANGUAGE_CN = { //语言配置-中文 | |
"sLengthMenu": "每页显示 _MENU_ 条记录", | |
"sZeroRecords": "对不起,查询不到任何相关数据", | |
"sInfo": "当前显示 _START_ 到 _END_ 条,共 _TOTAL_ 条记录", | |
"sInfoEmpty": "找不到相关数据", | |
"sEmptyTable": "表中没有可用数据", | |
"sInfoFiltered": "数据表中共为 _MAX_ 条记录", | |
"sProcessing": "正在加载中...", | |
"sSearch": "搜索 ", // 后面加一个空格好看一点 | |
"oPaginate": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cheerio = require('cheerio') | |
var fs = require('fs') | |
var moment = require('moment') | |
var upndown = require('upndown') | |
var text = fs.readFileSync("blogs.xml", 'utf8') | |
var $ = cheerio.load(text) | |
var posts = $('post') |
NewerOlder