summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/data/demos/GoogleFeedTemplate.html
blob: 2d18fcae6568397139e9c5765fdfacf66be6c3dd (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
{% load dojox.dtl.contrib.data %}
{% bind_data items to store as google %}
<ul>
{% for item in google %}
<li class="search-result">
	<div>
	<a href="{{item.link}}">{{item.title}}</a>
	<div style="display:none" class="content">
		<h2>{{item.title}}</h2>
		{{item.content}}
	</div>
	</div>
	<div class="summary">
		{{item.summary}}
	</div>
	<div class="tags">
		<!--{% if item.categories %}-->
			Tags: 
			<!--{% for cat in item.categories %}-->
				{{cat}}
			<!--{% endfor %}-->
		<!--{% endif %}-->
	</div>
</li>
{% endfor %}
</ul>