[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 str(obj[key]).encod

[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 Thursda

[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, http://stackoverflow.com/questions/11157894/less-painful-way-to-parse-a-rss-feed-with-l

[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=ILZ013&y=0 > > They are in Atom format: > > xmlns = 'http://www.w3.org/2005/Atom' > xmlns:cap

[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=ILZ013&y=0 They are in Atom format: The NOA page is a bit confusing. 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

[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 > href="/{{=request.application}}/default/rss_aggregator">rss_aggregator > > > that will correctly display this feed, > http://w1.weat

[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)?