Menu

#207 Encoded chars in rss feeds

open
5
2008-02-11
2008-02-11
No

Hi,

Html-encoded chars (e.g. <) are not decoded before showing the rss info. This piece of code to be added to proc ::tkchat::rss::ShowRssInfo (tkchat_rss.tcl line 152) fixes this problem:

if {![info exists a(title)] || [string length $a(title)] < 1} {
set a(title) "(no title)"
} else {
set a(title) [::htmlparse::mapEscapes $a(title)]
}
if {[info exists a(description)]} {
set a(description) [::htmlparse::mapEscapes $a(description)]
}

Kind regards,

Jos.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.