don't display user e-mail addresses in rss output if user.publishemail is set to false
This commit is contained in:
parent
bc37d92c9e
commit
edd1ef1eb6
6 changed files with 12 additions and 7 deletions
|
@ -18,7 +18,9 @@ for (var i=0; i<max; i++) {
|
|||
param.title = site.title ? site.title : site.alias;
|
||||
param.publisher = systitle;
|
||||
param.creator = site.creator.name;
|
||||
param.email = translateToEntities(site.creator.email);
|
||||
param.email = "";
|
||||
if (site.creator.publishemail)
|
||||
param.email = translateToEntities(site.creator.email);
|
||||
param.date = site.lastupdate.format("dd.MM.yyyy, HH:mm'h CET'");
|
||||
param.isodate = site.lastupdate.format(isoDateFormat);
|
||||
param.year = site.lastupdate.getYear();
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<link><% this.url encoding="xml" %></link>
|
||||
<description>Recently updated <% param.title %> sites ordered by date</description>
|
||||
<dc:publisher><% param.title encoding="xml" %></dc:publisher>
|
||||
<dc:creator><% param.title encoding="xml" %> (mailto:<% param.email %>)</dc:creator>
|
||||
<dc:creator><% param.title encoding="xml" %><% param.email prefix=" (mailto:" suffix=")" %></dc:creator>
|
||||
<dc:date><% param.lastupdate %></dc:date>
|
||||
<dc:language>en</dc:language>
|
||||
<sy:updatePeriod>hourly</sy:updatePeriod>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue