Skip to content

lorensr/dartwiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dfd

code to scrape the dartmouth faculty directory and import it into dartwiki.org. complicated by a limited hosting environment. i first ran dfd.rb, which scrapes and saves the objects, then transferred them to the dartwiki server, then ran the mediawiki php commands to import the pictures and page text.

courses

scrapes registrar’s median pages going back to around 2000 and current orc. to get an up-to-date version, run:

cd courses/test/
rm dump
ruby course_set_test.rb -n test_update

this creates a ‘dump’ file containing a CourseSet object.

ruby course_set_test.rb -n test_print

prints the ‘dump’ file in text format

rm course_set.json
ruby course_set_test.rb -n test_json

creates a new course_set.json file containing the CourseSet in json format.

About

scripts for dartwiki.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages