Commit Graph

156 Commits

Author SHA1 Message Date
Andrew cee86af59f Fix outdated path in readme 2015-11-25 15:24:57 +01:00
Andrew a314f2edf7 Just typo fix 2015-11-25 15:20:58 +01:00
Jim Teeuwen 31df4852b3 Merge pull request #68 from virtualsue/master
Add newline to error message
2015-08-25 08:12:15 +02:00
Sue Spence acddf29e45 Add newline to error message 2015-08-24 23:19:08 +01:00
Jim Teeuwen 3d7dc94c57 Merge pull request #67 from jcnoir/fetch-images
Fetch more feed images
2015-08-18 11:22:03 +02:00
jcnoir db50b15510 Also fetch images described as href attributes 2015-08-18 00:39:40 +02:00
Jim Teeuwen 066500420e Merge pull request #64 from ionDynamics/master
differentiate between published and updated in atom feeds
2015-08-04 01:37:03 +02:00
KEANO3 caca5df203 differentiate between published and updated 2015-07-26 23:04:53 +02:00
Jim Teeuwen 5576b8d83e Merge pull request #61 from charl/master
Added an example of using a custom charset reader to work around specific charset issues
2015-03-30 12:13:52 +02:00
Charl Matthee 6dcb8a2f3f * Added an example of using a custom charset reader to work around specific charset issues. 2015-03-30 11:24:44 +02:00
Jim Teeuwen 28a9b88c87 Merge pull request #50 from regadas/master
Fix channel and item extensions
2015-03-27 12:29:10 +01:00
Jim Teeuwen 2382fc0262 Merge pull request #60 from handlerbot/master
Add IgnoreCacheOnce() to Feed objects.
2015-03-02 11:58:50 +01:00
Michael Handler 110a94b207 Add IgnoreCacheOnce() to Feed objects.
When called, the Feed object will ignore any cached data or refresh hint
metadata, and always attempt to download the feed data from the source.
Resets to normal (cache-abiding) behavior after a successful retrieval.
2015-03-01 22:41:15 -08:00
Jim Teeuwen 99d83b5fef Merge pull request #58 from handlerbot/master
Channel and Item handler example cleanups
2015-02-09 15:35:43 +01:00
Michael Handler 6f965508b9 Channel and Item handler example cleanups
* Don't import from a forked repo in the sample code.
* Repair the sample to work with the current handler interface.
2015-02-09 06:26:29 -08:00
Jim Teeuwen 975dd7ebf4 Merge pull request #56 from michael-k/fixup
Fixup
2014-11-29 01:46:14 +01:00
Michael K 07c9e4322a Added comment 2014-11-29 01:20:34 +01:00
Michael K f5b1056458 Added missing this 2014-11-29 01:20:34 +01:00
Jim Teeuwen 8840cf6040 Merge pull request #54 from michael-k/time
Store time of last update as time.Time
2014-11-28 18:47:26 +01:00
Michael K 13b293d8cd Added a new function; time till next update as time.Duration 2014-11-28 16:55:58 +01:00
Michael K ee66dbdb55 Store time of last update as time.Time
This commit breaks the API, because LastUpdate() now returns a
time.Time object instead of an int64.
2014-11-28 16:53:09 +01:00
Michael K 525d2bdc03 Made use of SecondsTillUpdate()
Increases code comprehensibility
2014-11-28 16:44:20 +01:00
Jim Teeuwen 21cabd67c6 Merge pull request #53 from michael-k/lastupdate
Update lastupdate only when fetching
2014-11-28 15:14:48 +01:00
Michael K 4840ef15a3 Update lastupdate only when fetching 2014-11-28 14:55:38 +01:00
Jim Teeuwen 87b95b233d Merge pull request #51 from michael-k/goto
Removed goto
2014-11-26 20:18:00 +01:00
Jim Teeuwen d2c3f84069 Merge pull request #52 from michael-k/docu
Fixed some issues in the documentation
2014-11-26 16:38:19 +01:00
Michael K 2ffad35d97 Removed goto 2014-11-26 16:21:39 +01:00
Michael K 6c373508f8 Removed faulty empty line 2014-11-26 16:12:54 +01:00
Michael K 1dd67de72f Fixed typo 2014-11-26 16:10:39 +01:00
Michael K d66a691370 Added missing punctuation marks 2014-11-26 16:09:51 +01:00
regadas 9c087ed4e8 Remove duplicate namespace check 2014-11-25 11:40:44 +00:00
regadas 750ceec0f2 Fix channel and item extensions 2014-11-22 22:35:38 +00:00
Jim Teeuwen e1d228914f Merge pull request #48 from michael-k/notes
Updated Notes
2014-11-16 22:48:55 +01:00
Jim Teeuwen 8294d29c22 Merge pull request #47 from michael-k/testdata
`go run` instead of `6g` and `6l`
2014-11-16 22:48:31 +01:00
Michael Käufl b62e147e96 Used lists 2014-11-16 17:41:15 +01:00
Michael Käufl 51dc9ddee0 Fixed some typos 2014-11-16 17:41:11 +01:00
Michael Käufl 9c98e451d6 Broke lines 2014-11-16 17:41:06 +01:00
Michael Käufl 8a69a9390b `go run` instead of `6g` and `6l` 2014-11-16 17:07:39 +01:00
Jim Teeuwen c7f7ccd37e Merge pull request #46 from JalfResi/split-handlers
Separating singular handler type to ease reuse/chaining
2014-10-14 20:28:18 +02:00
Ben Davies 18dc81ecf7 Typo in comment 2014-10-14 18:53:00 +01:00
Ben Davies 5d9fc9c561 Ensured that New() feed function is functionally equivalent still 2014-10-14 18:51:13 +01:00
Jim Teeuwen 3d199df8a0 Merge pull request #45 from Paulius-Maruska/bug/crash-without-handlers
Fixes #44, crash when no handlers
2014-10-11 00:22:25 +02:00
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