blob: 110442f60efc7aa2fa93e343cbd047cbd44d470c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
## article.html
<%inherit file="base.html"/>
<h1><div class="right innerlogo"><a href="/"><img src="/img/tuxrss.png" title="What's new today?"/></a>
</div><a name="top"><a href="/">pyAggr3g470r - News aggregator</a></a></h1>
<a href="http://bitbucket.org/cedricbonhomme/pyaggr3g470r/" rel="noreferrer" target="_blank">pyAggr3g470r (source code)</a>
<div>
<div style="width: 50%; overflow:hidden; text-align: justify; margin:0 auto">
<h1><i>${article["article_title"]}</i> from <a href="/feed/${feed['feed_id']}">${feed["feed_title"]}</a></h1>
<br />
%if article["article_like"]:
<a href="/like/0:${feed['feed_id']}:${article['article_id']}"><img src="/img/heart.png" title="I like this article!" /></a>
%else:
<a href="/like/1:${feed['feed_id']}:${article['article_id']}"><img src="/img/heart_open.png" title="Click if you like this article." /></a>
%endif
<a href="/delete_article/${feed['feed_id']}:${article['article_id']}"><img src="/img/cross.png" title="Delete this article" /></a>
<br /><br />
${description}
<div style="float:right;"><a href="/article/${feed['feed_id']}:${following['article_id']}" title="${following['article_title']}"><img src="/img/following-article.png" /></a></div>
<div style="float:left;"><a href="/article/${feed['feed_id']}:${previous['article_id']}" title="${previous['article_title']}"><img src="/img/previous-article.png" /></a></div>
</div>
<hr />
<a href="/plain_text/${feed['feed_id']}:${article['article_id']}">Plain text</a>
- <a href="/epub/${feed['feed_id']}:${article['article_id']}">Export to EPUB</a>
<br />
<a href="${article['article_link']}">Complete story</a>
<br />
Share this article:<br />
<a href="javascript:(function(){f='https://${diaspora}/bookmarklet?url=${article['article_link']}&title=${article['article_title']}&notes=via pyAggr3g470r&v=1&';a=function(){if(!window.open(f+'noui=1&jump=doclose','diasporav1','location=yes,links=no,scrollbars=no,toolbar=no,width=620,height=250'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()">
<img src="/img/diaspora.png" title="Share on Diaspora" /></a>
<a href="http://identi.ca/index.php?action=newnotice&status_textarea=${article['article_title']}:${article['article_link']}" title="Share on Identi.ca" target="_blank"><img src="/img/identica.png" /></a>
<a href="https://api.pinboard.in/v1/posts/add?url=${article['article_link']}&description=${article['article_title']}"
rel="noreferrer" target="_blank">
<img src="/img/pinboard.png" title="Share on Pinboard" /></a>
<a href="http://digg.com/submit?url=${article['article_link']}&title=${article['article_title']}"
rel="noreferrer" target="_blank">
<img src="/img/digg.png" title="Share on Digg" /></a>
<a href="http://reddit.com/submit?url=${article['article_link']}&title=${article['article_title']}"
rel="noreferrer" target="_blank">
<img src="/img/reddit.png" title="Share on reddit" /></a>
<a href="http://scoopeo.com/scoop/new?newurl=${article['article_link']}&title=${article['article_title']}"
rel="noreferrer" target="_blank">
<img src="/img/scoopeo.png" title="Share on Scoopeo" /></a>
<a href="http://blogmarks.net/my/new.php?url=${article['article_link']}&title=${article['article_title']}"
rel="noreferrer" target="_blank">
<img src="/img/blogmarks.png" title="Share on Blogmarks" /></a>
<g:plusone size="standard" count="true" href="${article['article_link']}"></g:plusone>
<br />
<a href="/var/qrcode/${article['article_id']}.png"><img src="/var/qrcode/${article['article_id']}.png" title="Share with your smartphone" width="500" height="500" /></a>
|