Tips: Download the RSS of DesdeLinux in the terminal

There is a very simple way to read the RSS de Desdelinux through our terminal. We just have to run this command:

For articles.
wget -q -O- "https://blog.desdelinux.net/feed/"

For comments.
wget -q -O- "https://blog.desdelinux.net/comments/feed/"

But I want to go a little further, and that is why I have started to develop with my little knowledge in programming, a bash script (which can find here) that will help me to download the RSS of the Post and Comments. I do not have much time (and knowledge) to develop it, so any help you want to give me, I will be more than grateful.

The idea is to download the file with the RSS of articles and comments. Once downloaded, through notifications (with notify-bin it should work I think) to show me the title of the new posts. The files are saved so that they can be read later (always from console), but at the same time, there has to be a way to check for new items from time to time.

In other words, what I want to achieve is the following:

What I want to achieve is the following:

  1. Download the file . Xml from a route that I previously gave him.
  2. Once you download the file, save it and notify me by notify-bin for example, the title of the new posts.
  3. It occurred to me that I should save a file with all the entries that are accumulating (to read them later if I want to) and another that shows only the new ones, as they arrive, and serve the notification system.
  4. You have to have the option to read either the articles, or the comments.

Anyway, if anyone has a better idea, welcome.


5 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   KZKG ^ Gaara <° Linux said

    Actually the command is notify-send, yes, you have it available when you install notify-bin

    1.    elav <° Linux said

      ¬¬ Can you tell me where I said the command was notify-bin? I talked about the package that handles notifications, not the command to use it.

      1.    KZKG ^ Gaara <° Linux said

        Relax partner, I did not do it with the intention of trolling far from it 😉

  2.   Courage said

    About elav <° Linux
    Music lover, computer scientist and lover of GNU / Linux, Free Software and Technology in general. Network Administrator by profession, Blogger and Designer by hobby.

    Is that little programming knowledge?

    1.    elav <° Linux said

      Yup .. Very little programming knowledge. 😛