<commit_before><template>
    <div class="uk-form uk-form-horizontal-large">
        <div class="uk-margin uk-flex uk-flex-middle uk-flex-space-between">
            <h3 class="uk-margin-remove uk-flex-item-1">{{ 'Instellingen' | trans }} {{ module.label }}</h3>
            <info-icon url="//www.sjow.me/module-nieuws/"
                       :title="$trans('Meer informatie')"></info-icon>
        </div>

        <div :id="settings_id" class="uk-grid uk-grid-width-medium-1-2" data-uk-grid-margin>
            <div>
                <partial name="module-settings"></partial>

            </div>
            <div>

                <div class="uk-form-row">
                    <span class="uk-form-label">{{ 'RSS bronnen' | trans }}</span>
                    <div class="uk-form-controls">
                        <p v-for="provider in config.providers" class="uk-form-controls-condensed">
                            <label><input type="checkbox" v-model="provider.active" class="uk-margin-small-right"/>
                                {{ provider.name }}
                            </label>
                            <span v-if="$key === 'custom' && provider.active" class="uk-display-block uk-margin-small-top">
                                <input type="url" v-model="provider.url" class="uk-form-width-medium"/>
                            </span>
                        </p>
                    </div>
                </div>

                <fields :model.sync="config" :config="module.fields.config" template="formrow"></fields>


            </div>
        </div>

    </div>
</template>
<script>

    var moduleMixin = require('../mixin-settings');

    module.exports = {

        mixins: [moduleMixin],

    }
<commit_msg>Added methods to settings in rss.<commit_after><template>
    <div class="uk-form uk-form-horizontal-large">
        <div class="uk-margin uk-flex uk-flex-middle uk-flex-space-between">
            <h3 class="uk-margin-remove uk-flex-item-1">{{ 'Instellingen' | trans }} {{ module.label }}</h3>
            <info-icon url="//www.sjow.me/module-nieuws/"
                       :title="$trans('Meer informatie')"></info-icon>
        </div>

        <div :id="settings_id" class="uk-grid uk-grid-width-medium-1-2" data-uk-grid-margin>
            <div>
                <partial name="module-settings"></partial>

            </div>
            <div>

                <div class="uk-form-row">
                    <span class="uk-form-label">{{ 'RSS bronnen' | trans }}</span>
                    <div class="uk-form-controls">
                        <p v-for="provider in config.providers" class="uk-form-controls-condensed">
                            <label><input type="checkbox" v-model="provider.active" class="uk-margin-small-right"/>
                                {{ provider.name }}
                            </label>
                            <span v-if="$key === 'custom' && provider.active" class="uk-display-block uk-margin-small-top">
                                <input type="url" v-model="provider.url" class="uk-form-width-medium"/>
                            </span>
                        </p>
                    </div>
                </div>

                <fields :model.sync="config" :config="module.fields.config" template="formrow"></fields>


            </div>
        </div>

    </div>
</template>
<script>

    var moduleMixin = require('../mixin-settings');

    module.exports = {

        mixins: [moduleMixin],
		
		methods: {
            getFeeds() {
                this.$parent.moduleCommand('rss', 'getFeeds', {count: this.config.count, max_length: this.config.max_length});
            }
        }

    }

{'fraction_non_alphanumeric': 0.1635135135135135, 'fraction_numerical': 0.002702702702702703, 'mean_word_length': 1.510854816824966, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2118998', 'n_tokens_mistral': 1083, 'n_tokens_neox': 1029, 'n_words': 175}