Coder Social home page Coder Social logo

yoloswagteam / feedstail Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 7.0 200 KB

Feedstail is a tail-f-like utility for feeds. It monitor a feed and emits new entries. Feedstail aim to be simple, hackable and compatible with rsstail its C brother.

License: GNU General Public License v3.0

Python 100.00%

feedstail's People

Contributors

jlzirani avatar psycojoker avatar tokeshu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

feedstail's Issues

output chronologically wrong

I found feedstail a day ago and I really like it. Unfortunately I believe there are a few bugs in listing items of a feed.

To make the problems clear, I will use the numbers 1 to 5, where 1 is the oldest item and 5 the most recent one.

tail is supposed to show the most recent items at the bottom. That is what tail does. tail a log file as an example. But when I use feedstail, the newest entries are shown at the top. So basically feedstail behaves like head and not like tail.

IMO, the output should look like this:

1
2
3
4
5

When a new item 6 is available and fetched, it should be added to the bottom:

1
2
3
4
5
6

But currently the output looks like this:

5
4
3
2
1
6

I've also noticed that sometimes the items are not in sequence at all:

5
3
4
1
2
6

Using the -r option in combination with -n does not work either. In above example, -r -n 3 produces the following output:

1
2
3

So it shows you the oldest 3 items - and then what? Waits for a new item and adds 6 (when it's available) to the bottom?

Hmm, somehow the chronological output of this program makes no sense at all.

Can you please let me know how I can show the 5 newest items of a feed in the order from oldest to newest and then output (append) new items at the bottom?

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.