Changeset 1785
- Timestamp:
- 10/23/08 07:52:11 (17 months ago)
- Location:
- trunk/pylucid_project
- Files:
-
- 2 modified
-
media/PyLucid/internal_page/RSS/RSS.html (modified) (1 diff)
-
PyLucid/plugins_internal/RSS/RSS.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid_project/media/PyLucid/internal_page/RSS/RSS.html
r1656 r1785 4 4 {% for entry in feed.entries %} 5 5 <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> 7 7 <p> 8 8 {{ entry.updated }}<br /> -
trunk/pylucid_project/PyLucid/plugins_internal/RSS/RSS.py
r1693 r1785 24 24 25 25 from PyLucid.system.BasePlugin import PyLucidBasePlugin 26 from PyLucid.tools.utils import escape 26 27 from PyLucid.tools import feedparser 27 28 … … 41 42 self.response.write("<h2>RSS debug for '%s':</h2>\n" % url) 42 43 self.response.write("<pre>\n") 43 self.response.write( pformat(feed))44 self.response.write(escape(pformat(feed))) 44 45 self.response.write("</pre>\n") 45 46