Paulius Maruška
1e531bd310
Fixes #44 , crash when no handlers
...
Recent database handler changes made the library crash, when feed
object is created without channel, item handlers (passing nils).
These simple changes seem to fix the problem and the library works
again.
2014-10-10 21:35:26 +03:00
Jim Teeuwen
c753ba0962
Merge pull request #43 from JalfResi/database-handlers
...
Database and handler types
2014-10-04 15:24:39 +02:00
JalfResi
2473675174
Updated
2014-10-04 13:02:56 +01:00
JalfResi
29407ee0d4
Removing binary
2014-10-04 12:58:46 +01:00
JalfResi
b959757aaf
Removing binary
2014-10-04 12:58:19 +01:00
Ben Davies
d5f9d4bd46
Removed logging
2014-10-04 12:54:27 +01:00
Ben Davies
99b882aad2
Updating notes
2014-10-04 12:50:04 +01:00
Ben Davies
b6de09f2a3
Added databse handler to New() so that it functionally identical to old approach
2014-10-04 12:48:45 +01:00
Ben Davies
cb314c235b
Refactored the handler functions into interface types. Follows the /net/http handlers pattern. Handlers are now chainable. Moved database checking from notifyHandlers. Implemented database feature as chainable handler
2014-10-04 12:45:05 +01:00
Jim Teeuwen
4edaff2441
Merge pull request #42 from JalfResi/bugfix/rss-node-missing-version
...
Added check to ensure that period is found in version string of RSS node
2014-09-28 15:43:39 +02:00
Ben Davies
c01c0416b8
Added check to ensure that period is found in version string of RSS node
2014-09-28 12:30:58 +01:00
Jim Teeuwen
ddfdb20a68
Merge pull request #41 from JalfResi/error-types
...
Added specific error types rather than generic error types
2014-09-25 16:54:44 +02:00
Ben Davies
d4964c8450
Added specific error types rather than generic error types
2014-09-25 13:27:05 +01:00
jimt
326d76d501
Merge pull request #39 from maiconio/master
...
adding categories to atom
2014-05-12 11:07:12 +02:00
maiconio
e6102549be
adding categories to atom
2014-05-11 20:48:21 -03:00
jimt
2cc10cc82f
Merge pull request #37 from sirsean/parse-time
...
Time parsing.
2014-03-25 11:06:29 +01:00
Sean Schulte
a93420eed3
go fmt
2014-03-24 22:01:26 -05:00
Sean Schulte
c6a7816435
Back to previous API.
...
(IE, the previous breaking changes are unbroken.)
2014-03-24 21:58:36 -05:00
Sean Schulte
2c67b94a04
Time parsing.
...
Rather than just using a string for PubDate, we attempt to parse it.
This includes a couple of crazy non-standard time formats that I've seen
in the wild.
Breaking change: Item.PubDate is no longer a string, it is time.Time.
2014-03-24 21:54:15 -05:00
jimt
2b6dc03ede
Merge pull request #34 from dukex/patch-1
...
Updated README to markdown
2014-01-24 03:16:16 -08:00
jimt
899799b51b
Merge pull request #32 from dukex/extensions
...
Add Extensions Support
2014-01-24 03:15:26 -08:00
Duke
31eb9ba376
Added link to example
2014-01-23 23:07:07 -02:00
Duke
b10f4eab91
Rename README to README.md
2014-01-23 23:05:15 -02:00
Duke
8d08afd360
Update README
2014-01-23 23:03:58 -02:00
Duke
937de70c03
added Extension to channel
2014-01-23 17:37:50 -02:00
Duke
bd84124886
updated getExtentions to don't overwrite root node
2014-01-23 17:37:18 -02:00
Duke
e895d2d708
changed Extensions api
2014-01-23 14:57:26 -02:00
jimt
1ade55aa42
Merge pull request #33 from dukex/bugfix/ignored-link
...
Fixes atom ignored link
2014-01-18 12:15:33 -08:00
Duke
6f578a1273
fixed links when rss has atom:link e link tag [ #21 ]
2014-01-18 15:41:26 -02:00
Duke
a3882284e0
test conservatives feed
2014-01-18 14:35:00 -02:00
Duke
7daa266b18
fixed same extentions space on root level
2014-01-18 14:07:37 -02:00
Duke
c06dd6d193
starting a way to get extentions #28
2014-01-18 12:30:56 -02:00
jimt
269db380a3
Merge pull request #27 from haarts/master
...
Resolve uniqueness confusion
2013-12-06 02:08:15 -08:00
Harm Aarts
49e91ffeee
Adds test for the new items
2013-12-05 16:29:55 +01:00
Harm Aarts
5a2d6dbcdc
Revert "Revert "Adds new test data""
...
This reverts commit 79d418e00a
.
2013-12-05 16:24:48 +01:00
Harm Aarts
0aaac62e64
Add check if the handler exists.
2013-12-05 16:23:32 +01:00
Harm Aarts
b4a80d771a
Adds a fallback ID function.
2013-12-05 16:18:13 +01:00
Harm Aarts
6b6086e389
Adds Key()
2013-12-05 16:04:00 +01:00
Harm Aarts
3b336dc54b
Adds the database for checking new channels/items.
...
In this iteration the key passed to the database is the Title which is
obviously silly.
I'm still looking for a configurable way of generating the unique key.
2013-12-05 15:31:49 +01:00
Harm Aarts
90c93b8fa4
Adds a database.
...
This is a really simple map. Calls to it just check if the key exists
and return a bool. In case of a false it adds the key.
The key is just a string which might or might not be sufficient.
2013-12-05 15:30:26 +01:00
Harm Aarts
bfbe2dd3be
Fixes the tests
...
Reference the item directly through channel as the notification
functionality has been removed.
2013-12-05 14:22:03 +01:00
Harm Aarts
e345751986
Removes new Item notification
2013-12-05 14:21:32 +01:00
Harm Aarts
d75037c0ab
Removes notification of new channels
...
This is going to be moved to the stateful Feed, this is yet to be
implemented.
2013-12-05 14:10:22 +01:00
Harm Aarts
73442f806a
Makes atom replace channels and items, thus making it stateless
2013-12-05 14:08:41 +01:00
Harm Aarts
6ef84d35e2
Makes rss replace channels and items, thus making it stateless
2013-12-05 14:05:24 +01:00
Harm Aarts
4fa6c97010
Makes days map a global lookup table
2013-12-05 13:53:57 +01:00
Harm Aarts
79d418e00a
Revert "Adds new test data"
...
This reverts commit 997070656f
.
2013-12-05 12:56:02 +01:00
Harm Aarts
902e928863
Revert "Adds test"
...
This reverts commit b311fe3f8d
.
2013-12-05 12:56:00 +01:00
Harm Aarts
cc25852f30
Revert "Implements check if item is already present"
...
This reverts commit d79101645d
.
2013-12-05 12:55:59 +01:00
jimt
b4cf92a0fc
Merge pull request #25 from haarts/master
...
Prevent re-adding Atom entries
2013-12-02 08:27:13 -08:00