Cleaned the atom feed to validate against the feedvalidator.
This commit is contained in:
parent
2e3330a8ad
commit
d6e3b8dca9
@ -207,7 +207,8 @@ class IDF_Issue extends Pluf_Model
|
||||
<pre>%%content%%</pre>
|
||||
</div></content>
|
||||
</entry>';
|
||||
$url = Pluf_HTTP_URL_urlForView('IDF_Views_Issue::view',
|
||||
$url = Pluf::f('url_base')
|
||||
.Pluf_HTTP_URL_urlForView('IDF_Views_Issue::view',
|
||||
array($request->project->shortname,
|
||||
$this->id));
|
||||
$title = sprintf(__('%s: Issue %d created - %s'),
|
||||
|
@ -185,7 +185,8 @@ class IDF_IssueComment extends Pluf_Model
|
||||
</div></content>
|
||||
</entry>';
|
||||
$issue = $this->get_issue();
|
||||
$url = Pluf_HTTP_URL_urlForView('IDF_Views_Issue::view',
|
||||
$url = Pluf::f('url_base')
|
||||
.Pluf_HTTP_URL_urlForView('IDF_Views_Issue::view',
|
||||
array($request->project->shortname,
|
||||
$issue->id));
|
||||
$url .= '#ic'.$this->id;
|
||||
|
@ -210,7 +210,8 @@ class IDF_WikiPage extends Pluf_Model
|
||||
%%content%%
|
||||
</div></content>
|
||||
</entry>';
|
||||
$url = Pluf_HTTP_URL_urlForView('IDF_Views_Wiki::view',
|
||||
$url = Pluf::f('url_base')
|
||||
.Pluf_HTTP_URL_urlForView('IDF_Views_Wiki::view',
|
||||
array($request->project->shortname,
|
||||
$this->title));
|
||||
$title = sprintf(__('%s: Documentation page %s added - %s'),
|
||||
|
@ -202,7 +202,8 @@ class IDF_WikiRevision extends Pluf_Model
|
||||
</div></content>
|
||||
</entry>';
|
||||
$page = $this->get_wikipage();
|
||||
$url = Pluf_HTTP_URL_urlForView('IDF_Views_Wiki::view',
|
||||
$url = Pluf::f('url_base')
|
||||
.Pluf_HTTP_URL_urlForView('IDF_Views_Wiki::view',
|
||||
array($request->project->shortname,
|
||||
$page->title));
|
||||
$title = sprintf(__('%s: Documentation page %s updated - %s'),
|
||||
|
@ -3,11 +3,6 @@
|
||||
{if !$user.isAnonymous()} <subtitle>{blocktrans}Personal project feed for {$user}.{/blocktrans}</subtitle>{/if}
|
||||
<link href="{$feedurl}" rel="self"/>
|
||||
<link href="{$viewurl}"/>
|
||||
<updated>{$updated}</updated>
|
||||
<author>
|
||||
<name>Not given</name>
|
||||
<email>Not given</email>
|
||||
</author>
|
||||
<id>{$feedurl}</id>
|
||||
{$body}
|
||||
</feed>
|
||||
|
Loading…
Reference in New Issue
Block a user