tangled
alpha
login
or
join now
anil.recoil.org
/
ocaml-jsonfeed
3
fork
atom
OCaml library for JSONfeed parsing and creation
3
fork
atom
overview
issues
pulls
pipelines
update README
anil.recoil.org
3 months ago
d8e1577c
149b30d0
0/1
build.yml
failed
34s
+11
-1
1 changed file
expand all
collapse all
unified
split
README.md
+11
-1
README.md
···
133
133
- **feed_example.ml** - Creating and serializing feeds (blog and podcast)
134
134
- **feed_parser.ml** - Parsing and analyzing feeds from files
135
135
- **feed_validator.ml** - Validating feeds and demonstrating various feed types
136
136
+
- **feed_echo.ml** - Round-trip parsing: reads a feed from stdin and outputs to stdout
136
137
137
138
Run examples:
138
139
139
140
```bash
140
140
-
opam exec -- dune exec -- ./example/feed_parser.exe
141
141
+
# Create and display sample feeds
141
142
opam exec -- dune exec -- ./example/feed_example.exe
143
143
+
144
144
+
# Parse and analyze a feed file
145
145
+
opam exec -- dune exec -- ./example/feed_parser.exe path/to/feed.json
146
146
+
147
147
+
# Validate feeds
148
148
+
opam exec -- dune exec -- ./example/feed_validator.exe
149
149
+
150
150
+
# Test round-trip parsing
151
151
+
cat feed.json | opam exec -- dune exec -- ./example/feed_echo.exe
142
152
```
143
153
144
154
## API Documentation