Hi guys... I'm trying to parse a rss link with http_get node,
but I can't read the itens on rss. Anyone know how can I do this?
All the best,
Matheus
The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.
NodeBox 3From the old forum
Hi guys... I'm trying to parse a rss link with http_get node,
but I can't read the itens on rss. Anyone know how can I do this?
All the best,
Matheus
The http_get node just returns the string of the whole XML document, it does not do any parsing. You're best bet is to write a custom node that does the parsing, either in Clojure or Python (Jython actually).
For example you could look at feedparse, which is written in pure Python and should work under Jython as well. You'll need a small wrapper that calls the library and returns the items.
Look at the docs on writing your own node for more info on how to wrap bits of custom code.