huginn/huginn

DataOutputAgent ignores multiple <category> items ?

Offen

#1.598 geöffnet am 22.07.2016

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Ruby (4.264 Forks)batch import
help wanted

Repository-Metriken

Stars
 (49.270 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Thank you so much for this great tool, it saved me so much time!

Nevertheless, I'm encountering a problem, maybe related to the Huginn UI. I am trying to save a second "category" element in my output feed. When I save the agent, only one element (the second one) remains. RSS spec (http://www.rssboard.org/rss-specification#ltcategorygtSubelementOfLtitemgt) says "You may include as many category elements as you need to" and I've seen multiple category elements on other feed sources.

Not working:

"item": { "title": "{{title}}", "link": "{{url}}", "pubDate": "{{date}}", "description": "{{content}}", "category": "{{category1}}", "category": "{{category2}}", "itunes:author": "{{author}}", "media:thumbnail": { "_attributes": { "url": "{{m_link}}" } } }

To get the categories for items right is really important for my usage scenario, that is import from RSS into Wordpress. Any help is very appreciated.

Contributor Guide