Simple PHP RSS Feed Eater
by Roman gopher://shibboleths.org

21 august 2024

This is a rewritten and fixed old RSS library for PHP8x
allowing you to quickly and easily display RSS feeds
on your site as HTML4 code.

I got tired of depending on constantly crashing JS APIs,
so I revived this old library. Nothing is required from
you, you just need to insert the required RSS feeds once
in the example.php file and forget about the rest of the
settings.

How does this work? It's simple!

1) Copy rsslib.php to any server with PHP8x support.
It is possible that this script works in earlier versions
of PHP, but I have not tested it.
2) In the example.php file, insert the RSS feed what
you need.
3) You can add an infinite number of feeds by simply
duplicating the lines in example.php.
4) Parameter "5" in example.php shows the number
of news items displayed in the feed.
5) The parameter "9000", in example.php file specifies
the limit of characters in a specific RSS feed. If you
want to use the general limit of characters directly
from the library, simply remove the parameter 9000.
6) I have blocked images and videos from loading from
RSS feeds, so you only get plain text.
7) If a tape is not available, unlike other libraries,
you will receive an error message with the link.

The library was tested on free hosting with limited
configuration and resources.