-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct handling of "source" #63
Comments
(not ignoring - this one requires 💭 ) |
Per @alexcpsec - turn |
I've played a little with the config files and I've produced a poc code in a local branch to address this issue. Basically I've added the feeds to the config file, like:
Then Next I've improved For example in the config the user can now define the preferred parsed function like so:
This behaviour should be a good starting point to implement a plugin system in which the parser's are read from other modules. Please let me know if you like this approach, you can find the code in https://github.com/gbrindisi/combine/tree/labeled-feeds Hopefully I'll be able to tidy up the code a bit more tomorrow. |
I was thinking about this today while I was working to merge your stuff and I share your thoughts on this. I'll have a look at your stuff tonight and comment on some other suggestions. On Sun, Oct 12, 2014 at 11:28 AM, Gianluca Brindisi
This e-mail message and any files transmitted with it contain legally |
I like the idea of paving the way for plugins. The |
Just to put some perspective, this is the test configuration I've used (most of the entries are commented out):
Also I've used the |
I like having that confined to the categories / sections much better than having the names. But I am reminded that there are two hard things in computer science: cache invalidation, naming things, and off-by-one errors. |
I've made a pull request to discuss it better: #86 |
Today, the "source" field corresponds to the URL from where the indicator was gathered from.
According to the docs (and to my opinion :P) it should be an identifying string that describes that source and that should be documented on the Wiki. It bothers me because I cannot match these sources up with the data we provided for the tiq-test samples, so it is an enhancement and a bug at the same time...
Perhaps the
thresher_map
should be the place for that or somewhere equivalent on the plugin system from #23. Is there a short term solution to this that does not require waiting for the plugin refactoring?The text was updated successfully, but these errors were encountered: