ReComplete - task : QueryPage Optimisation
Complete - task : Make querying feat use django forms and widgets for querying -Added a switchable on the fly name surname seperator to planet.py
This commit is contained in:
parent
a37af854a4
commit
1dfd2637b9
|
@ -16,6 +16,6 @@ class ContactForm(forms.Form):
|
|||
captcha = CaptchaField(label="Captcha Alanı", help_text='Gördüğünü karakterleri aynen yazınız', error_messages={'required': 'Hatalı yazdınız!'})
|
||||
|
||||
class QueryForm(forms.Form):
|
||||
name = forms.CharField(max_length=25, required = False, label = 'Adı')
|
||||
surname = forms.CharField(max_length=25, required = False, label = 'Soyadı')
|
||||
text = forms.CharField(required = False, label = 'Aradığınız metin', widget = forms.widgets.Textarea() )
|
||||
q_author_name = forms.CharField(max_length=25, required = False, label = 'Adı')
|
||||
q_author_surname = forms.CharField(max_length=25, required = False, label = 'Soyadı')
|
||||
q_text = forms.CharField(required = False, label = 'Aradığınız metin', widget = forms.widgets.Textarea() )
|
||||
|
|
|
@ -72,12 +72,12 @@ def member_subscribe(request):
|
|||
author = Authors(author_name=request.POST['name'], author_surname=request.POST['surname'], author_email=request.POST['email'], channel_url=request.POST['feed'], author_face=f.name, is_approved=0, current_status=5)
|
||||
else:
|
||||
author = Authors(author_name=request.POST['name'], author_surname=request.POST['surname'], author_email=request.POST['email'], channel_url=request.POST['feed'], is_approved=0, current_status=5)
|
||||
|
||||
|
||||
author.save()
|
||||
|
||||
#save the history with explanation
|
||||
author.history_set.create(action_type=5, action_date=datetime.datetime.now(), action_explanation=request.POST['message'])
|
||||
|
||||
|
||||
#send mail part
|
||||
#fill it here
|
||||
return render_response(request, 'main/subscribe.html/',{'submit': 'done', 'BASE_URL': BASE_URL,'info_area':info_area})
|
||||
|
@ -117,7 +117,12 @@ def list_members(request):
|
|||
|
||||
def query(request):
|
||||
|
||||
return render_response(request,'main/query.html',{'BASE_URL' : BASE_URL})
|
||||
q_form = QueryForm()
|
||||
|
||||
return render_response(request,'main/query.html',{
|
||||
'BASE_URL' : BASE_URL,
|
||||
'q_form':q_form,
|
||||
})
|
||||
|
||||
def archive(request,archive_year='',archive_month='',archive_day=''):
|
||||
|
||||
|
@ -129,31 +134,28 @@ def archive(request,archive_year='',archive_month='',archive_day=''):
|
|||
run_time = RunTime.objects.all()[0]
|
||||
|
||||
|
||||
### Determine if the request includes any query or not. ###
|
||||
try:
|
||||
does_getPage_exists = request.GET['page']
|
||||
except:
|
||||
does_getPage_exists = None
|
||||
### Determine if the request object includes any querying input or not. ###
|
||||
|
||||
if ( (request.GET) and ( not( does_getPage_exists) )):
|
||||
if ( (request.GET) ):
|
||||
# Switch to 'return the result of query' mode.
|
||||
info_area = 'query'
|
||||
|
||||
#Querying
|
||||
#TODO: We should improve the querying method here.
|
||||
#TODO: We should improve querying method implemented 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'] )):
|
||||
q_author_name = request.GET['q_author_name']
|
||||
authors = authors.filter(author_name__icontains = q_author_name)
|
||||
authors = authors.filter(author_name__iexact = q_author_name)
|
||||
|
||||
|
||||
if (('q_author_surname' in request.GET) and (request.GET['q_author_surname'])):
|
||||
q_author_surname = request.GET['q_author_surname']
|
||||
authors = authors.filter(author_surname__icontains = q_author_surname)
|
||||
authors = authors.filter(author_surname__iexact = q_author_surname)
|
||||
|
||||
|
||||
for item in authors:
|
||||
|
||||
try:
|
||||
entries_list |= item.entries_set.all()
|
||||
except:
|
||||
|
@ -161,11 +163,11 @@ def archive(request,archive_year='',archive_month='',archive_day=''):
|
|||
|
||||
if( ('q_text' in request.GET)and(request.GET['q_text'])):
|
||||
q_text = request.GET['q_text']
|
||||
if (q_author_name or q_author_surname):
|
||||
|
||||
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'])
|
||||
entries_list = entries_list.filter(content_text__icontains = q_text)
|
||||
else:
|
||||
entries_list = Entries.objects.filter(content_text__icontains = q_text)
|
||||
|
||||
|
||||
|
||||
|
@ -174,8 +176,10 @@ def archive(request,archive_year='',archive_month='',archive_day=''):
|
|||
return HttpResponseRedirect(BASE_URL+"/query")
|
||||
except:
|
||||
return HttpResponseRedirect(BASE_URL+ "/query")
|
||||
|
||||
#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.
|
||||
|
@ -205,7 +209,7 @@ def archive(request,archive_year='',archive_month='',archive_day=''):
|
|||
### If not ###
|
||||
else:
|
||||
#Switch to return the result of arguments provided mode(archive viewing mode).
|
||||
info_area = 'archive'
|
||||
info_area = 'archive' # \This variable is used for determining which infoarea text should be used in "contenttop" div in /main/base.html
|
||||
|
||||
selected_entries = Entries.objects.select_related()
|
||||
|
||||
|
@ -222,6 +226,7 @@ def archive(request,archive_year='',archive_month='',archive_day=''):
|
|||
else:
|
||||
# Fall back to main view.
|
||||
return HttpResponseRedirect(BASE_URL+"/main")
|
||||
#pass
|
||||
|
||||
# Check if archive_month is not empty and numeric.
|
||||
if(archive_month != ''and (str(archive_month).isalnum()) and not(str(archive_month).isalpha())):
|
||||
|
@ -236,7 +241,7 @@ def archive(request,archive_year='',archive_month='',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)
|
||||
|
||||
|
||||
# Validation for page number if it is not int return first page.
|
||||
try:
|
||||
page = int(request.GET.get('page', '1'))
|
||||
|
|
Binary file not shown.
|
@ -65,7 +65,7 @@ id = 5
|
|||
|
||||
[http://blog.oguz.biz/category/gezegen/rss2]
|
||||
name = Alper Oğuz
|
||||
face =
|
||||
face =
|
||||
nick = aoguz
|
||||
label = Personal
|
||||
id = 6
|
||||
|
@ -96,15 +96,691 @@ nick = aozbek
|
|||
label = Personal
|
||||
id = 10
|
||||
|
||||
[http://www.tuxworkshop.com/blog/?cat=8]
|
||||
name = Barış Özyurt
|
||||
face = barisozyurt.png
|
||||
nick = bozyurt
|
||||
label = Personal
|
||||
id = 11
|
||||
|
||||
[http://feeds.feedburner.com/canburak-gezegen-linux]
|
||||
name = Can Burak Çilingir
|
||||
nick = cbcilingir
|
||||
label = Personal
|
||||
id = 12
|
||||
|
||||
[http://cankavaklioglu.name.tr/guncelgunce/archives/linux/index-rss.xml]
|
||||
name = Can Kavaklıoğlu
|
||||
nick = ckavaklioglu
|
||||
label = Personal
|
||||
id = 13
|
||||
|
||||
[http://devador.blogspot.com/feeds/posts/default/-/linux]
|
||||
name = Ceyhun Alyeşil
|
||||
nick = calyesil
|
||||
label = Personal
|
||||
id = 14
|
||||
|
||||
[http://blog.gunduz.org/index.php?/feeds/categories/1-OEzguer-Yazlm.rss]
|
||||
name = Devrim Gündüz
|
||||
face = devrimgunduz.png
|
||||
nick = dgunduz
|
||||
label = Personal
|
||||
id = 15
|
||||
|
||||
[http://zzz.fisek.com.tr/seyir-defteri/?feed=rss2&cat=3]
|
||||
name = Doruk Fişek
|
||||
face = dorukfisek.png
|
||||
nick = dfisek
|
||||
label = Personal
|
||||
id = 16
|
||||
|
||||
[http://ekin.fisek.com.tr/blog/wp-rss2.php?cat=5]
|
||||
name = Ekin Meroğlu
|
||||
face = ekinmeroglu.png
|
||||
nick = emeroglu
|
||||
label = Personal
|
||||
id = 17
|
||||
|
||||
[http://feeds.feedburner.com/TheUselessJournalV4]
|
||||
name = Erçin Eker
|
||||
face = ercineker.png
|
||||
nick = eeker
|
||||
label = Personal
|
||||
id = 18
|
||||
|
||||
# kendi istegi ile gecici sure kaldirildi, gunluk ve host sorunlari yasadigini belirtti
|
||||
# yeni adresi eklendi 06.10.2009
|
||||
[http://www.erhanekici.com/blog/category/gezegen/feed/]
|
||||
name = Erhan Ekici
|
||||
nick = eekinci
|
||||
label = Personal
|
||||
id = 19
|
||||
|
||||
[http://blog.arsln.org/category/gezegen/feed]
|
||||
name = Fatih Arslan
|
||||
nick = farslan
|
||||
label = Personal
|
||||
id = 20
|
||||
|
||||
[http://gokdenix.blogspot.com/feeds/posts/default/-/gezegen]
|
||||
name = Gökdeniz Karadağ
|
||||
nick = gkaradag
|
||||
label = Personal
|
||||
id = 21
|
||||
|
||||
[http://blog.ratonred.com/tag/gezegen-linux/feed]
|
||||
name = Gökmen Göksel
|
||||
face = gokmengoksel.png
|
||||
nick = ggoksel
|
||||
label = Personal
|
||||
id = 22
|
||||
|
||||
[http://blog.gokmengorgen.net/?category_name=pardus-tr&feed=rss2]
|
||||
name = Gökmen Görgen
|
||||
face = gokmengorgen.png
|
||||
nick = ggorgen
|
||||
label = Personal
|
||||
id = 23
|
||||
|
||||
[http://6kere9.com/blag/feed/rss/Genel/]
|
||||
name = Gürer Özen
|
||||
face = gurerozen.png
|
||||
nick = gozen
|
||||
label = Personal
|
||||
id = 24
|
||||
|
||||
[http://www.hakanuygun.com/blog/?feed=atom&cat=13]
|
||||
name = Hakan Uygun
|
||||
nick = huygun
|
||||
label = Personal
|
||||
id = 1
|
||||
id = 25
|
||||
|
||||
[http://www.koray.org/blog/wp-rss2.php?cat=7]
|
||||
name = Koray Bostancı
|
||||
nick = kbostanci
|
||||
label = Personal
|
||||
id = 26
|
||||
|
||||
[http://marenostrum.blogsome.com/category/gezegen/feed/]
|
||||
name = K. Deniz Öğüt
|
||||
face = kdenizogut.png
|
||||
nick = kdenizoguz
|
||||
label = Personal
|
||||
id = 27
|
||||
|
||||
[http://www.blockdiagram.net/blog/rss.xml]
|
||||
name = Kerem Can Karakaş
|
||||
nick = kckarakas
|
||||
label = Personal
|
||||
id = 28
|
||||
|
||||
[http://blog.oguz.name.tr/?feed=atom&cat=7]
|
||||
name = Kaya Oğuz
|
||||
face = kaya-oguz.png
|
||||
nick = kayaoguz
|
||||
label = Personal
|
||||
id = 29
|
||||
|
||||
[http://leoman.gen.tr/Gezegen/feed]
|
||||
name = Levent Yalçın
|
||||
nick = lyalcin
|
||||
label = Personal
|
||||
id = 30
|
||||
|
||||
[http://blog.corporem.org/?feed=rss2&cat=3]
|
||||
name = M.Tuğrul Yılmazer
|
||||
face = tugrulyilmazer.png
|
||||
nick = tyilmazer
|
||||
label = Personal
|
||||
id = 31
|
||||
|
||||
[http://www.amerikadabirgun.com/category/turkce/linux/feed]
|
||||
name = Mehmet Büyüközer
|
||||
nick = mbuyukozer
|
||||
label = Personal
|
||||
id = 32
|
||||
|
||||
[http://yildirim.isadamlari.org/tag/gezegen/feed]
|
||||
name = Mehmet Salih Yıldırım
|
||||
face = mehmetsalihyildirim.png
|
||||
nick = msyildirim
|
||||
label = Personal
|
||||
id = 33
|
||||
|
||||
[http://mhazer.blogspot.com/feeds/posts/default/-/gezegen]
|
||||
name = Murat Hazer
|
||||
nick = mhazer
|
||||
label = Personal
|
||||
id = 34
|
||||
|
||||
[http://kivi.com.tr/blog/?feed=rss2]
|
||||
name = Murat Koç
|
||||
nick = mkoc
|
||||
label = Personal
|
||||
id = 35
|
||||
|
||||
[http://panhaema.com/rss.php?mcat=linux]
|
||||
name = Murat Sağlam
|
||||
face = muratsaglam.png
|
||||
nick = msaglam
|
||||
label = Personal
|
||||
id = 36
|
||||
|
||||
[http://mmakbas.wordpress.com/tag/gezegen/feed/]
|
||||
name = M.Murat Akbaş
|
||||
nick = makbas
|
||||
label = Personal
|
||||
id = 37
|
||||
|
||||
#[http://demir.web.tr/blog/atom.php] Atom patladı rss deneyelim
|
||||
[http://feeds.feedburner.com/ndemirgezegen]
|
||||
name = Necati Demir
|
||||
face = necatidemir.png
|
||||
nick = ndemir
|
||||
label = Personal
|
||||
id = 38
|
||||
|
||||
[http://nyucel.blogspot.com/feeds/posts/default/-/gezegen]
|
||||
name = Necdet Yücel
|
||||
face = necdetyucel.png
|
||||
nick = nyucel
|
||||
label = Personal
|
||||
id = 39
|
||||
|
||||
[http://www.r-3.org/blog/?cat=4&feed=rss2]
|
||||
name = Nihad Karslı
|
||||
face = nihadkarsli.png
|
||||
nick = nkarsli
|
||||
label = Personal
|
||||
id = 40
|
||||
|
||||
[http://www.yalazi.org/index.php/archives/category/gezegen/feed/]
|
||||
name = Onur Yalazı
|
||||
face = onuryalazi.png
|
||||
nick = oyalazi
|
||||
label = Personal
|
||||
id = 41
|
||||
|
||||
[http://feeds.feedburner.com/oguzy-gezegen]
|
||||
name = Oğuz Yarımtepe
|
||||
face = oguzyarimtepe.png
|
||||
nick = oyarimtepe
|
||||
label = Personal
|
||||
id = 2
|
||||
id = 42
|
||||
|
||||
[http://bilisimlab.com/blog/rss.php]
|
||||
name = Ömer Fadıl Usta
|
||||
nick = ousta
|
||||
label = Personal
|
||||
id = 43
|
||||
|
||||
#1.11.2008 de attığı epostada Ingilizce girdisine karşı Turkce bir adres istememize Ingilizce yazacagini soyledi ve gerekirse cikarin dedi
|
||||
[http://feeds.feedburner.com/pinguar-gezegen]
|
||||
name = Pınar Yanardağ
|
||||
face = pinaryanardag.png
|
||||
nick = pinaryanardag
|
||||
label = Personal
|
||||
id = 44
|
||||
|
||||
[http://nightwalkers.blogspot.com/atom.xml]
|
||||
name = Serbülent Ünsal
|
||||
nick = sunsal
|
||||
label = Personal
|
||||
id = 45
|
||||
|
||||
[http://gunluk.lkd.org.tr/category/gezegen/feed/]
|
||||
name = LKD Gezegen Duyuruları
|
||||
face = gezegencg.png
|
||||
nick = gezegencg
|
||||
label = LKD
|
||||
id = 46
|
||||
|
||||
#[http://blogs.lkd.org.tr/seminercg/index.php?/feeds/categories/2-Seminer.rss]
|
||||
[http://gunluk.lkd.org.tr/category/seminer/feed/]
|
||||
name = LKD Seminer Duyuruları
|
||||
face = seminercg.png
|
||||
nick = seminercg
|
||||
label = LKD
|
||||
id = 47
|
||||
|
||||
[http://serveracim.blogspot.com/feeds/posts/default?alt=rss]
|
||||
name = Server Acim
|
||||
face = serveracim.png
|
||||
nick = sacim
|
||||
label = Personal
|
||||
id = 48
|
||||
|
||||
[http://www.ayder.org/gunluk/?feed=rss2]
|
||||
name = Sinan Alyürük
|
||||
nick = salyuruk
|
||||
label = Personal
|
||||
id = 49
|
||||
|
||||
[http://talat.uyarer.com/?feed=rss2]
|
||||
name= Talat Uyarer
|
||||
nick = tuyarer
|
||||
label = Personal
|
||||
id = 50
|
||||
|
||||
[http://feeds.feedburner.com/tayfurtaybua]
|
||||
name= Tayfur Taybuğa
|
||||
face = tayfurtaybuga.png
|
||||
nick = ttaybuga
|
||||
label = Personal
|
||||
id = 51
|
||||
|
||||
# Rsssindeki tarih sorunundan dolayı girdisinin gezegende tekrarlı gösteriminden dolayı geçici süre kaldırıldı 17112008
|
||||
# kendisinden gelen update ile adresi düzenlendi
|
||||
[http://tonguc.name/blog/?flav=atom]
|
||||
name = Tonguç Yumruk
|
||||
face = tongucyumruk.png
|
||||
nick = tyumruk
|
||||
label = Personal
|
||||
id = 52
|
||||
|
||||
[http://sehitoglu.web.tr/gunluk/?feed=rss2&cat=12]
|
||||
name = Onur Tolga Şehitoğlu
|
||||
nick = osehitoglu
|
||||
label = Personal
|
||||
id = 53
|
||||
|
||||
[http://handlet.blogspot.com/feeds/posts/default?alt=rss]
|
||||
name = Ümran Kamar
|
||||
face = umrankamar.png
|
||||
nick = ukamar
|
||||
label = Personal
|
||||
id = 54
|
||||
|
||||
[http://zembereknlp.blogspot.com/feeds/posts/default?alt=rss]
|
||||
name = Zemberek NLP
|
||||
# face =
|
||||
nick = zemberek
|
||||
label = Personal
|
||||
id = 55
|
||||
|
||||
[http://00101010.info/konu/teknik/index.rss]
|
||||
name = Recai Oktaş
|
||||
nick = roktas
|
||||
label = Personal
|
||||
id = 56
|
||||
|
||||
[http://www.bugunlinux.com/?feed=rss2]
|
||||
name = Ahmet Yıldız
|
||||
nick = ayildiz
|
||||
label = Personal
|
||||
id = 57
|
||||
|
||||
[http://feeds.feedburner.com/SerkanLinuxGezegeni]
|
||||
name = Serkan Altuntaş
|
||||
nick = saltuntas
|
||||
label = Personal
|
||||
id = 58
|
||||
|
||||
[http://www.furkancaliskan.com/blog/category/gezegen/feed]
|
||||
name = Furkan Çalışkan
|
||||
nick = fcaliskan
|
||||
label = Personal
|
||||
id = 59
|
||||
|
||||
[http://eumur.wordpress.com/feed]
|
||||
name = Umur Erdinç
|
||||
nick = uerdinc
|
||||
label = Personal
|
||||
id = 60
|
||||
|
||||
[http://serkank.wordpress.com/category/linux/feed/atom]
|
||||
name = Serkan Kaba
|
||||
face = serkankaba.png
|
||||
nick = skaba
|
||||
label = Personal
|
||||
id = 61
|
||||
|
||||
[http://feeds.feedburner.com/nesimia-gezegen?format=xml]
|
||||
name = Nesimi Acarca
|
||||
nick = nacarca
|
||||
label = Personal
|
||||
id = 62
|
||||
|
||||
#Rsssindeki tarih sorunundan dolayı girdisinin gezegende tekrarlı gösteriminden dolayı geçici süre kaldırıldı 17112008
|
||||
#Kendisinden gelen yeni adres ile güncellendi
|
||||
[http://www.soyoz.com/gunce/etiket/linux-gezegeni/feed]
|
||||
name = Erol Soyöz
|
||||
nick = esoyoz
|
||||
label = Personal
|
||||
id = 63
|
||||
|
||||
[http://gurcanozturk.com/feed/]
|
||||
name = Gürcan Öztürk
|
||||
nick = gurcanozturk
|
||||
label = Personal
|
||||
id = 64
|
||||
|
||||
[http://www.python-tr.com/feed/atom/]
|
||||
name = Python-TR
|
||||
nick = python-tr
|
||||
label = Personal
|
||||
id = 65
|
||||
|
||||
[http://gunluk.lkd.org.tr/category/web/feed]
|
||||
name = LKD Web Çalışma Grubu
|
||||
nick = webcg
|
||||
label = Personal
|
||||
id = 66
|
||||
|
||||
[http://blogs.portakalteknoloji.com/bora/blog/feed/rss/]
|
||||
name = Bora Güngören
|
||||
nick = boragungoren
|
||||
label = Personal
|
||||
id = 67
|
||||
|
||||
[http://www.kirmizivesiyah.org/index.php/category/gezegen/feed/]
|
||||
name = Kubilay Onur Güngör
|
||||
nick = kogungor
|
||||
label = Personal
|
||||
id = 68
|
||||
|
||||
[http://gunluk.lkd.org.tr/category/yk/feed/]
|
||||
name = LKD YK
|
||||
nick = lkdyk
|
||||
label = LKD
|
||||
id = 69
|
||||
|
||||
[http://flyeater.wordpress.com/tag/lkd/feed]
|
||||
name = Deniz Koçak
|
||||
nick = dkocak
|
||||
label = Personal
|
||||
id = 70
|
||||
|
||||
[http://serkan.feyvi.org/blog/category/debian/feed]
|
||||
name = Serkan Kenar
|
||||
nick = skenar
|
||||
label = Personal
|
||||
id = 71
|
||||
|
||||
[http://armuting.blogspot.com/feeds/posts/default/-/lkd_gezegen]
|
||||
name = Ali Erkan İmrek
|
||||
nick = aeimrek
|
||||
label = Personal
|
||||
id = 72
|
||||
|
||||
[http://www.lkd.org.tr/news/aggregator/RSS]
|
||||
name = LKD.org.tr
|
||||
nick = lkd.org.tr
|
||||
label = LKD
|
||||
id = 73
|
||||
|
||||
[http://gunluk.lkd.org.tr/category/ftp/feed/]
|
||||
name = LKD FTP Çalışma Grubu
|
||||
nick = lkdftp
|
||||
label = LKD
|
||||
id = 74
|
||||
|
||||
[http://murattikil.blogspot.com/feeds/posts/default]
|
||||
name = Murat TİKİL
|
||||
nick = murattikil
|
||||
label = Personal
|
||||
id = 75
|
||||
|
||||
[http://www.burakdayioglu.net/category/linux/feed]
|
||||
name = Burak Dayıoğlu
|
||||
face = burakdayioglu.png
|
||||
nick = burakdayioglu
|
||||
label = Personal
|
||||
id = 76
|
||||
|
||||
[http://feeds.feedburner.com/PardusLinuxOrgAnaSayfa]
|
||||
name = Pardus-Linux.org
|
||||
face =
|
||||
nick = parduslinux
|
||||
label = Personal
|
||||
id = 77
|
||||
|
||||
[http://www.linuxipuclari.com/category/gezegen/feed]
|
||||
name = Linuxipuclari
|
||||
face = linuxipuclari.png
|
||||
nick = linuxipuclari
|
||||
label = Personal
|
||||
id = 78
|
||||
|
||||
[http://www.ozgurkuru.net/ozgur/category/linuxgezegen/feed/]
|
||||
name = Özgür Kuru
|
||||
face =
|
||||
nick = ozgurkuru
|
||||
label = Personal
|
||||
id = 79
|
||||
|
||||
[http://www.okanakyuz.com/?feed=rss2&cat=17]
|
||||
name = Okan Akyüz
|
||||
face = okanakyuz.png
|
||||
nick = okanakyuz
|
||||
label = Personal
|
||||
id = 80
|
||||
|
||||
[http://gunluk.lkd.org.tr/category/senlik/feed/]
|
||||
name = LKD Şenlik Çalışma Grubu
|
||||
nick = lkdsenlik
|
||||
label = LKD
|
||||
id = 81
|
||||
|
||||
[http://feeds2.feedburner.com/ekovanci?format=xml]
|
||||
name = Eren Kovancı
|
||||
nick = erenkovanci
|
||||
label = Personal
|
||||
id = 82
|
||||
|
||||
[http://www.heartsmagic.net/category/linux/feed/]
|
||||
name = Serkan Çalış
|
||||
nick = serkancalis
|
||||
label = Personal
|
||||
id = 83
|
||||
|
||||
[http://siyahsapka.blogspot.com/feeds/posts/default/-/Gezegen?alt=rss]
|
||||
name = Fatih Özavcı
|
||||
face = fatihozavci.png
|
||||
nick = fatihozavci
|
||||
label = Personal
|
||||
id = 84
|
||||
|
||||
[http://gunluk.lkd.org.tr/category/sponsor/feed/]
|
||||
name = LKD Sponsor Çalışma Grubu
|
||||
nick = sponsorcg
|
||||
label = Personal
|
||||
id = 85
|
||||
|
||||
[http://gnome.org.tr/index.php?option=com_rss&feed=RSS2.0&no_html=1)]
|
||||
name = GNOME Türkiye
|
||||
nick = gnometr
|
||||
label = Personal
|
||||
id = 86
|
||||
|
||||
[http://twitter.com/statuses/user_timeline/23496360.rss]
|
||||
name = Şenlik Twitter Haberleri
|
||||
nick = senliktwitter
|
||||
label = LKD
|
||||
id = 87
|
||||
|
||||
[http://ozguryazilim.com/?feed=rss2]
|
||||
name = Ozguryazilim.com
|
||||
nick = ozguryazilim
|
||||
label = Personal
|
||||
id = 88
|
||||
|
||||
[http://emrahcom.blogspot.com/feeds/posts/default/-/lkd?alt=rss]
|
||||
name = Emrah Eryılmaz
|
||||
nick = emraheryilmaz
|
||||
label = Personal
|
||||
id = 89
|
||||
|
||||
[http://osjunkies.com/blog/author/findik/feed/rss/]
|
||||
name = FINDIK Projesi
|
||||
nick = findik
|
||||
label = Personal
|
||||
id = 90
|
||||
|
||||
[http://www.samkon.org/?feed=rss2&cat=778]
|
||||
name = Samed Konak
|
||||
face = samedkonak.png
|
||||
nick = samedkonak
|
||||
label = Personal
|
||||
id = 91
|
||||
|
||||
[http://canerblt.wordpress.com/tag/linux/feed]
|
||||
name = Caner Bulut
|
||||
nick = canerbulut
|
||||
label = Personal
|
||||
id = 92
|
||||
|
||||
[http://seridarus.blogspot.com/feeds/posts/default/-/gezegen]
|
||||
name = Serdar Yiğit
|
||||
nick = serdaryigit
|
||||
label = Personal
|
||||
id = 93
|
||||
|
||||
[http://cemosonmez.blogspot.com/feeds/posts/default/-/gezegen]
|
||||
name = Cem Sönmez
|
||||
nick = cemsonmez
|
||||
label = Personal
|
||||
id = 94
|
||||
|
||||
[http://www.teknozat.com/kategori/linux/feed]
|
||||
name = Ümit Yaşar
|
||||
nick = umityasar
|
||||
label = Personal
|
||||
id = 95
|
||||
|
||||
[http://blog.akgul.web.tr/?cat=2&feed=rss2]
|
||||
name= Mustafa Akgül
|
||||
nick = mustafaakgul
|
||||
label = Personal
|
||||
id = 96
|
||||
|
||||
[http://kapadokyayazilim.com/gunluk/omerakyuz/category/linux/feed/]
|
||||
name = Ömer Akyüz
|
||||
nick = omerakyuz
|
||||
label = Personal
|
||||
id = 97
|
||||
|
||||
[http://www.birazkisisel.com/tag/linux-gezegeni/feed/]
|
||||
name = Hüseyin Berberoğlu
|
||||
nick = huseyinberberoglu
|
||||
label = Personal
|
||||
id = 98
|
||||
|
||||
[http://www.efeciftci.com/category/gezegen/feed/]
|
||||
name = Efe Çiftci
|
||||
face = efeciftci.png
|
||||
nick = efeciftci
|
||||
label = Personal
|
||||
id = 99
|
||||
|
||||
[http://ozgurmurat.blogspot.com/feeds/posts/default/-/lkd_gezegen]
|
||||
name = Özgür Murat Homurlu
|
||||
nick = ozgurmurat
|
||||
label = Personal
|
||||
id = 100
|
||||
|
||||
# title ve duzgun yazma sorunlarindan dolayi gecici sure kaldirildi
|
||||
#[http://opensusetr.wordpress.com/category/gezegen/feed/]
|
||||
[http://pardusever.blogspot.com/feeds/posts/default/-/gezegen]
|
||||
name = Emre Can Şüşter
|
||||
face = emrecansuster.png
|
||||
nick = emrecan
|
||||
label = Personal
|
||||
id = 101
|
||||
|
||||
[http://ilkinbalkanay.blogspot.com/feeds/posts/default/-/Gezegen]
|
||||
name = İlkin Ulas Balkanay
|
||||
face = ilkinulas.png
|
||||
nick = ilkinulas
|
||||
label = Personal
|
||||
id = 102
|
||||
|
||||
[http://kubilaykocabalkan.wordpress.com/tag/pardus/feed/]
|
||||
name = Kubilay Kocabalkan
|
||||
nick = kubilaykocabalkan
|
||||
label = Personal
|
||||
id = 103
|
||||
|
||||
[http://www.syslogs.org/feed/]
|
||||
name = Cagri Ersen
|
||||
nick = cagriersen
|
||||
label = Personal
|
||||
id = 104
|
||||
|
||||
[http://onuraslan.com/blog/etiket/gezegen/feed/]
|
||||
name = Onur Aslan
|
||||
nick = onuraslan
|
||||
face = onuraslan.png
|
||||
label = Personal
|
||||
id = 105
|
||||
|
||||
[http://ercankuru.com.tr/index/category/gezegen/lkd-gezegeni/feed/]
|
||||
name = Ercan Kuru
|
||||
nick = ercankuru
|
||||
label = Personal
|
||||
id = 106
|
||||
|
||||
[http://www.bayramkaragoz.org/category/gezegen/feed/]
|
||||
name = Bayram Karagöz
|
||||
nick = bayramkaragoz
|
||||
face = bayramkaragoz.png
|
||||
label = Personal
|
||||
id = 107
|
||||
|
||||
[http://gungorbasa.blogspot.com/feeds/posts/default/-/Gezegen]
|
||||
name = Güngör Basa
|
||||
nick = gungorbasa
|
||||
label = Personal
|
||||
id = 108
|
||||
|
||||
[http://www.sinanonur.com/konu/linuxgezegen/feed/]
|
||||
name = Sinan Onur Altınuç
|
||||
nick = sinanonur
|
||||
face = sinanonur.png
|
||||
label = Personal
|
||||
id = 109
|
||||
|
||||
[http://blog.halid.org/tag/linux/feed/]
|
||||
name = Halid Said Altuner
|
||||
nick = halidaltuner
|
||||
label = Personal
|
||||
id = 110
|
||||
|
||||
[http://gunluk.lyildirim.net/etiket/gezegen/feed/]
|
||||
name = Levent Yıldırım
|
||||
nick = lyildirim
|
||||
label = Personal
|
||||
id = 111
|
||||
|
||||
[http://can.logikit.net/tag/yazilim/feed/]
|
||||
name = Can İnce
|
||||
nick = canince
|
||||
face = canince.png
|
||||
label = Personal
|
||||
id = 112
|
||||
|
||||
[http://mkarakaplan.wordpress.com/category/gezegen/feed/]
|
||||
name = Mustafa Karakaplan
|
||||
nick = mustafakarakaplan
|
||||
label = Personal
|
||||
id = 113
|
||||
|
||||
[http://feeds.feedburner.com/Wargasmarch]
|
||||
name = Murat Pınar
|
||||
nick = muratpinar
|
||||
face = muratpinar.png
|
||||
label = Personal
|
||||
id = 114
|
||||
|
||||
[http://www.birseyler.org/category/acik-kaynak-linux/gezegen/feed/]
|
||||
name = Utku Demir
|
||||
nick = utkudemir
|
||||
label = Personal
|
||||
id = 115
|
||||
|
||||
[http://linuxogrenmekistiyorum.com/feed/]
|
||||
name = Fikret Tozak
|
||||
nick = fikrettozak
|
||||
label = Personal
|
||||
id = 116
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -166,25 +166,39 @@ def main():
|
|||
# run the planet
|
||||
my_planet = planet.Planet(config)
|
||||
my_planet.run(planet_name, planet_link, template_files, offline)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## This is where archiving is done! ##
|
||||
#add the current channels to the db
|
||||
channels = my_planet.channels()
|
||||
for channel in channels:
|
||||
|
||||
author_name = channel.name
|
||||
|
||||
### This part seperates surname from name do not activate it if needn't.
|
||||
words = channel.name.split()
|
||||
if len(words) == 1:
|
||||
author_name = words[0]
|
||||
author_surname == None
|
||||
else:
|
||||
author_surname = words[-1]
|
||||
words.pop()
|
||||
tmp_first_name = ''
|
||||
for word in words: tmp_first_name += ' ' + word
|
||||
author_name = tmp_first_name[1:]
|
||||
### ###
|
||||
print channel.name
|
||||
#author_name = channel.name
|
||||
#author_surname = channel.surname
|
||||
|
||||
try:
|
||||
author_face = channel.face
|
||||
print channel.face
|
||||
except:
|
||||
author_face = None
|
||||
try:
|
||||
channel_subtitle = channel.subtitle
|
||||
except:
|
||||
channel_subtitle = None
|
||||
try:
|
||||
try:
|
||||
channel_title = channel.title
|
||||
except:
|
||||
channel_title = None
|
||||
|
@ -200,9 +214,9 @@ def main():
|
|||
channel_urlstatus = channel.url_status
|
||||
except:
|
||||
channel_urlstatus = None
|
||||
|
||||
print channel.label
|
||||
label = channel.label
|
||||
|
||||
|
||||
label_personal = 0
|
||||
label_lkd = 0
|
||||
label_community = 0
|
||||
|
@ -215,7 +229,7 @@ def main():
|
|||
label_community = 1
|
||||
if label == "Eng":
|
||||
label_eng = 1
|
||||
|
||||
print channel.id
|
||||
id = channel.id
|
||||
|
||||
try:
|
||||
|
@ -223,6 +237,7 @@ def main():
|
|||
|
||||
#update the values with the ones at the config file
|
||||
author.author_name = author_name
|
||||
author.author_surname = author_surname
|
||||
#print author_name
|
||||
author.author_face = author_face
|
||||
author.channel_subtitle = channel_subtitle
|
||||
|
@ -236,9 +251,9 @@ def main():
|
|||
author.label_eng = label_eng
|
||||
|
||||
except Exception, ex:
|
||||
#print ex
|
||||
author = Authors(author_id=id, author_name=author_name, author_face=author_face, channel_subtitle=channel_subtitle, channel_title=channel_title, channel_url=channel_url, channel_link=channel_link, channel_urlstatus=channel_urlstatus, label_personal=label_personal, label_lkd=label_lkd, label_community=label_community, label_eng=label_eng)
|
||||
|
||||
print ex
|
||||
author = Authors(author_id=id, author_name=author_name, author_surname=author_surname, author_face=author_face, channel_subtitle=channel_subtitle, channel_title=channel_title, channel_url=channel_url, channel_link=channel_link, channel_urlstatus=channel_urlstatus, label_personal=label_personal, label_lkd=label_lkd, label_community=label_community, label_eng=label_eng)
|
||||
|
||||
|
||||
author.save()
|
||||
|
||||
|
@ -264,7 +279,7 @@ def main():
|
|||
else: summary = item.summary
|
||||
entry = author.entries_set.create(id_hash=id_hash, title=item.title, content_html=item.content, summary=summary, link=item.link, date=datetime.datetime(d[0], d[1], d[2], d[3], d[4], d[5]))
|
||||
entry.content_text = entry.sanitize(content_html)
|
||||
|
||||
|
||||
entry.save()
|
||||
|
||||
#datetime issue
|
||||
|
|
File diff suppressed because one or more lines are too long
1280
DJAGEN/branches/mustafa_branch/djagen/gezegen/www/feeds.html
Normal file
1280
DJAGEN/branches/mustafa_branch/djagen/gezegen/www/feeds.html
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -67,8 +67,8 @@
|
|||
<foaf:Agent>
|
||||
<foaf:name>Ali Erdinç Köroğlu</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://www.erdinc.info">
|
||||
<dc:title>The Point of no return » LKD</dc:title>
|
||||
<foaf:Document rdf:about="">
|
||||
<dc:title></dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="" />
|
||||
</rdfs:seeAlso>
|
||||
|
@ -78,7 +78,7 @@
|
|||
</foaf:member>
|
||||
<foaf:member>
|
||||
<foaf:Agent>
|
||||
<foaf:name>Ali Erkan İMREK</foaf:name>
|
||||
<foaf:name>Ali Erkan İmrek</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://armuting.blogspot.com/search/label/lkd_gezegen">
|
||||
<dc:title>armut</dc:title>
|
||||
|
@ -444,8 +444,8 @@
|
|||
<foaf:Agent>
|
||||
<foaf:name>Erol Soyöz</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://www.soyoz.com/gunce">
|
||||
<dc:title>Erol Soyöz | Dağıtık günce » linux gezegeni</dc:title>
|
||||
<foaf:Document rdf:about="">
|
||||
<dc:title></dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="" />
|
||||
</rdfs:seeAlso>
|
||||
|
@ -457,8 +457,8 @@
|
|||
<foaf:Agent>
|
||||
<foaf:name>Erçin Eker</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://www.eker.info/blog">
|
||||
<dc:title>The Useless Journal v4</dc:title>
|
||||
<foaf:Document rdf:about="">
|
||||
<dc:title></dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="" />
|
||||
</rdfs:seeAlso>
|
||||
|
@ -470,8 +470,8 @@
|
|||
<foaf:Agent>
|
||||
<foaf:name>FINDIK Projesi</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://osjunkies.com">
|
||||
<dc:title>OpenSource Junkies » findik</dc:title>
|
||||
<foaf:Document rdf:about="">
|
||||
<dc:title></dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="" />
|
||||
</rdfs:seeAlso>
|
||||
|
@ -861,7 +861,7 @@
|
|||
<foaf:name>Levent Yıldırım</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://gunluk.lyildirim.net">
|
||||
<dc:title>Arka Bahçem » gezegen</dc:title>
|
||||
<dc:title>Levent'in Günlüğü » gezegen</dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="" />
|
||||
</rdfs:seeAlso>
|
||||
|
@ -960,6 +960,19 @@
|
|||
</foaf:weblog>
|
||||
</foaf:Agent>
|
||||
</foaf:member>
|
||||
<foaf:member>
|
||||
<foaf:Agent>
|
||||
<foaf:name>Murat Pınar</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://wargasm.6te.net">
|
||||
<dc:title>wargasm@arch ~</dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="" />
|
||||
</rdfs:seeAlso>
|
||||
</foaf:Document>
|
||||
</foaf:weblog>
|
||||
</foaf:Agent>
|
||||
</foaf:member>
|
||||
<foaf:member>
|
||||
<foaf:Agent>
|
||||
<foaf:name>Murat Sağlam</foaf:name>
|
||||
|
@ -1134,7 +1147,7 @@
|
|||
<foaf:name>Oğuz Yarımtepe</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://www.loopbacking.info/blog">
|
||||
<dc:title>import me » Gezegen</dc:title>
|
||||
<dc:title>import me</dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="" />
|
||||
</rdfs:seeAlso>
|
||||
|
@ -1185,8 +1198,8 @@
|
|||
<foaf:Agent>
|
||||
<foaf:name>Recai Oktaş</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://00101010.info/konu/teknik/">
|
||||
<dc:title>konu/teknik</dc:title>
|
||||
<foaf:Document rdf:about="">
|
||||
<dc:title></dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="" />
|
||||
</rdfs:seeAlso>
|
||||
|
@ -1263,8 +1276,8 @@
|
|||
<foaf:Agent>
|
||||
<foaf:name>Serkan Kenar</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://serkan.feyvi.org/blog">
|
||||
<dc:title>Kayıp Şehir / Serkan Kenar » debian</dc:title>
|
||||
<foaf:Document rdf:about="">
|
||||
<dc:title></dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="" />
|
||||
</rdfs:seeAlso>
|
||||
|
@ -1376,6 +1389,19 @@
|
|||
</foaf:weblog>
|
||||
</foaf:Agent>
|
||||
</foaf:member>
|
||||
<foaf:member>
|
||||
<foaf:Agent>
|
||||
<foaf:name>Utku Demir</foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="http://www.birseyler.org">
|
||||
<dc:title>Bir şeyler var burada! » Gezegen</dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="" />
|
||||
</rdfs:seeAlso>
|
||||
</foaf:Document>
|
||||
</foaf:weblog>
|
||||
</foaf:Agent>
|
||||
</foaf:member>
|
||||
<foaf:member>
|
||||
<foaf:Agent>
|
||||
<foaf:name>Zemberek NLP</foaf:name>
|
||||
|
|
1698
DJAGEN/branches/mustafa_branch/djagen/gezegen/www/index.html
Normal file
1698
DJAGEN/branches/mustafa_branch/djagen/gezegen/www/index.html
Normal file
File diff suppressed because one or more lines are too long
|
@ -2,8 +2,8 @@
|
|||
<opml version="1.1">
|
||||
<head>
|
||||
<title>Linux Gezegeni</title>
|
||||
<dateCreated>Sat, 01 May 2010 15:30:21 +0000</dateCreated>
|
||||
<dateModified>Sat, 01 May 2010 15:30:21 +0000</dateModified>
|
||||
<dateCreated>Wed, 14 Jul 2010 16:47:11 +0000</dateCreated>
|
||||
<dateModified>Wed, 14 Jul 2010 16:47:11 +0000</dateModified>
|
||||
<ownerName>Gezegen Ekibi</ownerName>
|
||||
<ownerEmail>gezegen@linux.org.tr</ownerEmail>
|
||||
</head>
|
||||
|
@ -14,7 +14,7 @@
|
|||
<outline text="Ahmet Aygün" xmlUrl=""/>
|
||||
<outline text="Ahmet Yıldız" xmlUrl=""/>
|
||||
<outline text="Ali Erdinç Köroğlu" xmlUrl=""/>
|
||||
<outline text="Ali Erkan İMREK" xmlUrl=""/>
|
||||
<outline text="Ali Erkan İmrek" xmlUrl=""/>
|
||||
<outline text="Alper Kanat" xmlUrl=""/>
|
||||
<outline text="Alper Orus" xmlUrl=""/>
|
||||
<outline text="Alper Oğuz" xmlUrl=""/>
|
||||
|
@ -82,6 +82,7 @@
|
|||
<outline text="Mehmet Salih Yıldırım" xmlUrl=""/>
|
||||
<outline text="Murat Hazer" xmlUrl=""/>
|
||||
<outline text="Murat Koç" xmlUrl=""/>
|
||||
<outline text="Murat Pınar" xmlUrl=""/>
|
||||
<outline text="Murat Sağlam" xmlUrl=""/>
|
||||
<outline text="Murat TİKİL" xmlUrl=""/>
|
||||
<outline text="Mustafa Akgül" xmlUrl=""/>
|
||||
|
@ -114,6 +115,7 @@
|
|||
<outline text="Tayfur Taybuğa" xmlUrl=""/>
|
||||
<outline text="Tonguç Yumruk" xmlUrl=""/>
|
||||
<outline text="Umur Erdinç" xmlUrl=""/>
|
||||
<outline text="Utku Demir" xmlUrl=""/>
|
||||
<outline text="Zemberek NLP" xmlUrl=""/>
|
||||
<outline text="Ömer Akyüz" xmlUrl=""/>
|
||||
<outline text="Ömer Fadıl Usta" xmlUrl=""/>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
177
DJAGEN/branches/mustafa_branch/djagen/gezegen/www/sidebar.html
Normal file
177
DJAGEN/branches/mustafa_branch/djagen/gezegen/www/sidebar.html
Normal file
|
@ -0,0 +1,177 @@
|
|||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="http://panhaema.com/146">
|
||||
<img src="muratsaglam.png" height="24" alt="">
|
||||
Famicom Fatihi Türkler</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://gunluk.lkd.org.tr/2010/07/13/pk-500-askere-gidiyor-yasasin-yeni-pk-500/">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
PK 500 askere gidiyor, yaşasın yeni PK 500 :)</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://zzz.fisek.com.tr/seyir-defteri/?p=728">
|
||||
<img src="dorukfisek.png" height="24" alt="">
|
||||
Bir siteyi bakıma almak</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://feedproxy.google.com/~r/Syslogs/~3/QY4vUjZ0GKw/">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Herkes tarafından yazılabilir dosyaların saptanması</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://feedproxy.google.com/~r/SerblentnsalnWebGnl/~3/PretY0MerUA/ozgur-kuslar-uzerine.html">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Özgür Kuşlar Üzerine...</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://feedproxy.google.com/~r/blogspot/JgrLC/~3/dYzxHa5o1ko/konsoldan-identica-mesaji.html">
|
||||
<img src="serveracim.png" height="24" alt="">
|
||||
Konsoldan IDENTICA Mesaji</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://6kere9.com/blag/2010/07/11/75/">
|
||||
<img src="gurerozen.png" height="24" alt="">
|
||||
kuş uçtu yuva kaldı...</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://blog.ratonred.com/2010/07/ozgurluk/">
|
||||
<img src="gokmengoksel.png" height="24" alt="">
|
||||
Özgürlük.</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.birseyler.org/2010/07/wordpressi-hizlandirmak/">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Wordpress'i Hızlandırmak</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.defterikebir.tk/2010/07/rootun-2-says-geldi-hos-geldi.html">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Root'un 2. sayısı geldi, hoş geldi</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://feedproxy.google.com/~r/PardusLinuxOrgAnaSayfa/~3/SQ98kXXBF_w/">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
ROOT’un 2. Sayısı Hazır</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.bayramkaragoz.org/postgresql/postgresql-backup-scripti/">
|
||||
<img src="bayramkaragoz.png" height="24" alt="">
|
||||
PostgreSQL Backup Scripti</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.gnome.org.tr/index.php?option=com_content&task=view&id=39&Itemid=2">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
GNOME 2.30 Yayınlandı</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://devador.blogspot.com/2010/07/wordpress-buyuk-boyutlu-dosya-yukleme.html">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Wordpress Büyük Boyutlu Dosya Yükleme Sorunu</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.defterikebir.tk/2010/02/linux-mint-turkiye-yeniden-yaynda.html">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Linux Mint Türkiye Yeniden Yayında!</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.defterikebir.tk/2010/03/linux-mint-turkiye-e-dergisi-root.html">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Linux Mint Türkiye E-dergisi Root</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.defterikebir.tk/2010/04/root-yazar-olmak-ister-misiniz.html">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Root yazarı olmak ister misiniz?</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.defterikebir.tk/2010/05/linux-mint-9-isadora-kararl-surum.html">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Linux Mint 9 "Isadora" Kararlı Sürüm Yayınlandı</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.defterikebir.tk/2010/06/linux-mint-turkiye-e-dergisi-rootun-1.html">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Linux Mint Türkiye E-Dergisi Root'un 1. sayısı yayınlandı!</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.efeciftci.com/2010/06/29/html5-yap-ve-yapma/">
|
||||
<img src="efeciftci.png" height="24" alt="">
|
||||
HTML5: Yap ve Yapma</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://www.birazkisisel.com/git-her-push-sonrasi-otomatik-olarak-e-posta-atsin/">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Git, Her “Push” Sonrası Otomatik Olarak E-posta Atsın</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://gunluk.lyildirim.net/2010/06/26/mozilla-3-6-4-surumunden-memnun-kalmadi/">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Mozilla, Firefox 3.6.4 sürümünden memnun kalmadı</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://gunluk.lkd.org.tr/2010/06/24/ve-efsane-geri-dondu-seminer-linux-org-tr/">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Ve efsane geri döndü: seminer.linux.org.tr</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://armuting.blogspot.com/2010/06/googledan-ocr-hizmeti-denemeleri.html">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Google'dan OCR hizmeti denemeleri</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="http://gungorbasa.blogspot.com/2010/06/java-teknolojileri-ve-programcilari.html">
|
||||
<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
|
||||
Java Teknolojileri ve Programcilari Dernegi</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
958
DJAGEN/branches/mustafa_branch/djagen/gezegen/www/simple.html
Normal file
958
DJAGEN/branches/mustafa_branch/djagen/gezegen/www/simple.html
Normal file
File diff suppressed because one or more lines are too long
|
@ -7,17 +7,17 @@
|
|||
{% 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>
|
||||
<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 }} {{ entry.entry_id.author_surname }}" 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>
|
||||
Yazar: <a href="{{ entry.entry_id.channel_link }}" title="{{ entry.entry_id.channel_title }}">{{ entry.entry_id.author_name }} {{ entry.entry_id.author_surname }}</a>
|
||||
Tarih: <span class="blogdate">{{ entry.date|date:"d F Y H:i" }}</span>
|
||||
</p>
|
||||
<div class="blogcontent">
|
||||
|
@ -27,39 +27,70 @@
|
|||
{% endautoescape %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
||||
<div class="pagination">
|
||||
<span class="step-links">
|
||||
|
||||
|
||||
{% if q_author_name or q_author_surname or q_text %}
|
||||
<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="?q_author_name={{ q_author_name }}&q_author_surname={{ q_author_surname }}&q_text={{ q_text }}&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="?q_author_name={{ q_author_name }}&q_author_surname={{ q_author_surname }}&q_text={{ q_text }}&page={{ pNum }}">{{ pNum }}</a>
|
||||
{% endifequal %}
|
||||
{% endfor %}
|
||||
|
||||
|
|
||||
{% if p_entries_list.has_next %}
|
||||
<a href="?q_author_name={{ q_author_name }}&q_author_surname={{ q_author_surname }}&q_text={{ q_text }}&page={{ p_entries_list.next_page_number }}">İleri</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
<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>
|
||||
|
||||
<div class="pagelist" style="text-align:center">
|
||||
{% if p_entries_list.has_previous %}
|
||||
<a href="?q_author_name=?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>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -88,8 +88,7 @@
|
|||
|
||||
{% if q_text %}
|
||||
İçinde <b>{{ q_text|truncatewords:8 }}</b> geçen girdiler
|
||||
{% endif %}
|
||||
.</p>
|
||||
{% endif %}.</p>
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
|
|
@ -7,17 +7,17 @@
|
|||
{% 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>
|
||||
<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 }} {{ entry.entry_id.author_surname }}" 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>
|
||||
Yazar: <a href="{{ entry.entry_id.channel_link }}" title="{{ entry.entry_id.channel_title }}">{{ entry.entry_id.author_name }} {{ entry.entry_id.author_surname }}</a>
|
||||
Tarih: <span class="blogdate">{{ entry.date|date:"d F Y H:i" }}</span>
|
||||
</p>
|
||||
<div class="blogcontent">
|
||||
|
@ -27,10 +27,10 @@
|
|||
{% endautoescape %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -1,11 +1,30 @@
|
|||
{% extends "main/base.html" %}
|
||||
{% block body %}
|
||||
<form action='{{ BASE_URL }}/archive ' method='GET'>
|
||||
<b>Yazar<br> Adı:</b><input type="text" name="q_author_name">
|
||||
{% comment %}
|
||||
<form action='{{ BASE_URL }}/archive ' method='GET'>
|
||||
<b>Yazar<br> Adı:</b><input type="text" name="q_author_name">
|
||||
ve/veya
|
||||
<b>Soyadı:</b><input type="text" name="q_author_surname"><br>
|
||||
veya<br>
|
||||
<b>Aradığınız Metin:</b><input type="text" name="q_text">
|
||||
<input type="submit" value="Listele">
|
||||
</form>
|
||||
<b>Aradığınız Metin:</b><input type="text" name="q_text">
|
||||
<input type="submit" value="Listele">
|
||||
</form>
|
||||
{% endcomment %}
|
||||
|
||||
<form action="{{ BASE_URL }}/archive" method="GET" enctype="multipart/form-data">
|
||||
{% for field in q_form %}
|
||||
<div class="fieldWrapper">
|
||||
{% if field.errors %}
|
||||
<span class="error">{{ field.errors }}</span>
|
||||
{% endif %}
|
||||
{{ field.label_tag }}
|
||||
{% if field.help_text %}
|
||||
<span class="small">{{ field.help_text }}</span>
|
||||
{% endif %}
|
||||
{{ field }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="spacer"></div>
|
||||
<input type="submit" value="Listele" />
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user