about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAlan Pearce2014-09-09 21:30:27 +0100
committerAlan Pearce2014-09-09 21:30:27 +0100
commitfc18e6363dcb0befca0088a66284b05979ee3036 (patch)
treeee6fd5ce02fd7cfd7c3ca80fdb9534925909c924 /src
parent811dd1cb92a7248f16c66659c11ffd78fea3e2f6 (diff)
downloadmicroformats-fc18e6363dcb0befca0088a66284b05979ee3036.tar.lz
microformats-fc18e6363dcb0befca0088a66284b05979ee3036.tar.zst
microformats-fc18e6363dcb0befca0088a66284b05979ee3036.zip
Create initial test and implementation
Diffstat (limited to 'src')
-rw-r--r--src/microformats/core.clj6
-rw-r--r--src/microformats/parser.clj6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/microformats/core.clj b/src/microformats/core.clj
deleted file mode 100644
index 512e790..0000000
--- a/src/microformats/core.clj
+++ /dev/null
@@ -1,6 +0,0 @@
-(ns microformats.core)
-
-(defn foo
-  "I don't do a whole lot."
-  [x]
-  (println x "Hello, World!"))
diff --git a/src/microformats/parser.clj b/src/microformats/parser.clj
new file mode 100644
index 0000000..c741549
--- /dev/null
+++ b/src/microformats/parser.clj
@@ -0,0 +1,6 @@
+(ns microformats.parser)
+
+(defn parse
+  "Parse a HTML string with microformats"
+  [html]
+  {:items [] :rels {}})