2008-06-26 14:36:58 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1>Scrapy - an opensource screen scraping framework for python</h1>
|
|
|
|
|
|
|
|
<ul id="navigation">
|
2008-11-24 12:51:22 +00:00
|
|
|
<li><a href="/">Home</a>
|
2008-07-25 15:16:37 +00:00
|
|
|
<li><a href="/code/">Code</a>
|
|
|
|
<li><a href="/blog/">Weblog</a>
|
|
|
|
<li><a href="/doc/">Documentation</a>
|
2008-11-24 12:51:22 +00:00
|
|
|
<li class="last"><a href="/download/">Download</a>
|
2008-06-26 14:36:58 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
<div id="left-column">
|
|
|
|
{% block main-content %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="right-column">
|
|
|
|
{% load download_tags %}
|
|
|
|
{% load_download_links as "download_links" %}
|
|
|
|
|
|
|
|
{% if download_links %}
|
|
|
|
<div class="box download">
|
|
|
|
<h3>Download Scrapy</h3>
|
|
|
|
|
|
|
|
{% for link in download_links %}
|
|
|
|
<p>{{ link.description }} <a href="{{ link.address }}" class="download">{{ link.text }}</a></p>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2008-09-19 19:57:45 +00:00
|
|
|
{% comment %}
|
2008-07-25 15:19:16 +00:00
|
|
|
{% load lastblogentry %}
|
|
|
|
{% get_latest_blog_entries 2 as entries %}
|
|
|
|
|
|
|
|
{% if entries %}
|
2008-06-26 14:36:58 +00:00
|
|
|
<div class="box">
|
|
|
|
<h3>Scrapy Weblog</h3>
|
|
|
|
|
2008-06-27 02:40:11 +00:00
|
|
|
{% for entry in entries %}
|
|
|
|
<div class="post{% if forloop.last %} last{% endif %}">
|
|
|
|
<h4><a href="{{ entry.get_absolute_url }}">{{ entry.headline }}</a></h4>
|
|
|
|
<p class="author">by {{ entry.author }} on {{ entry.pub_date|date:"M d, Y"}}</p>
|
|
|
|
<p class="abstract">{{ entry.summary }}</p>
|
|
|
|
<a href="{{ entry.get_absolute_url }}" class="more">» Read More</a>
|
2008-06-26 14:36:58 +00:00
|
|
|
</div>
|
2008-06-27 02:40:11 +00:00
|
|
|
{% endfor %}
|
2008-06-26 14:36:58 +00:00
|
|
|
</div>
|
2008-07-25 15:19:16 +00:00
|
|
|
{% endif %}
|
2008-09-19 19:57:45 +00:00
|
|
|
{% endcomment %}
|
2008-06-26 14:36:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block footer %}
|
2008-07-25 15:16:37 +00:00
|
|
|
<ul>
|
|
|
|
<li style="border-right:none;">Scrapy : </li>
|
2008-11-24 12:51:22 +00:00
|
|
|
<li><a href="/">Home</a>
|
2008-07-25 15:16:37 +00:00
|
|
|
<li><a href="/code/">Code</a>
|
|
|
|
<li><a href="/blog/">Weblog</a>
|
|
|
|
<li><a href="/doc/">Documentation</a>
|
2008-11-24 12:51:22 +00:00
|
|
|
<li class="last"><a href="/download/">Download</a>
|
2008-07-25 15:16:37 +00:00
|
|
|
</ul>
|
2008-06-26 14:36:58 +00:00
|
|
|
{% endblock %}
|