fmj/readme.md
2025-10-26 01:12:27 -05:00

24 lines
962 B
Markdown

# fmj
fmj is an rss feed generator. it takes a directory of config files that describe the posts and outputs xml.
the file format is more concise than handwriting xml:
```fmj
title = s/discord/???
description = on replacing discord
link = https://bear.o7moon.dev/sdiscord/
anything that isnt one of the defined options is a comment
```
it does not yet properly handle utf-8 input but should eventually.
## usage examples:
- `fmj tests/examples -` will output to stdout
- `fmj tests/noconf filename.xml` will output to `filename.xml`
- `fmj tests/defaultauthor` will output to `rss.xml`
## building / platform support:
`fmj.c` is the only source file. if you have libc, and a `dirent.h` on your system then it should work.
`build.sh` is what i use on my desktop to compile it, as an example.
## miscellaneous:
the name fmj comes from [my favorite band](https://feedmejack.bandcamp.com/), but i will lie and say its stands for "Feed m Jenerator" or something.