You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One idea is to easily support access to the full underlying structure with all its additions (in a uniform "parsed" way e.g. xml or json converted to a nested ruby hash, for example.
Having full access to the origin structure sounds very useful. Something like https://stackoverflow.com/a/10144623/2508518 could work, though I assume nokogiri is not an ideal requirement for this gem.
Thanks. Good points. Soon or later the "old" standard rss library has to get replaced with something better. Why not nokogiri? I'm all for it. The only downside as far as I can tell is the "hard-to-install" part because it requires a c-extension. The idea of the nested hash is that it is uniform, that is, the same for xml and json - thus, I'm not sure if the nokogiri .to_hash format (or is it just a "dump") is a 100% fit here. But yeah it's the same basic idea.
Activity
geraldb commentedon Mar 6, 2019
One idea is to easily support access to the full underlying structure with all its additions (in a uniform "parsed" way e.g. xml or json converted to a nested ruby hash, for example.
Also might be a good idea to check what feedjira https://github.com/feedjira/feedjira offers or how it handles channel images?
onli commentedon Mar 6, 2019
feedjira has a class for rss channel images in https://github.com/feedjira/feedjira/blob/master/lib/feedjira/parser/rss_image.rb/. I think it has no equivalents for atom and jsonfeed.
Having full access to the origin structure sounds very useful. Something like https://stackoverflow.com/a/10144623/2508518 could work, though I assume nokogiri is not an ideal requirement for this gem.
geraldb commentedon Mar 6, 2019
Thanks. Good points. Soon or later the "old" standard rss library has to get replaced with something better. Why not nokogiri? I'm all for it. The only downside as far as I can tell is the "hard-to-install" part because it requires a c-extension. The idea of the nested hash is that it is uniform, that is, the same for xml and json - thus, I'm not sure if the nokogiri
.to_hashformat (or is it just a "dump") is a 100% fit here. But yeah it's the same basic idea.