MRC-Feed is a small tool written in Lua 5.1. It generate list of RPM packages in repository and add new entries about recently added into repository packages to RSS-Feed.
How it work: Lua script generate HTML files with tables which contain full list of repository rpm packages and add new <item>s about recently added packages to XML files of RSS feeds.
MRC-Feed is not designed for big repositories! Because it doesn't use database management system (like MySQL, MariaDB, SQLite, etc...). All information (repository packages list and packages details) store in files pkgs_32.lua, pkgs_64.lua, pkgs_noarch.lua in pkgs_db/mageia<release_number> directory. For example, information about packages for Mageia 4 i586 will stored in pkgs_db/mageia4/pkgs_32.lua.
Open spoiler to see details about pkgs_32.lua/pkgs_64.lua/pkgs_noarch.lua structure:
Spoiler:
MRC-Feed used for generating rpm packages list of Mageia Russian Community repositories. You can check the result (MRC-Feed output) here - html-files with rpms lists: link1 and link2; xml-files of rss-feeds: for mga2, for mga3, for mga4.
MRC-Feed source available on bitbucket.org (License: GNU GPL v3). See details (how to use, dependencies, etc...) in README file.
Feel free to get and use it. May be it will be helpful for small unofficial repositories.
Thanks.
Oleg.