Skip to content

afl5c/tapdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TAP-DC Website

This is the code for tap-dc.org

Files

  • www/ -- all the front-end code
  • www/_*.html -- page fragments
  • www/*.html -- full pages
  • www/media/ -- all the pictures used on the website
  • www/lib/ -- all the 3rd-party dependencies (jquery, fonts, etc.)
  • ssi.js -- this is a simple Server-Side Includes server that I wrote in NodeJS
  • fb.py -- this is a bot I wrote in Python that scrapes events off Facebook and generates 3 page fragments: _upcoming.html _past.html _next.html

Running

node ssi.js

The server (ssi.js) automatically runs the bot (fb.py) every hour.

Notes

  • You will need to register for a Facebook app under your name and get a "client token" in order to use the bot (fb.py). Copy the token where it says token = '' (line 34).

  • Some instances of the TAP-DC logo are rendered using HTML, since I was unable to obtain hi-res images. The code is in _logo.html

  • Google Analytics snippet is embedded in _footer.html

About

The code for tap-dc.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published