【文件属性】:
文件名称:feedster:在 Node.js 中轻松生成 RSS 提要
文件大小:21KB
文件格式:ZIP
更新时间:2021-06-18 04:55:37
JavaScript
饲养员
在 Node.js 中轻松生成 RSS 提要,支持最常用的 RSS 扩展,如用于播客生成的itunes 。
安装
从安装:
npm install feedster --save
TL; 博士
生成最小 RSS 提要的示例脚本:
var feedster = require ( 'feedster' ) ;
// create feed with required elements
var feed = feedster . createFeed ( {
title : 'My Awesome Blog'
description : 'The best blog you have ever seen'
link : 'http://path/to/blog'
} ) ;
// add new item to the feed
feed . addIt
【文件预览】:
feedster-master
----.travis.yml(148B)
----package.json(784B)
----test()
--------feedster-test.js(25KB)
----LICENSE(931B)
----Gruntfile.js(663B)
----examples()
--------full.js(5KB)
--------simple.js(577B)
--------podcast.js(1KB)
----.gitignore(37B)
----lib()
--------feedster.js(26KB)
----README.md(19KB)
----.jshintrc(318B)