Zack Bartel
2b83f94cf5
fix off by one slice index
2013-06-05 10:43:16 -07:00
jimt
3ee2213eae
Merge pull request #15 from mattn/try_items
...
Try items in outside of channel node
2013-05-10 05:49:05 -07:00
mattn
833b57154f
Handle content:encoded
2013-05-10 04:55:33 -07:00
mattn
ed51885f15
Try items in outside of channel node
2013-05-10 19:44:35 +09:00
jimt
3f18008689
Merge pull request #14 from cgrinds/master
...
Added testdata and test for CDATA bug
2013-03-28 13:13:05 -07:00
Chris Grindstaff
ae2d31d0ff
Elements that contain multiple CDATA sections are overwritten. Fix is
...
submitted to go-pkg-xmlx
2013-03-28 16:07:22 -04:00
jimt
583ce7f9e9
Merge pull request #13 from cgrinds/master
...
Added testdata, rss author parsing and a slight refactor to make reading from files possible
2013-03-28 02:45:17 -07:00
Chris Grindstaff
9a77aeb2f6
Add testdata
...
RSS author parsing
2013-03-27 23:05:27 -04:00
jimt
87efb1906c
Merge pull request #12 from cgrinds/patch-1
...
Read author for atom item
2013-03-27 13:00:53 -07:00
Chris Grindstaff
c8e23415d1
Read author for atom item
2013-03-27 16:05:18 -03:00
jimt
07f688de02
Merge pull request #11 from anschelsc/master
...
Use the new xmlx changes
2013-03-19 12:56:04 -07:00
Anschel Schaffer-Cohen
cccaf19d93
Use upstream xmlx now that it has merged.
2013-03-19 14:12:11 -04:00
Anschel Schaffer-Cohen
069bcf4dc8
Use more flexible go-pkg-xmlx.
...
If/when the changes are pulled into jteeuwen's branch I can change the
path back.
2013-03-19 10:03:21 -04:00
jim teeuwen
6f6d1c9b3a
Fix Feed.SecondsTilUpdate(). Last patch failed to convert stored time to seconds properly. Fixes issue #10 .
2012-03-13 16:46:42 +01:00
jim teeuwen
057769eeb5
Rename "examples" folder to "testdata". This causes "go install" to ignore it when building the lib. Example binaries do not get installed in $GOBIN this way. They do not belong there.
2012-03-04 12:52:37 +01:00
jim teeuwen
3575e810e5
Rename "examples" folder to "testdata". This causes "go install" to ignore it when building the lib. Example binaries do not get installed in $GOBIN this way. They do not belong there.
2012-03-04 12:52:29 +01:00
jim teeuwen
11a3986e64
Fix example program.
2012-02-29 11:34:19 +01:00
jim teeuwen
f51db12ad3
Add xmlx.CharsetFunc parameter to Feed.Fetch method. Can be used to supply a custom character encoding conversion routine to the xml decoder. Update test code accordingly.
2012-02-29 11:31:01 +01:00
jim teeuwen
957d827135
Fix bug introduced in commit 09a1cbe77d
2012-02-29 10:48:17 +01:00
jim teeuwen
c0ed5ef9ba
Fix for weekly-2012.02.22. Fixes issue #9
2012-02-24 10:31:46 +01:00
jim teeuwen
1c5ba93201
No more Makefiles. Use go command to build and install.
2012-02-09 17:31:42 +01:00
jim teeuwen
45d4452c15
gofmt -s -w
2011-12-07 13:46:06 +01:00
jim teeuwen
e44514e2cb
Fix for weekly 2011.12.02
2011-12-02 12:50:42 +01:00
jim teeuwen
e31aff8084
gofix error
2011-11-02 16:51:04 +01:00
jim teeuwen
59e30a75dc
Fix Time.Weekday() call due to recent change in Go.
2011-09-19 02:25:09 +02:00
jimt
961ddaf378
Merge pull request #8 from dersebi/master
...
Fixes issue #7
2011-08-26 04:51:54 -07:00
Sebastian Schlingmann
0b8e09b3b3
fixed item.Links == channel.Links
2011-08-26 09:50:14 +02:00
jim teeuwen
0f58a6b395
Small fix in example.go comment.
2011-05-22 16:20:05 +02:00
jim teeuwen
9957923226
Revised README and added example.go with a small idiomatic example on how to use this package.
2011-05-21 19:12:43 +02:00
jim teeuwen
09a1cbe77d
Changed depracated xmlx Node api to new one.
2011-05-11 17:40:56 +02:00
jimt
6c565263da
Merge pull request #6 from JalfResi/master
...
Feed::SecondsTillUpdate()
2011-05-11 06:13:35 -07:00
Ben Davies
b6a52bbf24
Added SecondsTillUpdate() method.
2011-05-09 20:11:50 +01:00
jim teeuwen
811afef059
Switch to more liberal CC0 Public Domain license.
2011-03-19 14:48:01 +01:00
jim teeuwen
de8e1bd299
Fix for new Go release
2011-03-16 07:22:45 +01:00
jim teeuwen
6c6b659e88
Apply changes to go-pkg-xmlx allowing wildcards for namespace names.
2011-02-01 15:30:39 +01:00
jim teeuwen
1a851548db
Making package easily usable with goinstall. Including the reference to go-pkg-xmlx and the build target in the makefile.
2011-01-20 22:57:04 +01:00
jim teeuwen
31d02da4ae
Fixed bugs in channel/item identification
2010-12-18 19:11:37 +01:00
jim teeuwen
f5f5baa34e
Added Feed.LastUpdate() method. It returns the timestamp of the last time the feed was updated. Value is returned in seconds.
2010-12-18 18:19:53 +01:00
jim teeuwen
a8057b0c92
Did some significant reworking of the Rss and Atom internals. The Feed object now supports passing in 2 funciton handlers which notify your app of any new Channels or Items. These functions are called whenever the feed is updated and new channels or items are found which previously did not exist. See src/feed_test.go for examples. This change also made it prudent to change some of the struct definitions. In particular the fields referencing other structs. They have been changed from Value to Pointer definitions. So beware that this may break some of your existing code. At the very least, the feeder.New() function now takes 2 extra parameters.
2010-12-18 00:25:16 +01:00
jim teeuwen
eb15b6a3ef
Made Feed.CanUpdate() public. This returns true if all cache timeout values have expired and a fresh remote update can be performed. Fixed bug where repeated calls to feed.Fetch() creates duplicate Channels instead of generating a fresh list. Did some minor code householding to replace manual slice appends with the builtin append() function.
2010-12-17 21:57:48 +01:00
jim teeuwen
24864b01f1
Added LICENSE file. Code falls under a 1-Clause BSD license, of which its contents can be found in said LICENSE file.
2010-12-15 19:04:12 +01:00
jim teeuwen
2f6b6f5930
Fix for recent Go release.
2010-08-25 21:31:56 +02:00
jim teeuwen
365cffa6a4
Updated code to conform with more recent go idioms.
2010-05-26 01:41:44 +02:00
jim teeuwen
49ab919bd7
Fixed code according to new Go release requirements.
2010-05-23 16:21:30 +02:00
jim teeuwen
62f2d4170f
modified: README
2009-11-24 13:39:42 +01:00
jim teeuwen
6c6cbb9847
modified: README
2009-11-23 13:52:53 +01:00
jim teeuwen
f1be4f9696
modified: README
2009-11-23 13:50:13 +01:00
jim teeuwen
45b7141ab2
modified: README
2009-11-23 13:49:11 +01:00
jim teeuwen
c2601a5ce3
new file: README
...
new file: src/Makefile
new file: src/atom.go
new file: src/author.go
new file: src/category.go
new file: src/channel.go
new file: src/cloud.go
new file: src/content.go
new file: src/enclosure.go
new file: src/feed.go
new file: src/feed_test.go
new file: src/generator.go
new file: src/image.go
new file: src/input.go
new file: src/item.go
new file: src/link.go
new file: src/rss.go
new file: src/source.go
new file: src/subtitle.go
2009-11-23 13:46:12 +01:00