GithubHelp home page GithubHelp logo

Comments (5)

impredicative avatar impredicative commented on June 1, 2024 1

Per our discussion, the high-level consensus thus far is to add a config option to allow customizing a feed name's foreground color.

from irc-rss-feed-bot.

impredicative avatar impredicative commented on June 1, 2024

It is not clear why one feed would need to have its posts formatted inconsistently as "{title} -> {url}". Please provide a reason for this per-feed inconsistency. I basically need more motivation to implement any feature request. I need an understanding of how it would be useful.

from irc-rss-feed-bot.

FingerlessGlov3s avatar FingerlessGlov3s commented on June 1, 2024

Well you probably wouldn't but you might change the colours per RSS feed. If you wanted to have a colour system perhaps. Where one rss type is red, another blue etc. or one RSS has *** in to mark it clearer as maybe an more important feed.

Idea being you can create your custom message, without yourself needing to hard code it in.
So the owner of the bot can customise how the message is formatted without you having to code it in.

Few user customisation examples below of what people could put.
default (if message-format not set, which is how it in currently): "[{feedname}] {title} -> {url}"
Example1: "{feedname} {title} -> {url}"
Example2: "{feedname} {title} -> {url}"
Example2: "**** [{feedname}] {title} -> {url}"
Example3: "{title} -> {url}"
Example4: "{title} ({url})"
Example5: "[^orange^{feedname}^/orange^] {title} -> {url}"
Example6: "[^orange^^bold^{feedname}^/bold^/orange^] {title} -> {url}"

So by letting the user type in their own custom formatted message then they can do any number of customisations.
My colour tags are examples, I doubt that's how you do colours in miniirc
I would include colour example but I'm not sure how colours are defined in miniirc

from irc-rss-feed-bot.

FingerlessGlov3s avatar FingerlessGlov3s commented on June 1, 2024

Sounds good to me :-)

from irc-rss-feed-bot.

impredicative avatar impredicative commented on June 1, 2024

0.3.16 now supports fg color, bg color, and bold formatting for the feed name. The readme has an example.

from irc-rss-feed-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.