MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Developer Wanted To Modify Default Newsfeed Module

    Scheduled Pinned Locked Moved Unsolved Requests
    31 Posts 9 Posters 8.1k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sifuhallS Offline
      sifuhall
      last edited by

      I would like to discuss prices with a developer to make make a new module based on the default newsfeed module with the following changes.

      Display image(s) included in the RSS feed.
      Add the ability to remove phrases from the description. For example, if the words “Get Ticket” appears in the description remove those words from the description.

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MMRIZE @sifuhall
        last edited by

        @sifuhall
        So, is this what you want similar?
        6919e1f1-b788-4571-9533-3c63e9348689-image.png

        If what you want is “censoring some improper articles”, it is already applied in original newsfeed module. (See prohibitedWords option)

        sifuhallS 1 Reply Last reply Reply Quote 0
        • sifuhallS Offline
          sifuhall @MMRIZE
          last edited by

          @MMRIZE
          Thanks for the reply!
          Yes, with the image, however I want to display in list view (like the newsfeed module can do as well).

          Regarding removing words, I only want to remove words, not remove the article. For example, one of the RSS feeds has a link that says Get Tickets. I would like the feed to not display Get Tickets on the mirror.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MMRIZE @sifuhall
            last edited by MMRIZE

            @sifuhall
            Maybe like this;
            4c00748e-9331-4f82-8354-00cd14adf777-image.png
            Some test words are censored and removed already, so you cannot see them in title (and in description). (test words are “FBI”, “in data”, ‘man’, “to”)

            Anyway, it is a tiny modification of the original Mich’s default module. So real monetized reward is not fair (at least, I think)
            You can get it here;
            https://github.com/MMRIZE/MMM-anotherNewsFeed

            But if you want more than the little modification, anyway contact me.

            sifuhallS G 2 Replies Last reply Reply Quote 1
            • sifuhallS Offline
              sifuhall @MMRIZE
              last edited by

              @MMRIZE Thank you! And of course I would love to pay you for your time.

              I do have a question. This works with the first RSS feed I tried but not the next. I validated the feed using a few online validators and the feed seems ok but it is never picked up.

              The feed is here:
              https://www.ccwky.org/parser/parser.php

              What is the best way to send payment?

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MMRIZE @sifuhall
                last edited by

                @sifuhall
                Yes, that is the issue of Feed.
                Each RSS1.0/RSS2.0/XML/ATOM feed has each standard syntax, but not strictly. So every feed provider (e.g. news site) serves slightly-similar-but-different-syntax-feed.
                Your link has NO IMAGE by definition of the standard syntax, but it has a common CDATA tag to contain an image in the description really. The image doesn’t belong to the article item layer itself, but to its subcomponent description layer. It might be a kind of exception rule.

                I can add some codes to pick up that kind of image from the description of the article. But before that, if I could know which feeds should the module parse, I can make a dedicated-efficient version for your usage. To make an all-bullet-proof version is somehow inefficient. Could you tell me which feed you are considering to show on MagicMirror?

                sifuhallS 2 Replies Last reply Reply Quote 0
                • sifuhallS Offline
                  sifuhall @MMRIZE
                  last edited by

                  @MMRIZE the feed I linked will be the final feed.

                  Please tell me how I can pay you

                  1 Reply Last reply Reply Quote 0
                  • sifuhallS Offline
                    sifuhall @MMRIZE
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • M MMRIZE referenced this topic on
                    • G Offline
                      greedyvegan @MMRIZE
                      last edited by

                      @MMRIZE said

                      4c00748e-9331-4f82-8354-00cd14adf777-image.png

                      how’d you add images to the article of the default news feed?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @greedyvegan
                        last edited by

                        @greedyvegan not default, see

                        https://forum.magicmirror.builders/post/102573

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        G 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 1 / 4
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy