This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
|
| 2 |
{% extends "shared/base.html" %} |
| 3 |
|
| 4 |
{% block head %} |
| 5 |
<script> |
| 6 |
$(document).ready(function() { |
| 7 |
$(".accordion table").click(function(){ |
| 8 |
$(this).find(".bigurl").slideToggle("slow") |
| 9 |
$(this).siblings("table:visible").find(".bigurl").slideUp("slow"); |
| 10 |
$(this).toggleClass("active"); |
| 11 |
$(this).siblings("table").removeClass("active"); |
| 12 |
}); |
| 13 |
}); |
| 14 |
</script> |
| 15 |
{% endblock %} |
| 16 |
|
| 17 |
{% block content %} |
| 18 |
<div class="accordion"> |
| 19 |
{% rssfeed "http://api.flickr.com/services/feeds/photos_public.gne?format=rss2" "/rss/channel/item" %} |
| 20 |
{% xmlns "http://search.yahoo.com/mrss/" as media %} |
| 21 |
<table class="imagerow" style="background-color:{% cycle "#E3E4FA" "#E9CFEC" "#C8BBBE" %}" width="100%"> |
| 22 |
<tr><td><img src="{% xmlrole "media:thumbnail/@url/string()" %}" /></td> |
| 23 |
<td> |
| 24 |
<p>Title: {% xmlrole "title/string()" %} |
| 25 |
<p>Tags: {% xmlrole "media:category/string()" %} |
| 26 |
<p>photoAuthor: {% xmlrole "author/string()" %} |
| 27 |
<p>photoDate: {% xmlrole "pubDate/string()" %} |
| 28 |
<div class="bigurl"><img src="{% filter resize %}{% xmlrole "media:thumbnail/@url/string()" %}{% endfilter %}" /></div> |
| 29 |
</td> |
| 30 |
</tr> |
| 31 |
</table> |
| 32 |
{% endrssfeed %} |
| 33 |
</div> |
| 34 |
{% endblock %} |