[web2py] Re: RSS feed

2015-01-24 Thread Massimo Di Pierro
yes. Please open a ticket and we will fix it soon. On Friday, 23 January 2015 16:12:28 UTC-6, Dani wrote: Hi: What string type pass for this work? file: gluon/serializers.py (from 25 Sep 2014) line: 182 def safestr(obj, key, default=''): return

[web2py] Re: rss feed

2013-05-23 Thread greaneym
Thank you, Massimo, After reading a lot more about feedparser and xlml, I began going through xlml examples but figured that feedparser was already doing most of what I needed, so I found this on stackoverflow,

[web2py] Re: rss feed

2013-05-23 Thread greaneym
I figured out a solutiion. It may not be the most appropriate, though, in the controller, here is what gets returned: return(XML(t_conditions + t_summary)) and in the view, {{ =(XML(LOAD('default','weatherfeed')))}} This prints out the image and text with no extraneous characters. On

[web2py] Re: rss feed

2013-05-22 Thread greaneym
Thank you, Massimo, I will check this out. Margaret On Tuesday, May 21, 2013 5:37:02 PM UTC-5, Massimo Di Pierro wrote: I think these are the feeds: feed://alerts.weather.gov/cap/wwaatmget.php?x=ILZ013y=0 They are in Atom format: feed xmlns = 'http://www.w3.org/2005/Atom' xmlns:cap =

[web2py] Re: rss feed

2013-05-21 Thread Massimo Di Pierro
On Tuesday, 21 May 2013 10:05:47 UTC-5, greaneym wrote: hello, I am trying to learn about rss feeds. using the feed_parser.py I can have a view with a href=/{{=request.application}}/default/rss_aggregatorrss_aggregator/a/p that will correctly display this feed,

[web2py] Re: rss feed

2013-05-21 Thread Massimo Di Pierro
I think these are the feeds: feed://alerts.weather.gov/cap/wwaatmget.php?x=ILZ013y=0 They are in Atom format: feed xmlns = 'http://www.w3.org/2005/Atom' xmlns:cap = 'urn:oasis:names:tc:emergency:cap:1.1' xmlns:ha = 'http://www.alerting.net/namespace/index_1.0' The NOA page is a bit

[web2py] Re: rss feed escaping html

2011-05-01 Thread Anthony
On Sunday, May 1, 2011 9:28:13 PM UTC-4, Plumo wrote: How can I include HTML in an RSS feed? By default HTML tags are escaped, even though generic.rss has escape=False. Does it work if you wrap the HTML in XML() (see http://web2py.com/book/default/chapter/05#XML)?