Realtime monitor of Wordpress posts using db polling via Node.js and Socket.io on client
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
index.html
readme.markdown
server.js
wp_endpoint.php

readme.markdown

This is a proof of concept for running realtime apps off a WordPress database with high scalability

Setup:

sudo apt-get install node

npm install mysql npm install socket.io

In server.js, configure DB params from lines 8-11.

cd to dir, type node server.js

Visit http://hostname:1337 in the browser

The text will change color on every refresh. Save a new draft and it will show up on the page with the next color change.