Skip to content
GeekMs node notifier is a project developed with Node using javascript ES6
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
common
config
constants
handlers
images
parser
services
specs
.gitignore
.travis.yml
README.md
_config.yml
boot.js
main.js
package.json

README.md

Build Status

GEEK MS NODE NOTIFIER

GeekMs node notifier is a project developed with Node using javascript ES6

alt tag



The program queries the geek ms blog site and show a popup notification whenever a new post has been added.



UPDATE: Rss has been added to Geeks blogs and a new client for XML has been added to notifier.

To swap parsers (HTML or XML) use the config file:



module.exports = {    
    DEFAULT_TOAST_TITLE : "GeeksMs Notifier",
    POST_STORE_PATH : "c:\\temp",
    POST_STORE_FILE : "poststore.json",
    CRAWL_INTERVAL : 300000,
    DIRECTORY_PERMISION: "0744",
    CLIENT: "xmlClient" // xmlClient for RSS parser and htmlClient for html parser
}

Current Clients:

  htmlClient : {
            parser: "GeekParser",
            url: "http://geeks.ms/blogs"
        },
        xmlClient: {
            parser: "GeekRSSParser",
            url: "http://geeks.ms/rss/mainfeed"
        }



Crawling interval, temporal store path and file can be configured in config/appConfig.js settings.

The following libraries have been used to create this project:

  • axios

  • cheerio

  • xml2js

  • node eventEmitter

  • fs

  • node-notifier



Installation:



npm install

npm install forever -g

forever start boot.js (To daemonize execution)

You can’t perform that action at this time.