From 90399b6c560c561f530d690e54bc467eaf0b3a2d Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Mon, 20 Jun 2011 12:07:21 +0200 Subject: Added two forms to the page dedicated to the management of feeds (to change the logo and the name of the feed). --- pyAggr3g470r.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index a5ed2d4a..be70e845 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -637,13 +637,23 @@ class Root: (feed.feed_id, article.article_id, article.article_title[:150], description) - html += """\n

\n
\n""" % \ + # This section enables the user to edit informations about + # the current feed: + # - feed logo; + # - feed name; + # - URL of the feed (not the site); + html += "
\n

Edit this feed

\n" + html += """\n\n
\n""" % \ + (feed.feed_link,) + html += """\n\n
\n""" % \ + (feed.feed_link,) + html += """\n\n
\n""" % \ (feed.feed_link,) dic = {} dic[feed.feed_id] = self.feeds[feed.feed_id] top_words = utils.top_words(dic, n=50, size=int(word_size)) - html += "

Tag cloud

\n
\n" + html += "

Tag cloud

\n
\n" # Tags cloud html += 'Minimum size of a word:' html += """
""" % (feed.feed_id,) -- cgit