Changeset 332
- Timestamp:
- 03/06/06 09:10:04
- Files:
-
- trunk/plagger/assets/plugins/publish-psp/psp.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/assets/plugins/publish-psp/psp.tt
r300 r332 2 2 <html> 3 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 <head> 4 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> 6 5 </head> 7 6 <body> 8 7 [% FOREACH feed = feeds %] 9 8 [% IF feed.image %]<a href="[% feed.link %]"><img src="[% feed.image.url | html %]" alt="[% feed.title | html %]" /></a>[% END %] 10 [% FOREACH item= feed.entries %]11 <h1>[% item.title %]</h1>9 [% FOREACH entry = feed.entries %] 10 <h1>[% entry.title %]</h1> 12 11 <div> 13 12 <div> 14 [% SET link = item.link || item.id -%]13 [% SET link = entry.link || entry.id -%] 15 14 Link: <a href="[% link | html %]">[% link | html %]</a><br /> 16 [% IF item.author %]by [% item.author | html %][% END %][% IF item.tags.size %] on [% item.tags.join(',') %][% END %]</div>17 [% IF item.body -%]18 [% IF item.body.match('(?i)^<p[ >]') %][% item.body %][% ELSE %]<div class="item_body">[% item.body %]</div>[% END %]15 [% IF entry.author %]by [% entry.author | html %][% END %][% IF entry.tags.size %] on [% entry.tags.join(',') %][% END %]</div> 16 [% IF entry.body -%] 17 [% IF entry.body.match('(?i)^<p[ >]') %][% entry.body %][% ELSE %]<div class="entry_body">[% entry.body %]</div>[% END %] 19 18 [% ELSE %]<br />[% END %] 20 <div class="post">[% IF item.date %]Posted on [% item.date.format('Mail') %][% END %] | <a href="[% entry.permalink | html %]">permalink</a> | <a href="[% feed.link | html %]">[% (feed.title || '(no-title)') | html %]</a>[% FOREACH widget = item.widgets %] | [% widget.html(item) %][% END %]<br clear="all" /></div>19 <div class="post">[% IF entry.date %]Posted on [% entry.date.format('Mail') %][% END %] | <a href="[% entry.permalink | html %]">permalink</a> | <a href="[% feed.link | html %]">[% (feed.title || '(no-title)') | html %]</a>[% FOREACH widget = entry.widgets %] | [% widget.html(entry) %][% END %]<br clear="all" /></div> 21 20 </div> 22 21 [% END %]
