1 2345678910...
|
if not new.project in [oomadness.oo_balazar_brother.balazar_brother, oomadness.oo_balazar.balazar, oomadness.oo_slune.slu...
return 1
news = []
for project in site.projects: news.extend(project.news)
news.sort()
Language: Python License: GPL (C) 2002-2006 Jean-Baptiste LAMY -- jiba@tuxfamily LOC: 119 Gna! : OOMadness (project search) : .../o/oomadness/oomadness/oomadness/oomadness_site.py
|
msg = """<html>
<head>
<title>News for "%s"</title>
</head>
<body>
Language: Python LOC: 111 Savannah NonGNU : RSS channel to mail (project search) : .../r/rss2mail/rss2mail/phpwikichangestomail/rss2email.py
|
attachment_schemas = ["attachment", "inline", "drawing"]
punct_pattern = re.escape('''"'}]|:,.)?!''')
url_pattern = ('http|https|ftp|nntp|news|mailto|telnet|wiki|file|' +
string.join(attachment_schemas, '|') +
(config.url_schemas and '|' + string.join(config.url_schemas, '|') or ''))
Language: Python LOC: 698 SourceForge : Direct Rendering Infrastructure (project search) : .../dri/MoinMoin/parser/wiki.py
|
'application/msaccess': ('mdb',),
'application/msword': ('doc','dot'),
'application/news-message-id': (),
'application/news-transmission': (),
'application/octet-stream': ('bin',),
Language: Python License: GPL Copyright 2002-2003 Free Software Foundation LOC: 578 Savannah GNU : GNU Enterprise (project search) : .../gnue.old/common/src/utils/GMimeTypes.py
|
To handle instances where certain combinations will get expanded, but we
really don't want them to be, we use #swexclude::
#swexclude {news}
"""
# Originally written 2002 by Sebastian John
Language: Python License: GPL LOC: 401 SourceForge : Lyntin (project search) : .../lyntin/lyntin40/lyntin/modules/speedwalk.py
|
def default_nav_bar_entries(self):
return [
"""<a href="%s">%s</a> (<a href="./news.rss">RSS</a>)""" % (os.path.join(CURRENT_PAGE.deep, CURRENT_PAGE.lang, "index...
# """<a href="%s">%s</a>""" % (os.path.join(CURRENT_PAGE.deep, CURRENT_PAGE.lang, "projects.html"), _("Projects list")),
] + [
Language: Python License: GPL (C) 2002-2004 Jean-Baptiste LAMY -- jiba@tuxfamily LOC: 491 Gna! : OOMadness (project search) : .../o/oomadness/oomadness/oomadness/__init__.py
|
'application/msaccess': ('mdb',),
'application/msword': ('doc','dot'),
'application/news-message-id': (),
'application/news-transmission': (),
'application/octet-stream': ('bin',),
Language: Python License: GPL Copyright 2002-2003 Free Software Foundation LOC: 578 Savannah GNU : GNU Enterprise (project search) : .../gnue/gnue-common/src/utils/GMimeTypes.py
|
ldbesuperbad. What do you think?""")
_pass_fail("wrap_text 6 (long url like string with indent)",
wrap_text("[You said to notadragon17]: http://abcnews.go.com/sections/us/DailyNews/terrifica021105.html", 70, 5, 0),
"""[You said to notadragon17]:
http://abcnews.go.com/sections/us/DailyNews/terrifica021105.html
Language: Python License: GPL LOC: 142 SourceForge : Lyntin (project search) : .../lyntin/lyntin/lyntinng/errata/unittest.py
|
Language: Python LOC: 1 Tiks : Tiks (project search) : .../src/twisted/news/test/__init__.py
|
Language: Python LOC: 1 Spider_20090529_inc : IronicalNZB (project search) : .../lib/twisted/news/test/__init__.py
|
Language: Python LOC: 1 Spider_20090529_inc : IronicalNZB (project search) : .../lib/twisted/news/test/__init__.py
|
Language: Python LOC: 1 Spider_20090529_inc : VOKB Client (project search) : .../vokb/twisted/news/test/__init__.py
|
[
("oldnews.html", _ ("Older news")),
]
Language: Python LOC: 3 Savannah GNU : GNU LilyPond Music Typesetter (project search) : .../newweb/site/about/news/menu-entries.py
|
from django.db import models
class News(models.Model):
"""Gestionnaire des news"""
newsTitre = models.CharField('Titre', maxlength=255) #Titre de la news
Language: Python LOC: 15 Google : geckhosting - Web hosting management proje...ework (project search) : .../g/geckhosting/trunk/news/models.py
|
from django.http import HttpResponse
from django.template import Context, loader
from geckhosting.news.models import News
def NewsAffichage(request):
news = News.objects.all().filter(newsAffichage=1).order_by('-id')
Language: Python LOC: 10 Google : geckhosting - Web hosting management proje...ework (project search) : .../g/geckhosting/trunk/news/views.py
|
# See LICENSE for details.
from twisted.scripts.mktap import _tapHelper
TwistedNews = _tapHelper(
"Twisted News",
"twisted.news.tap",
Language: Python (c) 2001-2004 Twisted Matrix Laboratories. LOC: 6 Tiks : Tiks (project search) : .../Zope3/src/twisted/plugins/twisted_news.py
|
# See LICENSE for details.
from twisted.scripts.mktap import _tapHelper
TwistedNews = _tapHelper(
"Twisted News",
"twisted.news.tap",
Language: Python (c) 2001-2004 Twisted Matrix Laboratories. LOC: 6 Spider_20090529_inc : IronicalNZB (project search) : .../build/lib/twisted/plugins/twisted_news.py
|
# See LICENSE for details.
from twisted.scripts.mktap import _tapHelper
TwistedNews = _tapHelper(
"Twisted News",
"twisted.news.tap",
Language: Python (c) 2001-2004 Twisted Matrix Laboratories. LOC: 6 Spider_20090529_inc : IronicalNZB (project search) : .../ext/lib/twisted/plugins/twisted_news.py
|
# See LICENSE for details.
from twisted.scripts.mktap import _tapHelper
TwistedNews = _tapHelper(
"Twisted News",
"twisted.news.tap",
Language: Python (c) 2001-2004 Twisted Matrix Laboratories. LOC: 6 Spider_20090529_inc : VOKB Client (project search) : .../vokb-source-beta2.tar.bz2/vokb/twisted/plugins/twisted_news.py
|
from twisted.python import util
util.moduleMovedForSplit('twisted.protocols.nntp', 'twisted.news.nntp',
'NNTP protocol support', 'News',
'http://twistedmatrix.com/projects/news',
Language: Python LOC: 5 Tiks : Tiks (project search) : .../Zope3/src/twisted/protocols/nntp.py
|
# See LICENSE for details.
"""
Twisted News: an NNTP-based news service.
"""
from twisted.news._version import version
Language: Python (c) 2001-2004 Twisted Matrix Laboratories. LOC: 5 Tiks : Tiks (project search) : .../Zope3/src/twisted/news/__init__.py
|
# See LICENSE for details.
"""
Twisted News: an NNTP-based news service.
"""
from twisted.news._version import version
Language: Python (c) 2001-2004 Twisted Matrix Laboratories. LOC: 5 Spider_20090529_inc : IronicalNZB (project search) : .../build/lib/twisted/news/__init__.py
|
from twisted.python import util
util.moduleMovedForSplit('twisted.protocols.nntp', 'twisted.news.nntp',
'NNTP protocol support', 'News',
'http://twistedmatrix.com/projects/news',
Language: Python LOC: 5 Spider_20090529_inc : IronicalNZB (project search) : .../build/lib/twisted/protocols/nntp.py
|
# See LICENSE for details.
"""
Twisted News: an NNTP-based news service.
"""
from twisted.news._version import version
Language: Python (c) 2001-2004 Twisted Matrix Laboratories. LOC: 5 Spider_20090529_inc : IronicalNZB (project search) : .../ext/lib/twisted/news/__init__.py
|
from twisted.python import util
util.moduleMovedForSplit('twisted.protocols.nntp', 'twisted.news.nntp',
'NNTP protocol support', 'News',
'http://twistedmatrix.com/projects/news',
Language: Python LOC: 5 Spider_20090529_inc : IronicalNZB (project search) : .../ext/lib/twisted/protocols/nntp.py
|
1 2345678910...
|