File indexing completed on 2024-12-29 03:44:33

0001 
0002 {% extends "shared/base.html" %}
0003 
0004 {% block head %}
0005 <script>
0006  $(document).ready(function() {
0007   $(".accordion table").click(function(){
0008     $(this).find(".bigurl").slideToggle("slow")
0009     $(this).siblings("table:visible").find(".bigurl").slideUp("slow");
0010     $(this).toggleClass("active");
0011     $(this).siblings("table").removeClass("active");
0012   });
0013  });
0014 </script>
0015 {% endblock %}
0016 
0017 {% block content %}
0018   <div class="accordion">
0019   {% rssfeed "https://api.flickr.com/services/feeds/photos_public.gne?format=rss2" "/rss/channel/item" %}
0020     {% xmlns "http://search.yahoo.com/mrss/" as media %}
0021     <table class="imagerow" style="background-color:{% cycle "#E3E4FA" "#E9CFEC" "#C8BBBE" %}" width="100%">
0022     <tr><td><img src="{% xmlrole "media:thumbnail/@url/string()" %}" /></td>
0023     <td>
0024       <p>Title: {% xmlrole "title/string()" %}
0025       <p>Tags: {% xmlrole "media:category/string()" %}
0026       <p>photoAuthor: {% xmlrole "author/string()" %}
0027       <p>photoDate: {% xmlrole "pubDate/string()" %}
0028       <div class="bigurl"><img src="{% filter resize %}{% xmlrole "media:thumbnail/@url/string()" %}{% endfilter %}" /></div>
0029     </td>
0030     </tr>
0031     </table>
0032   {% endrssfeed %}
0033   </div>
0034 {% endblock %}