Merged last updates of mustafa_branch concerning mostly archiving related utilities into trunk.
This commit is contained in:
parent
959b93d814
commit
1e8c02891f
|
@ -61,9 +61,9 @@ class AuthorsAdmin (admin.ModelAdmin):
|
|||
heads_path = os.path.join(images_path, 'heads')
|
||||
face_path = os.path.join(heads_path, a_face)
|
||||
|
||||
tmp_image_path = os.path.join(settinsg.MAIN_PATH, 'temp_ini', a_face)
|
||||
tmp_image_path = os.path.join(settings.MAIN_PATH, 'temp_ini', a_face)
|
||||
|
||||
if os.path.exits(tmp_image_path):
|
||||
if os.path.exists(tmp_image_path):
|
||||
shutil.move(tmp_image_path, face_path)
|
||||
|
||||
class HistoryAdmin(admin.ModelAdmin):
|
||||
|
|
|
@ -47,8 +47,11 @@ def main(request):
|
|||
#'pag_entries_list':pag_entries_list,
|
||||
'BASE_URL': BASE_URL,
|
||||
'last_date_li': last_date_li,
|
||||
'info_area':'main',
|
||||
})
|
||||
def member_subscribe(request):
|
||||
info_area = 'subscribe'
|
||||
|
||||
if request.method == 'POST':
|
||||
form = ContactForm(request.POST, request.FILES)
|
||||
#return HttpResponse(str(request.FILES))
|
||||
|
@ -77,11 +80,10 @@ def member_subscribe(request):
|
|||
|
||||
#send mail part
|
||||
#fill it here
|
||||
return render_response(request, 'main/subscribe.html/',{'submit': 'done', 'BASE_URL': BASE_URL})
|
||||
return render_response(request, 'main/subscribe.html/',{'submit': 'done', 'BASE_URL': BASE_URL,'info_area':info_area})
|
||||
else:
|
||||
form = ContactForm()
|
||||
return render_response(request, 'main/subscribe.html', {'form': form, 'BASE_URL': BASE_URL})
|
||||
|
||||
return render_response(request, 'main/subscribe.html', {'form': form, 'BASE_URL': BASE_URL,'info_area':info_area})
|
||||
|
||||
def handle_uploaded_file(f):
|
||||
|
||||
|
@ -107,93 +109,130 @@ def handle_uploaded_file(f):
|
|||
return (False, '')
|
||||
|
||||
def list_members(request):
|
||||
info_area = 'members'
|
||||
|
||||
authors = Authors.objects.all()
|
||||
|
||||
return render_response(request, 'main/members.html', {'members': authors, 'BASE_URL': BASE_URL})
|
||||
return render_response(request, 'main/members.html', {'members': authors, 'BASE_URL': BASE_URL,'info_area' : info_area })
|
||||
|
||||
def query(request):
|
||||
|
||||
|
||||
return render_response(request,'main/query.html',{'BASE_URL' : BASE_URL})
|
||||
|
||||
def archive(request,archive_year='',archive_month=''):
|
||||
|
||||
def archive(request,archive_year='',archive_month='',archive_day=''):
|
||||
|
||||
# This setting gets the content truncated which contains more than <truncate_words> words.
|
||||
truncate_words = 250
|
||||
items_per_page = 25
|
||||
|
||||
#get the last run time
|
||||
run_time = RunTime.objects.all()[0]
|
||||
|
||||
|
||||
|
||||
|
||||
### Determine if the request includes any query or not. ###
|
||||
if (request.GET):
|
||||
try:
|
||||
does_getPage_exists = request.GET['page']
|
||||
except:
|
||||
does_getPage_exists = None
|
||||
|
||||
if ( (request.GET) and ( not( does_getPage_exists) )):
|
||||
# Switch to 'return the result of query' mode.
|
||||
|
||||
info_area = 'query'
|
||||
|
||||
#Querying
|
||||
#TODO: We should improve the querying method here.
|
||||
q_author_name,q_author_surname,q_text = '','',''
|
||||
authors = Authors.objects.all()
|
||||
if ( ('q_author_name' in request.GET) and (request.GET['q_author_name'] )):
|
||||
for item in Authors.objects.filter(author_name__icontains = request.GET['q_author_name']):
|
||||
try:
|
||||
entries_list |= item.entries_set.all()
|
||||
except:
|
||||
entries_list = item.entries_set.all()
|
||||
|
||||
q_author_name = request.GET['q_author_name']
|
||||
authors = authors.filter(author_name__icontains = q_author_name)
|
||||
|
||||
|
||||
if (('q_author_surname' in request.GET) and (request.GET['q_author_surname'])):
|
||||
for item in Authors.objects.filter(author_name__icontains = request.GET['q_author_surname']):
|
||||
try:
|
||||
entries_list |= item.entries_set.all()
|
||||
except:
|
||||
entries_list = item.entries_set.all()
|
||||
q_author_surname = request.GET['q_author_surname']
|
||||
authors = authors.filter(author_surname__icontains = q_author_surname)
|
||||
|
||||
|
||||
for item in authors:
|
||||
try:
|
||||
entries_list |= item.entries_set.all()
|
||||
except:
|
||||
entries_list = item.entries_set.all()
|
||||
|
||||
if( ('q_text' in request.GET)and(request.GET['q_text'])):
|
||||
q_text = request.GET['q_text']
|
||||
|
||||
try:
|
||||
entries_list |= Entries.objects.filter(content_text__icontains = request.GET['q_text'])
|
||||
except:
|
||||
entries_list = Entries.objects.filter(content_text__icontains = request.GET['q_text'])
|
||||
|
||||
|
||||
|
||||
try:
|
||||
if(not(entries_list)):
|
||||
return HttpResponseRedirect(BASE_URL+"/query")
|
||||
except:
|
||||
return HttpResponseRedirect(BASE_URL+ "/query")
|
||||
#here is gonna be edited [X]
|
||||
return render_to_response('main/main.html' ,{
|
||||
#here is gonna be edited [X]
|
||||
# Pagination
|
||||
elements_in_a_page = 25 # This determines, how many elements will be displayed in a paginator page.
|
||||
paginator = Paginator(entries_list,elements_in_a_page)
|
||||
# Validation for page number if it is not int return first page.
|
||||
try:
|
||||
page = int(request.GET.get('page', '1'))
|
||||
except ValueError:
|
||||
page = 1
|
||||
|
||||
# If page request is out of range, return last page .
|
||||
try:
|
||||
p_entries_list = paginator.page(page)
|
||||
except (EmptyPage, InvalidPage):
|
||||
p_entries_list = paginator.page(paginator.num_pages)
|
||||
|
||||
return render_to_response('main/archive.html' ,{
|
||||
'entries_list':entries_list,
|
||||
#'p_entries_list':p_entries_list,
|
||||
'p_entries_list':p_entries_list,
|
||||
'truncate_words':truncate_words,
|
||||
'items_per_page':repr(items_per_page),
|
||||
'run_time':run_time,
|
||||
#'archive_year':archive_year,
|
||||
#'archive_month':archive_month,
|
||||
#'error':error,
|
||||
'info_area':info_area,
|
||||
'q_author_name':q_author_name,
|
||||
'q_author_surname':q_author_surname,
|
||||
'q_text':q_text,
|
||||
'BASE_URL':BASE_URL,
|
||||
})
|
||||
### If not ###
|
||||
else:
|
||||
#Switch to return the result of arguments provided mode.
|
||||
### If not ###
|
||||
else:
|
||||
#Switch to return the result of arguments provided mode(archive viewing mode).
|
||||
info_area = 'archive'
|
||||
|
||||
selected_entries = Entries.objects.select_related()
|
||||
|
||||
|
||||
# For entry categories
|
||||
entries_list1 = selected_entries.filter(entry_id__label_personal = 1)
|
||||
entries_list2 = selected_entries.filter(entry_id__label_lkd = 1)
|
||||
entries_list3 = selected_entries.filter(entry_id__label_community = 1)
|
||||
entries_list = entries_list1 | entries_list2 | entries_list3
|
||||
|
||||
# Validating arguments provided by urls.py.
|
||||
|
||||
## Validating arguments provided by urls.py.
|
||||
# Check if archive_year is not empty and numeric.
|
||||
if((archive_year != '' ) and (str(archive_year).isalnum()) and (not(str(archive_year).isalpha()))):
|
||||
entries_list = entries_list.filter(date__year=archive_year)
|
||||
else:
|
||||
# Fall back to main view.
|
||||
return HttpResponseRedirect(BASE_URL+"/main")
|
||||
#else:
|
||||
# error = 1
|
||||
|
||||
if(archive_month != ''and (str(archive_year).isalnum()) and not(str(archive_year).isalpha())):
|
||||
entries_list = entries_list.filter(date__month=archive_month)
|
||||
## error = 1
|
||||
|
||||
|
||||
# Check if archive_month is not empty and numeric.
|
||||
if(archive_month != ''and (str(archive_month).isalnum()) and not(str(archive_month).isalpha())):
|
||||
entries_list = entries_list.filter(date__month=archive_month)
|
||||
|
||||
# Check if archive_day is not empty and numeric.
|
||||
if(archive_day != ''and (str(archive_day).isalnum()) and not(str(archive_day).isalpha())):
|
||||
entries_list = entries_list.filter(date__day=archive_day)
|
||||
##
|
||||
|
||||
|
||||
# Pagination
|
||||
elements_in_a_page = 25 # This determines, how many elements will be displayed in a paginator page.
|
||||
paginator = Paginator(entries_list,elements_in_a_page)
|
||||
|
@ -203,17 +242,17 @@ def archive(request,archive_year='',archive_month=''):
|
|||
page = int(request.GET.get('page', '1'))
|
||||
except ValueError:
|
||||
page = 1
|
||||
|
||||
|
||||
# If page request is out of range, return last page .
|
||||
try:
|
||||
p_entries_list = paginator.page(page)
|
||||
except (EmptyPage, InvalidPage):
|
||||
p_entries_list = paginator.page(paginator.num_pages)
|
||||
|
||||
|
||||
|
||||
|
||||
return render_to_response('main/main.html' ,{
|
||||
|
||||
|
||||
|
||||
|
||||
return render_to_response('main/archive.html' ,{
|
||||
'entries_list':entries_list,
|
||||
'p_entries_list':p_entries_list,
|
||||
'truncate_words':truncate_words,
|
||||
|
@ -221,6 +260,8 @@ def archive(request,archive_year='',archive_month=''):
|
|||
'run_time':run_time,
|
||||
'archive_year':archive_year,
|
||||
'archive_month':archive_month,
|
||||
'archive_day':archive_day,
|
||||
#'error':error,
|
||||
'BASE_URL':BASE_URL,
|
||||
'info_area':info_area,
|
||||
})
|
||||
|
|
44
DJAGEN/trunk/djagen/gezegen/gezegen/config_entries.ini
Executable file
44
DJAGEN/trunk/djagen/gezegen/gezegen/config_entries.ini
Executable file
|
@ -0,0 +1,44 @@
|
|||
[Planet]
|
||||
name = Linux Gezegeni
|
||||
link = http://gezegen.linux.org.tr
|
||||
label = Personal
|
||||
id =
|
||||
owner_name = Gezegen Ekibi
|
||||
owner_email = gezegen@linux.org.tr
|
||||
cache_directory = cache
|
||||
new_feed_items = 1
|
||||
log_level = DEBUG
|
||||
template_files = gezegen/index.html.tmpl gezegen/rss20.xml.tmpl gezegen/rss10.xml.tmpl gezegen/opml.xml.tmpl gezegen/foafroll.xml.tmpl gezegen/sidebar.html.tmpl gezegen/simple.html.tmpl gezegen/feeds.html.tmpl gezegen/atom.xml.tmpl
|
||||
output_dir = www/
|
||||
# items_per_page = 15
|
||||
items_per_page = 25
|
||||
#days_per_page = 0
|
||||
feed_timeout = 20
|
||||
|
||||
# future_dates = ignore_date
|
||||
# ignore_in_feed = updated
|
||||
|
||||
encoding = utf-8
|
||||
locale = tr_TR.UTF-8
|
||||
|
||||
date_format = %d %b %Y @ %I:%M %p
|
||||
#date_format = %B %d, %Y %I:%M %p
|
||||
new_date_format = %d %B %Y
|
||||
|
||||
[DEFAULT]
|
||||
facewidth = 64
|
||||
faceheight = 64
|
||||
|
||||
|
||||
[http://www.hakanuygun.com/blog/?feed=atom&cat=13]
|
||||
name = Hakan Uygun
|
||||
nick = huygun
|
||||
label = Personal
|
||||
id = 1
|
||||
|
||||
[http://feeds.feedburner.com/oguzy-gezegen]
|
||||
name = Oğuz Yarımtepe
|
||||
face = oguzyarimtepe.png
|
||||
nick = oyarimtepe
|
||||
label = Personal
|
||||
id = 2
|
16
DJAGEN/trunk/djagen/gezegen/tmp_ini/tmp_entries.ini
Executable file
16
DJAGEN/trunk/djagen/gezegen/tmp_ini/tmp_entries.ini
Executable file
|
@ -0,0 +1,16 @@
|
|||
Planet
|
||||
name = Linux Gezegeni
|
||||
label = Personal
|
||||
id =
|
||||
|
||||
http://feeds.feedburner.com/oguzy-gezegen
|
||||
name = Oğuz Yarımtepe
|
||||
label = Personal
|
||||
face = oguzyarimtepe.png
|
||||
id = 2
|
||||
|
||||
http://www.hakanuygun.com/blog/?feed=atom&cat=13
|
||||
name = Hakan Uygun
|
||||
label = Personal
|
||||
id = 1
|
||||
|
|
@ -17,7 +17,7 @@ DATABASE_USER = 'root' # Not used with sqlite3.
|
|||
DATABASE_PASSWORD = '1234' # Not used with sqlite3.
|
||||
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
|
||||
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
|
||||
|
||||
CACHE_BACKEND = 'db://cache_table'
|
||||
# Local time zone for this installation. Choices can be found here:
|
||||
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
||||
# although not all choices may be available on all operating systems.
|
||||
|
|
|
@ -1,397 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml/transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Linux Gezegeni</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link rel="stylesheet" href="/djagenmedia/generic.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/djagenmedia/layout.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/djagenmedia/planet.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/djagenmedia/bloggers.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/djagenmedia/nlayout.css" type="text/css" />
|
||||
<link rel="icon" type="image/png" href="djagenmedia/images/planet.png" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Linux Gezegeni" href="/djagenmedia/rss20.xml" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<div id="gezegen-sites">
|
||||
<ul>
|
||||
<li class="home"><a href="http://gezegen.linux.org.tr/" title="Gezegen">Gezegen</a><a href="http://haber.linux.org.tr" title="Linux Haber">Linux Haber</a><a href="/archive/" title="Gezegen Arşivi">Gezegen Arşivi</a></li>
|
||||
<li><a href="http://gezegen.linux.org.tr/kisisel/" title="Kişisel Günlükler">Kişisel Günlükler</a></li>
|
||||
<li><a href="http://gezegen.linux.org.tr/lkd/" title="LKD Günlükleri">LKD Günlükleri</a></li>
|
||||
<li><a href="http://gezegen.linux.org.tr/topluluk/" title="Topluluk Günlükleri">Topluluk Günlükleri</a></li>
|
||||
<li><a href="http://planet.linux.org.tr/" title="İngilizce Günlükler">İngilizce Günlükler</a></li>
|
||||
</div> <!-- /gezegen-sites -->
|
||||
|
||||
<div id="hdr">
|
||||
<div id="banner">
|
||||
<img src="http://gezegen.linux.org.tr/images/spacer.png" />
|
||||
</div>
|
||||
<div id="logo">
|
||||
<a href="http://gezegen.linux.org.tr/">
|
||||
<img src="http://gezegen.linux.org.tr/images/spacer.png" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="body">
|
||||
{% if error %}
|
||||
<img src="/djagenmedia/img/blinkingstop.gif" />
|
||||
<td align="center" style="color:#ffffff" bgcolor="#ff0000">Bir hata oluşu!</td>
|
||||
{% endif %}
|
||||
<H1>{{ archive_year }} yılı {% if archive_month %} {{ archive_month }}. ay, {% endif %}gezegen arşivi:</H1>
|
||||
{% ifnotequal p_entries_list.paginator.num_pages 1 %}
|
||||
|
||||
{% comment %}
|
||||
<div class="pagination">
|
||||
<span class="step-links">
|
||||
<div class="pagelist" style="text-align:center">
|
||||
{% if p_entries_list.has_previous %}
|
||||
<a href="?page={{ p_entries_list.previous_page_number }}">Geri</a>
|
||||
{% endif %}
|
||||
|
|
||||
|
||||
{% for pNum in p_entries_list.paginator.page_range %}
|
||||
{% ifequal pNum p_entries_list.number %}
|
||||
{{ pNum }}
|
||||
{% else %}
|
||||
<a href="?page={{ pNum }}">{{ pNum }}</a>
|
||||
{% endifequal %}
|
||||
{% endfor %}
|
||||
|
||||
|
|
||||
{% if p_entries_list.has_next %}
|
||||
<a href="?page={{ p_entries_list.next_page_number }}">İleri</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<br><span class="current">
|
||||
Sayfa <b>{{ p_entries_list.number }}</b> / <b>{{ p_entries_list.paginator.num_pages }}</b>
|
||||
</span>
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
{% endcomment %}
|
||||
{% endifnotequal %}
|
||||
|
||||
<hr>
|
||||
|
||||
{% if not entries_list %}
|
||||
<img src="/djagenmedia/img/blinkingstop.gif" />
|
||||
<b><td align="center" style="color:#ffffff" bgcolor="#ff0000">Gösterecek veri yok!</td></b>
|
||||
<br><br><br>
|
||||
{% endif %}
|
||||
|
||||
{% for entry in p_entries_list.object_list|slice:items_per_page %}
|
||||
{% autoescape off %}
|
||||
|
||||
{% ifequal entry.entry_id.is_approved 1 %}
|
||||
|
||||
{% ifchanged %}<h2 class="date">{{ entry.date|date:"d F Y" }}</h2>{% endifchanged %}
|
||||
|
||||
|
||||
<div class="entry {{ entry.entry_id.author_name|lower }}">
|
||||
<div class="person-info">
|
||||
<a href=" {{ entry.entry_id.channel_link }}" title=" {{ entry.entry_id.channel_title }} ">
|
||||
<img class="face" src="/djagenmedia/images/heads/{{ entry.entry_id.author_face|default:"nobody.png" }}" title="{{ entry.entry_id.author_name }}"/>
|
||||
<br />
|
||||
{{ entry.entry_id.author_name }}
|
||||
<br />
|
||||
<!-- {{ entry.entry_id.author_name|lower }} -->
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="post">
|
||||
<div class="post2">
|
||||
<div class="post-header">
|
||||
<h4 class="post-title">
|
||||
<a href=" {{ entry.link }} "> {{ entry.title }} </a>
|
||||
</h4>
|
||||
</div>
|
||||
<br />
|
||||
<div class="post-contents">
|
||||
|
||||
|
||||
{{ entry.content_html|truncatewords_html:truncate_words }}
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<div id="post-links" style="text-align: center;">
|
||||
<a href="{{ entry.link }}/#comments">
|
||||
<img src="/djagenmedia/images/yorum.png" border="0" title="Yorumlar" />
|
||||
</a>
|
||||
<a href="http://del.icio.us/post?url={{ entry.link }}&title={{ entry.title }}" target="_blank">
|
||||
<img src="/djagenmedia/images/delicious.png" border="0" title="del.icio.us'a gönder" />
|
||||
</a>
|
||||
<a href="http://technorati.com/search/{{ entry.link }}" target="_blank">
|
||||
<img src="/djagenmedia/images/technorati.png" border="0" title="technorati'de ara" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
<p>
|
||||
<a href=" {{ entry.link }} ">{{ entry.date|date:"d M Y @ h:m" }}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endifequal %}
|
||||
|
||||
{% endautoescape %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
<div id="sidebar">
|
||||
<div class="section">
|
||||
<h3>Gezegen Hakkında</h3>
|
||||
<p>
|
||||
Linux Gezegeni, Türkiye'de Linux ve Özgür Yazılım konusunda çalışmalar yapan arkadaşlarımızın internet üzerindeki günlüklerini bir tek sayfadan okumamızı ve kendi dünyalarına ulaşmamızı sağlayan basit bir web sitesidir.
|
||||
</p>
|
||||
<p>
|
||||
Gezegen kurallarına ulaşmak için <a href="http://gunluk.lkd.org.tr/gezegen/2008/10/27/gezegene-inis-ve-gezegen-kurallari/" title="Linux Gezegeni kurallarını okumak için tıklayın.." target="_blank">tıklayın</a>..
|
||||
</p>
|
||||
<p>
|
||||
Gezegeni <a href="http://www.planetplanet.org/">Planet</a> ile oluşturuyoruz, tasarım <a href="http://www.actsofvolition.com/">Steven Garrity</a>'nin eseri.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
|
||||
<!--/* OpenX Javascript Tag v2.8.5 */-->
|
||||
|
||||
<!--/*
|
||||
* The backup image section of this tag has been generated for use on a
|
||||
* non-SSL page. If this tag is to be placed on an SSL page, change the
|
||||
* 'http://reklam.lkd.org.tr/www/delivery/...'
|
||||
* to
|
||||
* 'https://reklam.lkd.org.tr/www/delivery/...'
|
||||
*
|
||||
* This noscript section of this tag only shows image banners. There
|
||||
* is no width or height in these banners, so if you want these tags to
|
||||
* allocate space for the ad before it shows, you will need to add this
|
||||
* information to the <img> tag.
|
||||
*
|
||||
* If you do not want to deal with the intricities of the noscript
|
||||
* section, delete the tag (from <noscript>... to </noscript>). On
|
||||
* average, the noscript tag is called from less than 1% of internet
|
||||
* users.
|
||||
*/-->
|
||||
|
||||
<script type='text/javascript'><!--//<![CDATA[
|
||||
var m3_u =
|
||||
(location.protocol=='https:'?'https://reklam.lkd.org.tr/www/delivery/ajs.php':'http://reklam.lkd.org.tr/www/delivery/ajs.php');
|
||||
var m3_r = Math.floor(Math.random()*99999999999);
|
||||
if (!document.MAX_used) document.MAX_used = ',';
|
||||
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
|
||||
document.write ("?zoneid=7");
|
||||
document.write ('&cb=' + m3_r);
|
||||
if (document.MAX_used != ',') document.write ("&exclude=" +
|
||||
document.MAX_used);
|
||||
document.write (document.charset ? '&charset='+document.charset :
|
||||
(document.characterSet ? '&charset='+document.characterSet : ''));
|
||||
document.write ("&loc=" + escape(window.location));
|
||||
if (document.referrer) document.write ("&referer=" +
|
||||
escape(document.referrer));
|
||||
if (document.context) document.write ("&context=" +
|
||||
escape(document.context));
|
||||
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
||||
document.write ("'><\/scr"+"ipt>");
|
||||
//]]>--></script><noscript><a
|
||||
href='http://reklam.lkd.org.tr/www/delivery/ck.php?n=afbafcd3&cb=INSERT_RANDOM_NUMBER_HERE'
|
||||
target='_blank'><img
|
||||
src='http://reklam.lkd.org.tr/www/delivery/avw.php?zoneid=7&cb=INSERT_RANDOM_NUMBER_HERE&n=afbafcd3'
|
||||
border='0' alt='' /></a></noscript>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
|
||||
<!--/* OpenX Javascript Tag v2.6.3 */-->
|
||||
|
||||
<!--/*
|
||||
* The backup image section of this tag has been generated for use on a
|
||||
* non-SSL page. If this tag is to be placed on an SSL page, change the
|
||||
* 'http://reklam.lkd.org.tr/www/delivery/...'
|
||||
* to
|
||||
* 'https://reklam.lkd.org.tr/www/delivery/...'
|
||||
*
|
||||
* This noscript section of this tag only shows image banners. There
|
||||
* is no width or height in these banners, so if you want these tags to
|
||||
* allocate space for the ad before it shows, you will need to add this
|
||||
* information to the <img> tag.
|
||||
*
|
||||
* If you do not want to deal with the intricities of the noscript
|
||||
* section, delete the tag (from <noscript>... to </noscript>). On
|
||||
* average, the noscript tag is called from less than 1% of internet
|
||||
* users.
|
||||
*/-->
|
||||
|
||||
<script type='text/javascript'><!--//<![CDATA[
|
||||
var m3_u =
|
||||
(location.protocol=='https:'?'https://reklam.lkd.org.tr/www/delivery/ajs.php':'http://reklam.lkd.org.tr/www/delivery/ajs.php');
|
||||
var m3_r = Math.floor(Math.random()*99999999999);
|
||||
if (!document.MAX_used) document.MAX_used = ',';
|
||||
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
|
||||
document.write ("?zoneid=6");
|
||||
document.write ('&cb=' + m3_r);
|
||||
if (document.MAX_used != ',') document.write ("&exclude=" +
|
||||
document.MAX_used);
|
||||
document.write (document.charset ? '&charset='+document.charset :
|
||||
(document.characterSet ? '&charset='+document.characterSet : ''));
|
||||
document.write ("&loc=" + escape(window.location));
|
||||
if (document.referrer) document.write ("&referer=" +
|
||||
escape(document.referrer));
|
||||
if (document.context) document.write ("&context=" +
|
||||
escape(document.context));
|
||||
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
||||
document.write ("'><\/scr"+"ipt>");
|
||||
//]]>--></script><noscript><a
|
||||
href='http://reklam.lkd.org.tr/www/delivery/ck.php?n=ae096af2&cb=INSERT_RANDOM_NUMBER_HERE'
|
||||
target='_blank'><img
|
||||
src='http://reklam.lkd.org.tr/www/delivery/avw.php?zoneid=6&cb=INSERT_RANDOM_NUMBER_HERE&n=ae096af2'
|
||||
border='0' alt='' /></a></noscript>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="section">
|
||||
<h3>Gezegen Arşivi</h3>
|
||||
|
||||
{% if not archive_month %}
|
||||
Gezegen arşivinde <b>{{ archive_year }}</b> yılına ait toplam, <b>{{ entries_list|length }}</b> adet girdi mevcuttur.<br><br>
|
||||
<b>Aylar:</b><br>
|
||||
{% for entry in entries_list %}
|
||||
{% ifchanged %}
|
||||
|<a href=/archive/{{ archive_year }}/{{ entry.date|date:"m" }}>{{ entry.date|date:"F" }}</a>|
|
||||
<br>
|
||||
{% endifchanged %}
|
||||
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
Gezegen arşivinde <b>{{ archive_year }}</b> yılı, <b>{{ archive_month }}</b>. ayına ait toplam, <b>{{ entries_list|length }}</b> adet girdi mevcuttur.<br><br>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% comment %}
|
||||
|
||||
<div id="feeds">
|
||||
<h3><a href="feeds.html">Gezegen Sakinleri</a></h3>
|
||||
<div id="feedlist"></div>
|
||||
</div>
|
||||
{% endcomment %}
|
||||
|
||||
<div class="section">
|
||||
<h3>Takip edin</h3>
|
||||
<ul>
|
||||
<li><a href="rss20.xml">RSS 2.0</a></li>
|
||||
<li><a href="rss10.xml">RSS 1.0</a></li>
|
||||
<li><a href="atom.xml">ATOM</a></li>
|
||||
<li><a href="foafroll.xml">FOAF</a></li>
|
||||
<li><a href="opml.xml">OPML</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="section">
|
||||
<h3>Diğer Gezegenler</h3>
|
||||
<ul>
|
||||
<li><a href="http://gezegen.pardus.org.tr/">Pardus</a></li>
|
||||
<li><a href="http://www.kernelplanet.org/">Kernel</a></li>
|
||||
<li><a href="http://www.planetkde.org/">KDE</a></li>
|
||||
<li><a href="http://planet.gnome.org">Gnome</a></li>
|
||||
<li><a href="http://www.planetsuse.org/">SuSE</a></li>
|
||||
<li><a href="http://planet.python.org">Python</a></li>
|
||||
<li><a href="http://planet.gentoo.org">Gentoo</a></li>
|
||||
<li><a href="http://www.go-mono.com/monologue/">MONOlogue</a></li>
|
||||
<li><a href="http://planetjava.org">Java</a></li>
|
||||
<li><a href="http://planet.lisp.org">LISP</a></li>
|
||||
<li><a href="http://planet.perl.org">Perl</a></li>
|
||||
<li><a href="http://fedoraproject.org/people/">Fedora</a></li>
|
||||
<li><a href="http://planet.ubuntu.com/">Ubuntu</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h3>Güncelleme</h3>
|
||||
<p>Gezegen her 10 dakikada bir yenilenir.</p>
|
||||
<p>
|
||||
Son güncelleme:
|
||||
<br />
|
||||
{{ run_time.get_run_time }} </p>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h3>İletişim</h3>
|
||||
<p>
|
||||
Linux Gezegeni <a href="mailto:gezegen [at] linux.org.tr">Gezegen Ekibi</a> tarafından yönetilmektedir, Gezegen hakkındaki sorularınızı ve Gezegen'e iniş başvurularınızı e-posta ile iletebilirsiniz.
|
||||
</p>
|
||||
<p>
|
||||
Gezegene iniş başvurularınızda <a href="http://gunluk.lkd.org.tr/gezegen/2008/10/27/gezegene-inis-ve-gezegen-kurallari/" title="Linux Gezegeni kurallarını okumak için tıklayın.." target="_blank">Gezegen Kuralları</a>'na uyan RSS/Atom beslemenizi ve gezegen içerisinde kullanmak istediğiniz (en fazla 80x80 çözünürlüklü) resminizi (bir başka deyişle hackergotchi); varsa jabber adresinizle birlikte e-posta yoluyla göndermenizi rica ediyoruz.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% ifnotequal p_entries_list.paginator.num_pages 1 %}
|
||||
<div class="pagination">
|
||||
<span class="step-links">
|
||||
|
||||
<span class="current">
|
||||
Sayfa <b>{{ p_entries_list.number }}</b> / <b>{{ p_entries_list.paginator.num_pages }}</b>
|
||||
</span>
|
||||
<div class="pagelist" style="text-align:center">
|
||||
{% if p_entries_list.has_previous %}
|
||||
<a href="?page={{ p_entries_list.previous_page_number }}">Geri</a>
|
||||
{% endif %}
|
||||
|
|
||||
|
||||
{% for pNum in p_entries_list.paginator.page_range %}
|
||||
{% ifequal pNum p_entries_list.number %}
|
||||
{{ pNum }}
|
||||
{% else %}
|
||||
<a href="?page={{ pNum }}">{{ pNum }}</a>
|
||||
{% endifequal %}
|
||||
{% endfor %}
|
||||
|
||||
|
|
||||
{% if p_entries_list.has_next %}
|
||||
<a href="?page={{ p_entries_list.next_page_number }}">İleri</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<br>
|
||||
{% endifnotequal %}
|
||||
<div id="footer">
|
||||
|
||||
<div id="copyright">
|
||||
Bu sayfa içerisinde yazılanlar doğru veya yanlış herhangi bir biçimde <a href="http://www.lkd.org.tr/">Linux Kullanıcıları Derneği</a>'ni bağlamaz.
|
||||
<br />
|
||||
LKD yalnızca Linux Gezegeni için teknik olanakları (sunucu, yazılım, bant genişliği) sağlar.
|
||||
<br />
|
||||
Ayrıca Gezegen istatistiklere <a href="http://gezegen.linux.org.tr/stats">buradan</a> ulaşabilirsiniz.
|
||||
<br />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Start of Google Analytics Code -->
|
||||
<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("UA-7686552-1");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}</script>
|
||||
<!-- End of Google Analytics Code -->
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,326 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml/transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Linux Gezegeni</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link rel="stylesheet" href="/djagenmedia/generic.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/djagenmedia/layout.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/djagenmedia/planet.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/djagenmedia/bloggers.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/djagenmedia/nlayout.css" type="text/css" />
|
||||
<link rel="icon" type="image/png" href="djagenmedia/images/planet.png" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Linux Gezegeni" href="/djagenmedia/rss20.xml" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<div id="gezegen-sites">
|
||||
<ul>
|
||||
<li class="home"><a href="http://gezegen.linux.org.tr/" title="Gezegen">Gezegen</a><a href="http://haber.linux.org.tr" title="Linux Haber">Linux Haber</a><a href="/archive/" title="Gezegen Arşivi">Gezegen Arşivi</a></li>
|
||||
<li><a href="http://gezegen.linux.org.tr/kisisel/" title="Kişisel Günlükler">Kişisel Günlükler</a></li>
|
||||
<li><a href="http://gezegen.linux.org.tr/lkd/" title="LKD Günlükleri">LKD Günlükleri</a></li>
|
||||
<li><a href="http://gezegen.linux.org.tr/topluluk/" title="Topluluk Günlükleri">Topluluk Günlükleri</a></li>
|
||||
<li><a href="http://planet.linux.org.tr/" title="İngilizce Günlükler">İngilizce Günlükler</a></li>
|
||||
</div> <!-- /gezegen-sites -->
|
||||
|
||||
<div id="hdr">
|
||||
<div id="banner">
|
||||
<img src="http://gezegen.linux.org.tr/images/spacer.png" />
|
||||
</div>
|
||||
<div id="logo">
|
||||
<a href="http://gezegen.linux.org.tr/">
|
||||
<img src="http://gezegen.linux.org.tr/images/spacer.png" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="body">
|
||||
|
||||
{% for entry in entries_list|slice:items_per_page %}
|
||||
{% autoescape off %}
|
||||
|
||||
{% ifequal entry.entry_id.is_approved 1 %}
|
||||
|
||||
{% ifchanged %}<h2 class="date">{{ entry.date|date:"d F Y" }}</h2>{% endifchanged %}
|
||||
|
||||
|
||||
<div class="entry {{ entry.entry_id.author_name|lower }}">
|
||||
<div class="person-info">
|
||||
<a href=" {{ entry.entry_id.channel_link }}" title=" {{ entry.entry_id.channel_title }} ">
|
||||
<img class="face" src="/djagenmedia/images/heads/{{ entry.entry_id.author_face|default:"nobody.png" }}" title="{{ entry.entry_id.author_name }}"/>
|
||||
<br />
|
||||
{{ entry.entry_id.author_name }}
|
||||
<br />
|
||||
<!-- {{ entry.entry_id.author_name|lower }} -->
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="post">
|
||||
<div class="post2">
|
||||
<div class="post-header">
|
||||
<h4 class="post-title">
|
||||
<a href=" {{ entry.link }} "> {{ entry.title }} </a>
|
||||
</h4>
|
||||
</div>
|
||||
<br />
|
||||
<div class="post-contents">
|
||||
|
||||
|
||||
{{ entry.content_html|truncatewords_html:truncate_words }}
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<div id="post-links" style="text-align: center;">
|
||||
<a href="{{ entry.link }}/#comments">
|
||||
<img src="/djagenmedia/images/yorum.png" border="0" title="Yorumlar" />
|
||||
</a>
|
||||
<a href="http://del.icio.us/post?url={{ entry.link }}&title={{ entry.title }}" target="_blank">
|
||||
<img src="/djagenmedia/images/delicious.png" border="0" title="del.icio.us'a gönder" />
|
||||
</a>
|
||||
<a href="http://technorati.com/search/{{ entry.link }}" target="_blank">
|
||||
<img src="/djagenmedia/images/technorati.png" border="0" title="technorati'de ara" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
<p>
|
||||
<a href=" {{ entry.link }} ">{{ entry.date|date:"d M Y @ h:m" }}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endifequal %}
|
||||
|
||||
{% endautoescape %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
<div id="sidebar">
|
||||
<div class="section">
|
||||
<h3>Gezegen Hakkında</h3>
|
||||
<p>
|
||||
Linux Gezegeni, Türkiye'de Linux ve Özgür Yazılım konusunda çalışmalar yapan arkadaşlarımızın internet üzerindeki günlüklerini bir tek sayfadan okumamızı ve kendi dünyalarına ulaşmamızı sağlayan basit bir web sitesidir.
|
||||
</p>
|
||||
<p>
|
||||
Gezegen kurallarına ulaşmak için <a href="http://gunluk.lkd.org.tr/gezegen/2008/10/27/gezegene-inis-ve-gezegen-kurallari/" title="Linux Gezegeni kurallarını okumak için tıklayın.." target="_blank">tıklayın</a>..
|
||||
</p>
|
||||
<p>
|
||||
Gezegeni <a href="http://www.planetplanet.org/">Planet</a> ile oluşturuyoruz, tasarım <a href="http://www.actsofvolition.com/">Steven Garrity</a>'nin eseri.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
|
||||
<!--/* OpenX Javascript Tag v2.8.5 */-->
|
||||
|
||||
<!--/*
|
||||
* The backup image section of this tag has been generated for use on a
|
||||
* non-SSL page. If this tag is to be placed on an SSL page, change the
|
||||
* 'http://reklam.lkd.org.tr/www/delivery/...'
|
||||
* to
|
||||
* 'https://reklam.lkd.org.tr/www/delivery/...'
|
||||
*
|
||||
* This noscript section of this tag only shows image banners. There
|
||||
* is no width or height in these banners, so if you want these tags to
|
||||
* allocate space for the ad before it shows, you will need to add this
|
||||
* information to the <img> tag.
|
||||
*
|
||||
* If you do not want to deal with the intricities of the noscript
|
||||
* section, delete the tag (from <noscript>... to </noscript>). On
|
||||
* average, the noscript tag is called from less than 1% of internet
|
||||
* users.
|
||||
*/-->
|
||||
|
||||
<script type='text/javascript'><!--//<![CDATA[
|
||||
var m3_u =
|
||||
(location.protocol=='https:'?'https://reklam.lkd.org.tr/www/delivery/ajs.php':'http://reklam.lkd.org.tr/www/delivery/ajs.php');
|
||||
var m3_r = Math.floor(Math.random()*99999999999);
|
||||
if (!document.MAX_used) document.MAX_used = ',';
|
||||
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
|
||||
document.write ("?zoneid=7");
|
||||
document.write ('&cb=' + m3_r);
|
||||
if (document.MAX_used != ',') document.write ("&exclude=" +
|
||||
document.MAX_used);
|
||||
document.write (document.charset ? '&charset='+document.charset :
|
||||
(document.characterSet ? '&charset='+document.characterSet : ''));
|
||||
document.write ("&loc=" + escape(window.location));
|
||||
if (document.referrer) document.write ("&referer=" +
|
||||
escape(document.referrer));
|
||||
if (document.context) document.write ("&context=" +
|
||||
escape(document.context));
|
||||
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
||||
document.write ("'><\/scr"+"ipt>");
|
||||
//]]>--></script><noscript><a
|
||||
href='http://reklam.lkd.org.tr/www/delivery/ck.php?n=afbafcd3&cb=INSERT_RANDOM_NUMBER_HERE'
|
||||
target='_blank'><img
|
||||
src='http://reklam.lkd.org.tr/www/delivery/avw.php?zoneid=7&cb=INSERT_RANDOM_NUMBER_HERE&n=afbafcd3'
|
||||
border='0' alt='' /></a></noscript>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
|
||||
<!--/* OpenX Javascript Tag v2.6.3 */-->
|
||||
|
||||
<!--/*
|
||||
* The backup image section of this tag has been generated for use on a
|
||||
* non-SSL page. If this tag is to be placed on an SSL page, change the
|
||||
* 'http://reklam.lkd.org.tr/www/delivery/...'
|
||||
* to
|
||||
* 'https://reklam.lkd.org.tr/www/delivery/...'
|
||||
*
|
||||
* This noscript section of this tag only shows image banners. There
|
||||
* is no width or height in these banners, so if you want these tags to
|
||||
* allocate space for the ad before it shows, you will need to add this
|
||||
* information to the <img> tag.
|
||||
*
|
||||
* If you do not want to deal with the intricities of the noscript
|
||||
* section, delete the tag (from <noscript>... to </noscript>). On
|
||||
* average, the noscript tag is called from less than 1% of internet
|
||||
* users.
|
||||
*/-->
|
||||
|
||||
<script type='text/javascript'><!--//<![CDATA[
|
||||
var m3_u =
|
||||
(location.protocol=='https:'?'https://reklam.lkd.org.tr/www/delivery/ajs.php':'http://reklam.lkd.org.tr/www/delivery/ajs.php');
|
||||
var m3_r = Math.floor(Math.random()*99999999999);
|
||||
if (!document.MAX_used) document.MAX_used = ',';
|
||||
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
|
||||
document.write ("?zoneid=6");
|
||||
document.write ('&cb=' + m3_r);
|
||||
if (document.MAX_used != ',') document.write ("&exclude=" +
|
||||
document.MAX_used);
|
||||
document.write (document.charset ? '&charset='+document.charset :
|
||||
(document.characterSet ? '&charset='+document.characterSet : ''));
|
||||
document.write ("&loc=" + escape(window.location));
|
||||
if (document.referrer) document.write ("&referer=" +
|
||||
escape(document.referrer));
|
||||
if (document.context) document.write ("&context=" +
|
||||
escape(document.context));
|
||||
if (document.mmm_fo) document.write ("&mmm_fo=1");
|
||||
document.write ("'><\/scr"+"ipt>");
|
||||
//]]>--></script><noscript><a
|
||||
href='http://reklam.lkd.org.tr/www/delivery/ck.php?n=ae096af2&cb=INSERT_RANDOM_NUMBER_HERE'
|
||||
target='_blank'><img
|
||||
src='http://reklam.lkd.org.tr/www/delivery/avw.php?zoneid=6&cb=INSERT_RANDOM_NUMBER_HERE&n=ae096af2'
|
||||
border='0' alt='' /></a></noscript>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="section">
|
||||
<h3>Gezegen Arşivi</h3>
|
||||
Gezegen arşivinde toplam, <b>{{ entries_list|length }}</b> adet girdi mevcuttur.<br><br>
|
||||
|
||||
Yıllar:<br>
|
||||
{% for entry in entries_list %}
|
||||
{% ifchanged %}
|
||||
|
||||
|
||||
|
||||
|<a href=/archive/{{ entry.date.year }}>{{ entry.date|date:"Y" }}</a>|
|
||||
<br>
|
||||
|
||||
|
||||
{% endifchanged %}
|
||||
{% endfor %}
|
||||
|
||||
{% comment %}
|
||||
<form action="/archive/" method="post">
|
||||
{{ archivingYearForm }}
|
||||
<input type="submit" value="Submit" />
|
||||
</form>
|
||||
{% endcomment %}
|
||||
|
||||
</div>
|
||||
{% comment %}
|
||||
|
||||
<div id="feeds">
|
||||
<h3><a href="feeds.html">Gezegen Sakinleri</a></h3>
|
||||
<div id="feedlist"></div>
|
||||
</div>
|
||||
{% endcomment %}
|
||||
|
||||
<div class="section">
|
||||
<h3>Takip edin</h3>
|
||||
<ul>
|
||||
<li><a href="rss20.xml">RSS 2.0</a></li>
|
||||
<li><a href="rss10.xml">RSS 1.0</a></li>
|
||||
<li><a href="atom.xml">ATOM</a></li>
|
||||
<li><a href="foafroll.xml">FOAF</a></li>
|
||||
<li><a href="opml.xml">OPML</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="section">
|
||||
<h3>Diğer Gezegenler</h3>
|
||||
<ul>
|
||||
<li><a href="http://gezegen.pardus.org.tr/">Pardus</a></li>
|
||||
<li><a href="http://www.kernelplanet.org/">Kernel</a></li>
|
||||
<li><a href="http://www.planetkde.org/">KDE</a></li>
|
||||
<li><a href="http://planet.gnome.org">Gnome</a></li>
|
||||
<li><a href="http://www.planetsuse.org/">SuSE</a></li>
|
||||
<li><a href="http://planet.python.org">Python</a></li>
|
||||
<li><a href="http://planet.gentoo.org">Gentoo</a></li>
|
||||
<li><a href="http://www.go-mono.com/monologue/">MONOlogue</a></li>
|
||||
<li><a href="http://planetjava.org">Java</a></li>
|
||||
<li><a href="http://planet.lisp.org">LISP</a></li>
|
||||
<li><a href="http://planet.perl.org">Perl</a></li>
|
||||
<li><a href="http://fedoraproject.org/people/">Fedora</a></li>
|
||||
<li><a href="http://planet.ubuntu.com/">Ubuntu</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h3>Güncelleme</h3>
|
||||
<p>Gezegen her 10 dakikada bir yenilenir.</p>
|
||||
<p>
|
||||
Son güncelleme:
|
||||
<br />
|
||||
{{ run_time.get_run_time }} </p>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h3>İletişim</h3>
|
||||
<p>
|
||||
Linux Gezegeni <a href="mailto:gezegen [at] linux.org.tr">Gezegen Ekibi</a> tarafından yönetilmektedir, Gezegen hakkındaki sorularınızı ve Gezegen'e iniş başvurularınızı e-posta ile iletebilirsiniz.
|
||||
</p>
|
||||
<p>
|
||||
Gezegene iniş başvurularınızda <a href="http://gunluk.lkd.org.tr/gezegen/2008/10/27/gezegene-inis-ve-gezegen-kurallari/" title="Linux Gezegeni kurallarını okumak için tıklayın.." target="_blank">Gezegen Kuralları</a>'na uyan RSS/Atom beslemenizi ve gezegen içerisinde kullanmak istediğiniz (en fazla 80x80 çözünürlüklü) resminizi (bir başka deyişle hackergotchi); varsa jabber adresinizle birlikte e-posta yoluyla göndermenizi rica ediyoruz.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
|
||||
<div id="copyright">
|
||||
Bu sayfa içerisinde yazılanlar doğru veya yanlış herhangi bir biçimde <a href="http://www.lkd.org.tr/">Linux Kullanıcıları Derneği</a>'ni bağlamaz.
|
||||
<br />
|
||||
LKD yalnızca Linux Gezegeni için teknik olanakları (sunucu, yazılım, bant genişliği) sağlar.
|
||||
<br />
|
||||
Ayrıca Gezegen istatistiklere <a href="http://gezegen.linux.org.tr/stats">buradan</a> ulaşabilirsiniz.
|
||||
<br />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Start of Google Analytics Code -->
|
||||
<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("UA-7686552-1");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}</script>
|
||||
<!-- End of Google Analytics Code -->
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
65
DJAGEN/trunk/djagen/templates/main/archive.html
Executable file
65
DJAGEN/trunk/djagen/templates/main/archive.html
Executable file
|
@ -0,0 +1,65 @@
|
|||
{% extends "main/base.html" %}
|
||||
|
||||
|
||||
{% block body %}
|
||||
|
||||
{% for entry in p_entries_list.object_list|slice:items_per_page %}
|
||||
{% autoescape off %}
|
||||
|
||||
{% ifequal entry.entry_id.is_approved 1 %}
|
||||
|
||||
{% ifchanged entry.date.day entry.date.month entry.date.year %}<div class="separator"></div>{% endifchanged %}
|
||||
|
||||
{% ifchanged %}<h2 class="date">{{ entry.date|date:"d F Y" }}</h2>{% endifchanged %}
|
||||
|
||||
<div class="innercontent">
|
||||
|
||||
<a href="{{ entry.entry_id.channel_link }}" title="{{ entry.entry_id.channel_title }}"><img class="face" src="/djagenmedia/images/heads/{{ entry.entry_id.author_face|default:"nobody.png" }}" title="{{ entry.entry_id.author_name }}" width="80" height="80" /></a>
|
||||
<h1 class="title"><a href="{{ entry.link }} ">{{ entry.title }}</a></h1>
|
||||
<p class="yazaneden">
|
||||
Yazar: <a href="{{ entry.entry_id.channel_link }}" title="{{ entry.entry_id.channel_title }}">{{ entry.entry_id.author_name }}</a>
|
||||
Tarih: <span class="blogdate">{{ entry.date|date:"d F Y H:i" }}</span>
|
||||
</p>
|
||||
<div class="blogcontent">
|
||||
{{ entry.content_html|truncatewords_html:truncate_words }}
|
||||
</div>
|
||||
{% endifequal %}
|
||||
{% endautoescape %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
{% endfor %}
|
||||
|
||||
<div class="pagination">
|
||||
<span class="step-links">
|
||||
|
||||
<span class="current">
|
||||
Sayfa <b>{{ p_entries_list.number }}</b> / <b>{{ p_entries_list.paginator.num_pages }}</b>
|
||||
</span>
|
||||
<div class="pagelist" style="text-align:center">
|
||||
{% if p_entries_list.has_previous %}
|
||||
<a href="?page={{ p_entries_list.previous_page_number }}">Geri</a>
|
||||
{% endif %}
|
||||
|
|
||||
|
||||
{% for pNum in p_entries_list.paginator.page_range %}
|
||||
{% ifequal pNum p_entries_list.number %}
|
||||
{{ pNum }}
|
||||
{% else %}
|
||||
<a href="?page={{ pNum }}">{{ pNum }}</a>
|
||||
{% endifequal %}
|
||||
{% endfor %}
|
||||
|
||||
|
|
||||
{% if p_entries_list.has_next %}
|
||||
<a href="?page={{ p_entries_list.next_page_number }}">İleri</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -46,19 +46,60 @@
|
|||
<li><a href="#" id="arsiv">Arşiv</a>
|
||||
<ul class="navlist">
|
||||
{% for dt in last_date_li %}
|
||||
<li><a href="{{ BASE_URL }}/{{ dt|date:"Y/m/d"}}">{{ dt|date:"d.m.Y" }}</a>
|
||||
<li><a href="{{ BASE_URL }}/archive/{{ dt|date:"Y/m/d"}}">{{ dt|date:"d.m.Y" }}</a>
|
||||
{% endfor %}
|
||||
<li><a href="#">{% trans "Tümü" %}</a></li>
|
||||
</ul>
|
||||
<li><a href="{{ BASE_URL }}/main/">{% trans "Tümü" %}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
<div class="contenttop"><p>Gezegen her 10 dakikada bir yenilenir. Son güncelleme: {{ run_time.get_run_time }}</p></div>
|
||||
<div class="content <div class="contenttop">
|
||||
|
||||
<div class="content">
|
||||
{% if info_area == "main" %}
|
||||
<p>Gezegen her 10 dakikada bir yenilenir. Son güncelleme: {{ run_time.get_run_time }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if info_area == "archive" %}
|
||||
<p>Gezegen arşivi: <b>{{ archive_year }}</b> yılı,
|
||||
{% if archive_month %}
|
||||
<b>{{ archive_month }}</b>. ay,
|
||||
{% endif %}
|
||||
{% if archive_day %}
|
||||
<b>{{ archive_day }}</b>. gün
|
||||
{% endif %}
|
||||
arşivini gezmektesiniz. Bu arşivde toplam <b>{{ entries_list|length }}</b> blog girdisi mevcuttur.</p>
|
||||
{% endif %}
|
||||
|
||||
{% if info_area == "query" %}
|
||||
<p>Aradığınız kriterler:
|
||||
{% if q_author_name or q_author_surname %}
|
||||
{% if q_author_name %}
|
||||
<b>{{ q_author_name }}</b>
|
||||
{% endif %}
|
||||
|
||||
{% if q_author_surname %}
|
||||
<b> {{ q_author_surname }}</b>
|
||||
{% endif %}
|
||||
isimli yazarlar
|
||||
{% endif %}
|
||||
|
||||
{% if q_text %}
|
||||
İçinde <b>{{ q_text|truncatewords:8 }}</b> geçen girdiler
|
||||
{% endif %}
|
||||
.</p>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if info_area == "subscribe" %}
|
||||
{% endif %}
|
||||
|
||||
{% if info_area == "members" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
t">
|
||||
|
||||
{% block body %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -22,6 +22,7 @@ urlpatterns = patterns('',
|
|||
(r'^archive/$','djagen.collector.views.archive'),
|
||||
(r'^archive/(?P<archive_year>\d{4})/$', archive),
|
||||
(r'^archive/(?P<archive_year>\d{4})/(?P<archive_month>\d{1,2})/$', archive),
|
||||
(r'^archive/(?P<archive_year>\d{4})/(?P<archive_month>\d{1,2})/(?P<archive_day>\d{1,2})$', archive),
|
||||
(r'^djagen/$',main),
|
||||
(r'^query/$',query),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user