
- 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
31 lines
849 B
Markdown
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
|
|
``` |