Commit Graph

29 Commits

Author SHA1 Message Date
an cfefcc12b7 Changed rss.go 2018-02-22 08:21:34 +00:00
jcnoir db50b15510 Also fetch images described as href attributes 2015-08-18 00:39:40 +02: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
Ben Davies d4964c8450 Added specific error types rather than generic error types 2014-09-25 13:27:05 +01:00
jimt 899799b51b Merge pull request #32 from dukex/extensions
Add Extensions Support
2014-01-24 03:15:26 -08: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
Duke 6f578a1273 fixed links when rss has atom:link e link tag [#21] 2014-01-18 15:41:26 -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
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
Jim Teeuwen 7b1a94122f Runs go fmt on all code. 2013-11-28 10:23:49 +01:00
Jim Teeuwen 29bd83be41 Merge Pull Request and issue #24
Turns Item.Guid field into a string pointer, so it may properly
be set to nil when applicable. Adjusts remaining code and tests
to reflect this change.
2013-11-28 10:22:09 +01:00
Matthew Dawson 66eea2e6af Fix RSS feed parsing due to changes in go-pkg-xmlx.
Due to the PR jteeuwen/go-pkg-xmlx#16, when using SelectNodes there is no
longer any hidden recursion.  Due to RSS's structure, there is a root document
node.  These two pieces break the RSS parsing.  Fix by first selecting the
root document node, and then selecting the channels for parsing.
2013-10-25 23:26:15 -04:00
Matthew Dawson 20d050f908 Fix Atom/RSS feed parsing due to changes in jteeuwen/go-pkg-xmlx.
Due to recent changes involving how values are dealt with in xmlx, update
the RSS/Atom parsing.  Instead of using the Value property of an xmlx Node,
use the new GetValue function offered in PR jteeuwen/go-pkg-xmlx#15.
2013-09-30 01:23:51 -04:00
jimt c173d50291 Merge pull request #20 from MJDSys/RemoveHaveItem
Remove the haveItem check for RSS and Atom
2013-07-07 15:09:38 -07:00
Matthew Dawson 9123b6bc67 Remove the haveItem check for RSS and Atom
The haveItem check for RSS and Atom causes the feeds to act unexpectedly.
For RSS, the checked tags don't necessarily have to be unique.  For atom,
it is allowed to have duplicate items (including duplicated ids) in one feed,
so this shouldn't be stopped either.
2013-07-07 12:03:24 -04:00
Matthew Dawson 41ad7d65b5 Fix parsing authors in RSS feeds.
In RSS feeds, the author of an item was always overwritten by a non-standard
creator tag.  Change this so that creator is only used when it actually
appears.  Otherwise use the previous value of Author, whatever that is.
2013-07-07 12:02:43 -04: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
Chris Grindstaff 9a77aeb2f6 Add testdata
RSS author parsing
2013-03-27 23:05:27 -04:00
jim teeuwen e31aff8084 gofix error 2011-11-02 16:51:04 +01:00
Sebastian Schlingmann 0b8e09b3b3 fixed item.Links == channel.Links 2011-08-26 09:50:14 +02:00
jim teeuwen 09a1cbe77d Changed depracated xmlx Node api to new one. 2011-05-11 17:40:56 +02: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
Renamed from src/rss.go (Browse further)