RSS Parse

Matheus Barbosa's Avatar

Matheus Barbosa

15 Jul, 2016 07:08 PM

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

  1. Support Staff 1 Posted by Frederik De Ble... on 18 Jul, 2016 06:54 PM

    Frederik De Bleser's Avatar

    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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

06 Feb, 2025 01:37 AM
04 Feb, 2025 06:32 AM
04 Feb, 2025 05:04 AM
30 Jan, 2025 09:31 AM
30 Jan, 2025 09:08 AM

 

30 Jan, 2025 08:40 AM
24 Jan, 2025 07:50 AM
22 Jan, 2025 11:42 PM
21 Jan, 2025 09:43 AM
21 Jan, 2025 09:41 AM
21 Jan, 2025 09:36 AM