Newsbeuter! Tried it yet?

Forum Forums General Software Newsbeuter! Tried it yet?

  • This topic has 10 replies, 3 voices, and was last updated Feb 25-4:56 pm by sleekmason.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #6734
    Member
    sleekmason

      *Quote”
      Newsbeuter is an RSS/Atom feed reader for text terminals. RSS and Atom are a
      number of widely-used XML formats to transmit, publish and syndicate articles,
      for example news or blog articles.

      Simply put, Newsbeuter allows me to get all of my news articles in the morning with a single click! It is a very powerful program with bunches of options. Best yet, It’s already in the antiX distro.

      In order to try it out, simply type newsbeuter into a terminal. antiX already contain a couple of example files, so no prior setup necessary to check it out.

      Now, that being said, you can also do the below customizations in ~/.newsbeuter.
      These are my own that provide a slightly better experience with colors and more sites.
      I am using Lynx for the web browser portion of this. All settings can be changed in ~/.newsbeuter/config including the default browser.

      apt-get install lynx
      You can use whatever browser you prefer, but lynx opens in the same window and uses the same basic navigation.
      Add more urls:
      Here is a list of urls you can try: put them in ~/.newsbeuter/urls

      http://feeds.feedburner.com/leninology
      http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml 
      http://rss.cnn.com/rss/cnn_topstories.rss 
      http://planet.debian.org/rss20.xml
      https://www.howtoforge.com/feed
      http://feeds.nytimes.com/nyt/rss/HomePage
      http://feeds.reuters.com/reuters/topNews
      http://hosted.ap.org/lineups/SCIENCEHEADS-rss_2.0.xml?SITE=OHLIM&SECTION=HOME
      http://feeds.wired.com/wired/index
      https://www.antixforum.com/feed/
      ###  This is for password example:    http://username:password@hostname.domain.tld/feed.rss

      Now for the configuration:
      Open a terminal and make a directory in ~/.newsbeuter for configuration:
      nano ~/.newsbeuter/config
      Add these items for a better experience, and a place to start making changes:

      auto-reload yes
      browser lynx
      cleanup-on-quit yes
      download-path "~/downloads/podcasts"
      notify-screen yes
      player mplayer
      refresh-on-startup yes
      reload-time 20
      reload-threads 2
      
      # Write error log
      error-log           "~/.newsbeuter/error.log"
      
      # binds ----------------------------------------------------------------
      
      unbind-key t
      unbind-key R
      bind-key \ reload-all
      bind-key "RIGHT" select-tag
      bind-key "SPACE" open
      
      # hide articles matching: ---------------------------------------------
      
      ignore-article "*" "title =~ \"Sponsor\""
      ignore-article "*" "title =~ \"Advertisement\""
      ignore-mode "display"
      
      # formatting and colorization ------------------------------------------
      
      articlelist-format "%4i %f %D  %?T?|%-17T| ?%t"
      
      highlight feedlist    "^  *[0-9]+  *N  "                    color156 default
      highlight articlelist "^  *[0-9]+  *N  "                    color156 default
      
      highlight article     "(^Feed:.*|^Title:.*|^Author:.*)"     color75  default
      highlight article     "(^Link:.*|^Date:.*)"                 color75  default
      highlight article     "^Podcast Download URL:.*"            color71  default
      highlight article     "^Links:"                             white    color240 underline
      highlight article     "\\[[0-9][0-9]*\\]"                   color72  default  bold
      highlight article     "\\[image [0-9][0-9]*\\]"             color72  default  bold
      highlight article     "\\[embedded flash: [0-9][0-9]*\\]"   color72  default  bold
      highlight article     ":.*\\(link\\)$"                      color74  default
      highlight article     ":.*\\(image\\)$"                     color74  default
      highlight article     ":.*\\(embedded flash\\)$"            color74  default
      
      color listnormal                                            white    default
      color listfocus                                             default  color240
      color info                                                  default  color240

      Add a line to your personal menu to open Newsbeuter. The one I use includes sizing the window a bit:)
      [exec] (Newsbeuter) {/usr/bin/lxterminal --geometry=102x44 -e newsbeuter}
      This opens an lxterminal with Newsbeuter.

      So, thats it! Let me know how newsbeuter is working for you.

      Would love it if people would post their config file and urls here for future reference!

      • This topic was modified 5 years, 2 months ago by sleekmason.
      #6764
      Member
      sleekmason
        Helpful
        Up
        0
        ::

        After messing with the colors for a while I have a more readable (for me at least), screen. Heres my personal config I thought I would share. Screenshot attached.

        ## sleekmason's Newsbeuter config
        ## 19 Feb. 2018
        auto-reload yes
        browser lynx
        cleanup-on-quit yes
        download-path "~/downloads/podcasts"
        notify-screen yes
        player mplayer
        refresh-on-startup yes
        reload-time 20
        reload-threads 2
        keep-articles-days 3
        max-items 100
        
        # Write error log
        error-log           "~/.newsbeuter/error.log"
        
        # binds ----------------------------------------------------------------
        
        unbind-key t
        unbind-key R
        bind-key \ reload-all
        bind-key RIGHT next article
        bind-key LEFT prev article
        bind-key / quit
        #bind-key "p" select-tag
        #bind-key space open
        #bind-key RIGHT next articlelist
        #bind-key LEFT prev articlelist
        #bind-key LEFT next-feed articlelist
        #bind-key RIGHT prev-feed articlelist
        # hide articles matching: ---------------------------------------------
        
        ignore-article "*" "title =~ \"Sponsor\""
        ignore-article "*" "title =~ \"Advertisement\""
        ignore-mode "display"
        
        # formatting and colorization ------------------------------------------
        
        articlelist-format "%4i %f %D  %?T?|%-17T| ?%t"
        
        highlight feedlist "^  *[0-9]+  *N  "                       color153   default
        highlight articlelist "^  *[0-9]+  *N  "                    color153   color66
        
        highlight article     "(^Feed:.*|^Title:.*|^Author:.*)"     color74    default
        highlight article     "(^Link:.*|^Date:.*)"                 color74    default
        highlight article     "^Podcast Download URL:.*"            color109   default
        highlight article     "^Links:"                             color109   default  underline
        highlight article     "\\[[0-9][0-9]*\\]"                   color72    default  bold
        highlight article     "\\[image [0-9][0-9]*\\]"             color72    default  bold
        highlight article     "\\[embedded flash: [0-9][0-9]*\\]"   color72    default  bold
        highlight article     ":.*\\(link\\)$"                      color152   default
        highlight article     ":.*\\(image\\)$"                     color152   default
        highlight article     ":.*\\(embedded flash\\)$"            color152   default
        
        color listnormal                                            color66    default
        color listfocus                                             color152   color23
        color listfocus_unread                                      color153   color23
        color info                                                  color153   color23
        color listnormal_unread                                     color152   default
        color article                                               color152   default
        color background                                            default    default
        • This reply was modified 5 years, 2 months ago by sleekmason. Reason: added: color listfocus_unread to config
        • This reply was modified 5 years, 2 months ago by sleekmason. Reason: Changed bind keys
        • This reply was modified 5 years, 2 months ago by sleekmason. Reason: Added keep-article-days and max-items
        Attachments:
        #6776
        Moderator
        caprea
          Helpful
          Up
          0
          ::

          Hey,thanks!
          This will save a lot of time for others.

          #6793
          Member
          sleekmason
            Helpful
            Up
            0
            ::

            **UPDATED** Just updated the config to fix a highlighted color issue, and to change the key bindings to something reasonable. Probably finished with this now. . . If you grabbed my config yesterday, you will want the updated version.

            Question: since ~/.newsbeuter exists in the distro, would putting some, or all of the items in this config there as a ready template? I can change colors to match conky, (or the other way around:) You could even comment out the colors section if need be.

            #6809
            Anonymous
              Helpful
              Up
              0
              ::

              Careful! Unless each of the pre-installed links to rss feeds is linux-related,
              begs the question “Should a distro be recommending/steering users toward certain news sources?”

              ^—v

              antiX-12 Edelweißpiraten
              Among the pre-installed browser bookmarks, one linked to a historical site describing the Edelweißpiraten.
              One pinheaded reviewer claimed (and was parroted by various social media twits/trolls) that antiX was promoting nazi propaganda.

              https://en.wikipedia.org/wiki/Edelweiss_Pirates

              The first Edelweißpiraten appeared in the late 1930s in western Germany, comprising mostly young people between 14 and 18. Individual groups were closely associated with different regions but identifiable by a common style of dress with their own edelweiss badge and by their opposition to what they saw as the paramilitary nature of the Hitler Youth.[1] Subgroups of the Edelweißpiraten included the Navajos, centred on Cologne, the Kittelbach Pirates of Oberhausen and Düsseldorf, and the Roving Dudes of Essen.[2] According to one Nazi official in 1941, “Every child knows who the Kittelbach Pirates are. They are everywhere; there are more of them than there are Hitler Youth… They beat up the patrols… They never take no for an answer.”[3]

              Although they rejected the Nazis’ authoritarianism, the Edelweißpiraten’s nonconformist behaviour tended to be restricted to petty provocations. Despite this, they represented a group of youth who rebelled against the government’s regimentation of leisure and were unimpressed by the propaganda touting Volksgemeinschaft (“people’s community”).[1]

              During the war, many Edelweißpiraten supported the Allies and assisted deserters from the German Army. Some groups also collected propaganda leaflets dropped by Allied aircraft and pushed them through letterboxes.[2]

              #6811
              Member
              sleekmason
                Helpful
                Up
                0
                ::

                Careful! Unless each of the pre-installed links to rss feeds is linux-related,
                begs the question “Should a distro be recommending/steering users toward certain news sources?”

                For use in the distro, yes. As I’m posting a personal file, no. That being said, lots of people want news sources and with that in mind I picked a few that were the ‘most common’, and a few tech sites.

                One pinheaded reviewer claimed (and was parroted by various social media twits/trolls) that antiX was promoting nazi propaganda.

                Wow! Couldn’t be further from the truth. It deeply saddens me the hatred in peoples hearts. I cannot tolerate that kind of trash.

                #6820
                Anonymous
                  Helpful
                  Up
                  0
                  ::

                  For use in the distro, yes. As I’m posting a personal file, no.

                  Okay, got it. Just understand that my “careful” response was in reaction to reading

                  leninology
                  […]
                  […]
                  Question: since ~/.newsbeuter exists in the distro, would putting some, or all of the items in this config there as a ready template?

                  #6821
                  Member
                  sleekmason
                    Helpful
                    Up
                    0
                    ::

                    I would take that one out now. Point taken. Might want to check in ~/.newsbeuter with a fresh install. It may have been left over from the existing three that came with antiX. I overwrote those. I don’t have an edit button for that post anymore. If I could be provided that, or if a moderator could remove the leninology link, that would be appreciated.

                    #6884
                    Member
                    sleekmason
                      Helpful
                      Up
                      0
                      ::

                      @skidoo, After checking in Virtualbox, I can verify the leninology link comes with the distro! I couldn’t understand your reference at first because all my links were found by me but two. The original first two links in the url file that comes installed. These of course I trusted. Why wouldn’t I?
                      For this reason, the link was overlooked.
                      In any event, I still cannot edit the OP, so can make no changes.

                      #6904
                      Member
                      sleekmason
                        Helpful
                        Up
                        0
                        ::

                        Newsboat is replacing newsbeuter!

                        Hi! Last Newsbeuter release was three years ago, and its author is mostly inactive these days. I’m leading a fork called Newsboat; we already released all the bugfixes that accumulated in Newsbeuter repo, plus some of our own. Debian, Ubuntu, and OpenBSD already provide packages and ports, and there’s also an Ubuntu Snap. Check Newsboat out, it’s just like Newsboat, but maintained!

                        Recieved this on my WordPress blog.

                        apt-get install newsboat
                        After installation, open a terminal and:
                        newsboat

                        Newsboat will automatically change your configs over.

                        #6969
                        Member
                        sleekmason
                          Helpful
                          Up
                          0
                          ::

                          I am Recommending “w3m” as a browser replacement to lynx. It’s easier, has a config file already in ~/.home, and better colors, AND with inline IMAGES!

                          apt-get install w3m w3m-img

                          Heres the link to the manual: http://w3m.sourceforge.net/MANUAL

                          remember to change the browser line in the ~/.newsbeuter/config file.

                          If you have changed to newsboat, the config is located in ~/.config/newsboat (if switching from newsbeuter), in ~/.newsboat if you haven’t installed newsbeuter before installing newsboat.

                          Change “browser lynx” to “browser w3m” Save and give it a try!

                          • This reply was modified 5 years, 2 months ago by sleekmason.
                        Viewing 11 posts - 1 through 11 (of 11 total)
                        • You must be logged in to reply to this topic.