noosfero | Implements podcasting functionality (!1306)

Rodrigo Souto gitlab at mg.gitlab.com
Tue Jan 9 13:27:10 BRST 2018


Rodrigo Souto started a new discussion on app/services/feed_writer.rb:

>            xml.description(options[:description])
>          end
>          for article in articles
> +          article = FilePresenter.for article
>            xml.item do
> -            xml.title(article.title)
> -            xml.description(article.to_html)
> +            xml.title(article.name)

You need to use `article.title` here instead of `article.name` due to a new feature called Macros that allows dynamic content on article names. The former convert these Macros while the other doesn't.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1306#note_53862474
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180109/27b81298/attachment-0001.html>


More information about the Noosfero-dev mailing list