bulletin_tools/SERMON_FORMAT.md
Benjamin Slingo 1eb1fc9909 Initial commit with major improvements
- Fixed Sabbath School parser to handle API data with extra line breaks
- Cleaned up project structure and removed nested directories
- Organized output to single directory structure
- Removed YouTube link from contact section for cleaner layout
- Improved parser robustness for multi-line content between labels
- Added proper .gitignore for Rust project
2025-08-21 20:17:54 -04:00

31 lines
849 B
Markdown

# Bulletin Input Format
The bulletin-input program expects sermon details in the following format:
```
Sermon: [Title]
Scripture: [Reference]
Opening Song: [Number and Title]
Closing Song: [Number and Title]
```
## Example:
```
Sermon: Don't Hit Send
Scripture: Proverbs 17: 9-10
Opening Song: 311 I would be like Jesus
Closing Song: 305 Give me Jesus
```
## Important Notes:
- Use "Sermon:" NOT "Sermon Title:"
- Use "Scripture:" NOT "Scripture Reading:"
- The parser is sensitive to these exact labels
- Each field should be on its own line
- End input with two empty lines when running interactively
## Usage:
```bash
cd bulletin-input
echo -e "Sermon: Don't Hit Send\nScripture: Proverbs 17: 9-10\nOpening Song: 311 I would be like Jesus\nClosing Song: 305 Give me Jesus\n\n" | ./target/debug/bulletin-input --config shared/config.toml
```