Commit graph

9 commits

Author SHA1 Message Date
Fabien Freling 35cf4a46a8 Clean module opening. 2014-03-01 22:32:28 +01:00
Fabien Freling ff69981a5c Break code into modules.
Use ocamlbuild command to build cheesebot.
2014-03-01 22:12:50 +01:00
Fabien Freling 7732fdf877 Add linking to Str module.
This module is used for regular expression manipulation.
2014-02-28 12:05:07 +01:00
Fabien Freling 53e3b146f5 Extend youtube regexp.
Cheesebot can now recognize youtube urls formatted like this:

- http://www.youtube.com
- https://www.youtube.com
- http://youtube.com
- www.youtube.com
- youtu.be
2014-02-28 09:04:12 +01:00
Fabien Freling 0f095addec Support SSL URLs when fetching HTML body. 2013-12-19 23:21:01 +01:00
Fabien Freling 155140fd70 Update build script with SSL and netstring modules. 2013-12-19 23:19:17 +01:00
Fabien Freling a3488cb554 Use regexp to check if youtube url.
- Add basic build command.
2013-12-08 17:07:53 +01:00
Fabien Freling 642c6aa94a Update OCaml code with pattern guards.
Now the missing piece for recognizing urls is
regexp support.
2013-10-28 13:42:28 +01:00
Fabien Freling c37eb1088e Add OCaml parrot. 2013-10-25 14:21:05 +02:00