예제 #1
0
파일: util.py 프로젝트: a37912/gaeaib
def save_post_defer(boards, thread, html, text_html, postid, count, sage):

  index_regen(Thread.gen_key(thread, boards[0]))

  rss.add(boards[0], thread, postid, text_html)

  if not sage:
    bump(boards, thread)
예제 #2
0
파일: populate.py 프로젝트: martinxyz/sai
def populate(saidb):
    import rss
    rss.add(saidb, u'Symlïnk', 'http://www.symlink.ch/symlinkch.rss')
    rss.add(saidb, 'Linux Community', 'http://community.linux.com/community.rss')
    rss.add(saidb, 'Coding Horror', 'http://feeds.feedburner.com/codinghorror')
    rss.add(saidb, 'Freshmeat', 'http://rss.freshmeat.net/freshmeat/feeds/fm-releases-global')
    rss.add(saidb, 'cpp source', 'http://www.artima.com/cppsource/feeds/cppsource.rss')
    rss.add(saidb, 'cpp guide', 'http://www.informit.com/guides/guide_rss.asp?g=cplusplus')
    rss.add(saidb, 'thinking parallel', 'http://www.thinkingparallel.com/feed/')
    rss.add(saidb, 'create freedesktop', 'http://create.freedesktop.org/rss20.xml')
    rss.add(saidb, 'slashdot developers', 'http://rss.slashdot.org/Slashdot/slashdotDevelopers')
    rss.add(saidb, 'Axel Beckert', 'http://noone.org/blog/index.rss')
    rss.add(saidb, 'pfh', 'http://www.logarithmic.net/pfh?action=atom;hasname=1;name=gcgmgpgh')
    rss.add(saidb, 'No, I am better than that!', 'http://rickosborne.org/blog/index.php/feed/')
    rss.add(saidb, 'deepdarc', 'http://www.deepdarc.com/feed/atom')
    rss.add(saidb, 'ilanas', 'http://ilanas.blogspot.com/feeds/posts/default')
    rss.add(saidb, 'machine learning', 'http://yaroslavvb.blogspot.com/feeds/posts/default')

    rss.add(saidb, 'jpakaste', 'http://www.juripakaste.fi/blog/index.rss')
    rss.add(saidb, 'English  writer and journalist', 'http://www.thewormbook.com/helmintholog/index.xml')
    rss.add(saidb, u'Raphaël Slinckx' 'raphael', 'http://raphael.slinckx.net/blog/feed')
    rss.add(saidb, 'porges', 'http://porg.es/blog/feed')
    rss.add(saidb, 'svenfoo', 'http://svenfoo.geekheim.de/index.php/feed/')
    rss.add(saidb, 'edhel', 'http://edhel.nerim.net/blog/index.php?/feeds/index.rss2')
    rss.add(saidb, 'fading memories', 'http://www.valdyas.org/fading/index.cgi/index.rss')
    rss.add(saidb, 'Machine Learning News-Ticker', 'http://cervisia.org/rss_feed.pl/machine_learning_news.rss')
    rss.add(saidb, 'popolon', 'http://popolon.org/gblog2/feed')
    rss.add(saidb, 'eska', 'http://eska-art.de/blog/?feed=rss2')
    rss.add(saidb, 'Startup', 'http://feeds.feedburner.com/Thebeginner')
    rss.add(saidb, 'pyd', 'http://kirkmcdonald.blogspot.com/feeds/posts/default')

    rss.add(saidb, 'Doug Miller', 'http://deosil.com/doug/rss.xml')
    rss.add(saidb, 'Scribus Rants', 'http://rants.scribus.net/feed/')
    rss.add(saidb, 'AK', 'http://synflood.at/blog/index.php?/feeds/index.rss2')
    rss.add(saidb, 'theinfo process newsgroup', 'http://groups.google.com/group/process-theinfo/feed/rss_v2_0_msgs.xml')
    rss.add(saidb, 'theinfo view newsgroup', 'http://groups.google.com/group/view-theinfo/feed/rss_v2_0_msgs.xml')
    rss.add(saidb, 'theinfo get newsgroup', 'http://groups.google.com/group/get-theinfo/feed/rss_v2_0_msgs.xml')

    rss.add(saidb, 'debian package of the day', 'http://debaday.debian.net/feed/')
    rss.add(saidb, 'gnuvision paramode', 'http://pramode.net/feed/')
    rss.add(saidb, 'ericbutler', 'http://www.ericbutler.net/blog/feed/')
    rss.add(saidb, 'google jam', 'http://groups.google.com/group/open-source-jam-zurich/feed/rss_v2_0_msgs.xml')
    rss.add(saidb, 'autonomo.us', 'http://autonomo.us/feed/')
    rss.add(saidb, 'Calle', 'http://www.luolamies.org/blog/atom.xml')
    rss.add(saidb, 'Nathive', 'http://www.nathive.org/rss/')
    rss.add(saidb, 'Lets talk about', 'http://feeds.feedburner.com/b-list-entries')
    rss.add(saidb, 'Gnome Files', 'http://www.gnomefiles.org/gnomefiles.xml')
    rss.add(saidb, 'localhost3000', 'http://localhost3000.de/feed/')
    """