/* CONFIGURATION FILE USED BY BOTH CLIENT AND SERVER */

var app_port = 8000,
    sqlfile = "politique.sqlite",
    tracking_keyword = "Hervé Morin,Eva Joly,Hollande,Sarkozy,Mélenchon,Bayrou,Villepin,Le Pen",
    annotations = {
        "default" : {
            "colors" : {
                "tweet" : "#ffffff",
                "timeline" : "#808080"
            }
        },
        "droite" : {
            "keywords" : [ /\bump\b/i, /sarkozy/i ],
            "colors" : {
                "tweet" : "#ddddff",
                "timeline" : "#000080"
            }
        },
        "gauche" : {
            "keywords" : [ /hollande/i, /mélenchon/i, /melenchon/i, /gauche/i, /\bps\b/i, /socialiste/i ],
            "colors" : {
                "tweet" : "#ffdddd",
                "timeline" : "#800000"
            }
        },
        "centre" : {
            "keywords" : [ /modem/i, /centre/i, /morin/i, /bayrou/i ],
            "colors" : {
                "tweet" : "#ffeedd",
                "timeline" : "#ff8000"
            }
        },
        "verts" : {
            "keywords" : [ /eelv/i, /joly/i, /écologiste/i, /ecologiste/i, /les verts/i ],
            "colors" : {
                "tweet" : "#ddffdd",
                "timeline" : "#008000"
            }
        },
        "extremeDroite" : {
            "keywords" : [ /le pen/i, /extreme\-droite/i, /extrême\-droite/i, /front national/i, /\bfn\b/i, /marine/i ],
            "colors" : {
                "tweet" : "#e0d8d0",
                "timeline" : "#402000"
            }
        }
    }