0.1.0 • Published 9 years ago

hubot-zhihu-daily v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

hubot-zhihu-daily

A simple hubot script for zhihu daily

##Demo

###Using hubot-zhihu-daily with shell adapter npm.io

###Using hubot-zhihu-daily with hipchat adapter npm.io

##Installation There are two ways to install this script.

###As a external script First, install the script via npm

npm install hubot-zhihu-daily --save

Then, append a name hubot-zhihu-daily to external-scripts.json

["hubot-zhihu-daily"]

###As a bundled script Clone this repo, then copy the file zhihu-daily.coffee into directory scripts under your Hubot root directory.

Done.

##Commands

hubot zhihu today
hubot zhihu latest <count>
hubot zhihu before yyyymmdd

###Example ####Get all the articles of today (only titles and link)

hubot zhihu today

####Get the latest 3 articles from zhihu (with images)

hubot zhihu latest 3

####Get all the messages posted on 2015/03/14 (only titles and link)

hubot zhihu before 20150315