diff --git a/src/var/lib/tyto/program/publish.py b/src/var/lib/tyto/program/publish.py index 83c6229..c8ce4cf 100644 --- a/src/var/lib/tyto/program/publish.py +++ b/src/var/lib/tyto/program/publish.py @@ -4,6 +4,6 @@ import rss, domain def manage_publish(file_post, Force): - # At ending process... + # At ending process.. # Create rss.xml for www rss.find_www(domain.srv_www, 'www') diff --git a/src/var/lib/tyto/program/rss.py b/src/var/lib/tyto/program/rss.py index e67cdfc..f4f1634 100644 --- a/src/var/lib/tyto/program/rss.py +++ b/src/var/lib/tyto/program/rss.py @@ -29,13 +29,13 @@ rss_headers = '\n' + \ domain.domain_name, domain.sep_titles ) + \ - ' %s\n'%domain.domain_url + \ - ' %s\n'%domain.domain_about + \ - ' %s\n'%domain.domain_lang + \ - ' %s\n'%log.nowdate() + \ - ' %s\n'%domain.domain_license + \ - ' %s\n'%domain.domain_mail + \ - ' Tyto - Littérateur\n' + ' %s\n'%domain.domain_url + \ + ' %s\n'%domain.domain_about + \ + ' %s\n'%domain.domain_lang + \ + ' %s\n'%log.nowdate() + \ + ' %s\n'%domain.domain_license + \ + ' %s\n'%domain.domain_mail + \ + ' Tyto - Littérateur\n' #==================================# @@ -77,10 +77,10 @@ def find_www(srv, srv_type): ' %s\n'%post_title + \ ' %s\n'%post_url + \ ' %s\n'%post_url + \ - ' %s'%hash_srv[1] + \ + ' %s\n'%hash_srv[1] + \ ' %s\n'%post_about + \ ' %s\n' + \ - ' ' + ' \n' file = open(rss_file, 'a') file.write(rss_post) diff --git a/src/var/lib/tyto/program/wip.py b/src/var/lib/tyto/program/wip.py index 770fec4..98bba8c 100644 --- a/src/var/lib/tyto/program/wip.py +++ b/src/var/lib/tyto/program/wip.py @@ -153,6 +153,10 @@ def manage_wip(file_post, Force): msg_log = 'Edit Database: %s'%check.post_db log.append_f(check.post_logs, msg_log, 0) + # At ending process.. + # Create rss.xml for www + rss.find_www(domain.srv_wip, 'wip') + #============================# # HTML CONVERTERS # # wip_tmp: new replacedlines #