Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

teian/TwitterContestScore

Repository files navigation

TwitterContestScore

Almost realtime scoring aggregation via twitter for the Connichi Exclusive AMV contest but can most possibly used for other contest related stuff

Minimal requirements

PHP 5.4+ with curl and PDO (mysql) extension MYSQL 5.4+

The application might work with a lower version of php/mysql, but I will never test against those legacy versions.

Install

Change the database configuration in ./config/db.php

Run:

composer global require "fxp/composer-asset-plugin:~1.0.0"
composer install
yiic migrate

Cron:

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

*/1 * * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /TwitterContestScore/yii crawler 1> /dev/null

This executes the pulling and parsing of tweets every minute

Regex Examples

http://regex101.com/r/tL0xJ5/2 - ID matching http://regex101.com/r/cB6oU6/7 - Rating matching

License

Aside from the Framework and Plugins all the code is released under the following license

"THE BEER-WARE LICENSE" fg@randomlol.de wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. Frank Gehann

About

Almost realtime scoring aggregation via twitter for the Connichi Exclusive AMV contest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages