Changeset 1785

Show
Ignore:
Timestamp:
10/23/08 07:52:11 (17 months ago)
Author:
JensDiemer
Message:

RSS plugin update:

Location:
trunk/pylucid_project
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid_project/media/PyLucid/internal_page/RSS/RSS.html

    r1656 r1785  
    44{% for entry in feed.entries %} 
    55    <li> 
    6     <h1><a href="{{ entry.title_detail.base }}">{{ entry.title|safe }}</a></h1> 
     6    <h1><a href="{{ entry.link }}">{{ entry.title|safe }}</a></h1> 
    77    <p> 
    88      {{ entry.updated }}<br /> 
  • trunk/pylucid_project/PyLucid/plugins_internal/RSS/RSS.py

    r1693 r1785  
    2424 
    2525from PyLucid.system.BasePlugin import PyLucidBasePlugin 
     26from PyLucid.tools.utils import escape 
    2627from PyLucid.tools import feedparser 
    2728 
     
    4142        self.response.write("<h2>RSS debug for '%s':</h2>\n" % url) 
    4243        self.response.write("<pre>\n") 
    43         self.response.write(pformat(feed)) 
     44        self.response.write(escape(pformat(feed))) 
    4445        self.response.write("</pre>\n") 
    4546