From dab7224807e2b8bb050e4598c7a146e2c451001d Mon Sep 17 00:00:00 2001 From: Geno Roupsky Date: Thu, 10 Nov 2016 21:18:13 +0200 Subject: [PATCH] regexes to extract facebook and frm links from event description --- config.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.json b/config.json index d6f354f..7b37638 100644 --- a/config.json +++ b/config.json @@ -28,5 +28,12 @@ "празненство", "празнуване" ] + }, + "-//meta": "collection of regexes to extract additional information for events", + "meta": { + "-//facebook": "link to facebook event", + "facebook": "((https?:)?//(www.)?facebook.com/events/d+)", + "-//frm": "link to frm.hackafe.org topic for the event", + "frm": "((https?:)?//frm.hackafe.org/t/[-a-zA-Z0-9]+/d+)" } }