Application and feeds parameters ################################ Application parameters are stored in ``config.yml`` file: .. code-block:: yaml twitter: consumerKey: '' consumerSecret: '' title: 'Twitter Search Feed:' link: 'https://twitter.com/search?q=' description: 'Twitter search results.' mastodon: url: 'https://mastodon.social' client_id_file: 'tootrss_clientcred.txt' access_token_file: 'tootrss_usercred.txt' app_name: 'tootrss' # Used to identify authenticated apps title: 'Mastodon Feed:' description: 'Mastodon generated feed from search.' feed: language: 'fr' author_name: '' feed_url: 'http://localhost:8080' timezone: 'Europe/Paris' text_length_limit: 100 max_items: 20 token: '' app: host: 'localhost' port: '8080' nb_workers: 2 # if not defined, the number is defined by the app Twitter ~~~~~~~ * **consumerKey** and **consumerSecret** : see https://developer.twitter.com/en/apps to create an app and get the keys * **title**: Feed title * **link**: Twitter search URL * **description**: Feed description Mastodon ~~~~~~~~ * **url**: Mastodon instance URL * **client_id_file** and **access_token_file**: credentials files generated by twootfeed script * **app_name**: app name registered by twootfeed script * **title**: Feed title * **description**: Feed description Feed ~~~~ * **language**: Feed language * **author_name**: Feed author * **feed_url**: Feed url * **timezone**: Feed timezone * **text_length_limit:** title length of a Feed item * **max_items**: maximum number of displayed items * **token**: token for feeds access (minimal length: 25 characters) App ~~~ * **host** and **port**: host and port used by Gunicorn (WSGI HTTP Server) * **nb_workers**: number of workers used by Gunicorn (not mandatory, if not defined, the number is calculated by the app)