Commit Graph

6 Commits

Author SHA1 Message Date
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 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 49ab919bd7 Fixed code according to new Go release requirements. 2010-05-23 16:21:30 +02: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