aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Conway <john.a.conway@gmail.com>2019-05-08 11:49:00 +0100
committerJohn Conway <john.a.conway@gmail.com>2019-05-08 11:49:00 +0100
commit469e4cbaf7a169b7d1ea03aa466443b669f20bd4 (patch)
treeb3216ff09d2ecb9f50c2ece09f536986ae3b56f6 /src
parent5b476f97ecad45e90490d510932fd90b975543bf (diff)
downloadfeed-nim-469e4cbaf7a169b7d1ea03aa466443b669f20bd4.tar.gz
feed-nim-469e4cbaf7a169b7d1ea03aa466443b669f20bd4.zip
Removed AtomImage (not in spec)
Diffstat (limited to 'src')
-rw-r--r--src/feednim/atom.nim10
-rw-r--r--src/feednim/submodule.nim12
2 files changed, 1 insertions, 21 deletions
diff --git a/src/feednim/atom.nim b/src/feednim/atom.nim
index cce9c44..1b43b03 100644
--- a/src/feednim/atom.nim
+++ b/src/feednim/atom.nim
@@ -31,15 +31,6 @@ type
name*: string # Required Atom field
url*: string
email*: string
-
- AtomImage* = object
- url*: string
- title*: string
- link*: string
- width*: string
- height*: string
- description*: string
-
AtomLink* = object
href*: string
rel*: string
@@ -65,6 +56,7 @@ type
summary*: string
+
proc parseEntry( node: XmlNode) : AtomEntry =
var entry: AtomEntry = AtomEntry()
diff --git a/src/feednim/submodule.nim b/src/feednim/submodule.nim
deleted file mode 100644
index 1af4e81..0000000
--- a/src/feednim/submodule.nim
+++ /dev/null
@@ -1,12 +0,0 @@
-# This is just an example to get you started. Users of your library will
-# import this file by writing ``import FeedNim/submodule``. Feel free to rename or
-# remove this file altogether. You may create additional modules alongside
-# this file as required.
-
-type
- Submodule* = object
- name*: string
-
-proc initSubmodule*(): Submodule =
- ## Initialises a new ``Submodule`` object.
- Submodule(name: "Anonymous")