A simple Django Application to pull RSS Feeds, pars them and deliver them via JSON

news_slider_item.tpl.html 469B

1234567891011
  1. <div>
  2. <div style="color: #{{ item.feed.foreground_color }}; background: #{{ item.feed.background_color }}; ">
  3. <div class="col-xs-1 center-block">
  4. <img class="img-responsive center-block" style="margin: 0 auto; height: 1.5em; width: auto; border: none; "
  5. src="{{ MEDIA_URL }}{{ item.feed.image.url }}">
  6. </div>
  7. <div class="col-xs-auto" style="overflow: hidden;white-space:nowrap;">
  8. {{ item.headline }}
  9. </div>
  10. </div>
  11. </div>