Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entry/Item level attributes #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

markmcspadden
Copy link

I needed the ability to grab attributes off the entry or item tag...and as far as I could tell there isn't currently a way to do this. I've added the change needed and tests behind it. (Let me know if you'd like me to move my tests from their own file back into base_test.)

I'm not sure if such a thing is needed by anybody else...or if it's even in spec for atom/rss, but I'm aggregating some Google Reader Shared feeds, and they have them and I need them. (Example: http://www.google.com/reader/public/atom/user/13184750814515218749/state/com.google/broadcast)

Tested on Ruby 1.8.7p174. Thx.

@poprygun
Copy link

poprygun commented Dec 7, 2011

Any chance to add same functionality on feed level in addition to item level? I have quiet a few instances where I need to parse channel attributes.
Many thanks,
Alex

driv3r added a commit to driv3r/simple-rss that referenced this pull request Sep 16, 2013
Also merged pull requests cardmagic#7, cardmagic#12 and cardmagic#13 from upstream repository.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants