Åͺ¸ ÇǵåÇǵå 󸮸¦À§ÇÑ Åͺ¸°¡±× ¾î ÄÁÆ®·Ñ·¯ ¹× À§Á¬ | |
Áö±Ý ´Ù¿î·Îµå |
Åͺ¸ ÇÇµå ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- MIT/X Consortium Lic...
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- Christopher Arndt
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://chrisarndt.de/project/spammcan/
Åͺ¸ Çǵå ű×
Åͺ¸ ÇÇµå ¼³¸í
Turbogears Çǵå 󸮸¦À§ÇÑ ÄÁÆ®·Ñ·¯ ¹× À§Á¬ Turbofeeds´Â RSS ¹× Atom Çǵ带 »ý¼ºÇÏ°í ÀÏÄ¡ÇÏ´Â µð½ºÇ÷¹ÀÌ À§Á¬À» »ý¼ºÇÏ´Â Áö¿øÀ» Á¦°øÇÏ´Â Turbogears È®ÀåÀÔ´Ï´Ù. ÀÌÀü¿¡´Â ÁÖ¿ä Åͺ¸ °Ù ¹èÆ÷ÆÇÀÇ °ø±Þ ÇÏÀ§ ÆÐÅ°Áö°¡ ÀÌÀüµÇ¾ú½À´Ï´Ù. TG Äھ¼ Projects.Turbofeeds¸¦ ¸ðµÎ ¾÷µ¥ÀÌÆ®, Çâ»ó ¹× À¯Áö °ü¸®Çϱâ À§ÇØ ÃßÃâÇÏ¿© Turbogears.Feed ÆÐÅ°Áö¿Í ´ëºÎºÐ µÚ·Î ȣȯµÇÁö¸¸ Genshi ÅÛÇø´À» Áö¿øÇÏ´Â ¸î °¡Áö ¼öÁ¤ »çÇ×°ú ¸î °¡Áö »õ·Î¿î ±â´ÉÀÌ ÀÖ½À´Ï´Ù. Turbogears 1.0°ú 1.1 Branch.Installation°ú ÇÔ²² ÀÛµ¿ÇÕ´Ï´Ù. Cheeseshop¿¡¼ Turbofeeds¸¦ ¼³Ä¡ÇÏ·Á¸é Easy_install : Easy_install TurbofeedSthis¸¦ ¼³Ä¡ÇÏ·Á¸é SetupTools ÆÐÅ°Áö¸¦ ¼³Ä¡ÇؾßÇÕ´Ï´Ù. ¾ÆÁ÷ ¼öÇàÇÏÁö ¾Ê¾Ò´Ù¸é ez_setup.py ½ºÅ©¸³Æ®¸¦ ´Ù¿î·ÎµåÇÏ¿© SetupToolÀ» ¼³Ä¡Çϵµ·Ï ½ÇÇàÇϽʽÿÀ. ÃֽŠ°³¹ß ¹öÀüÀ» °¡Á® ¿À·Á¸é Subversion ÀúÀå¼Ò¿¡¼ Æ®··Å©¸¦ È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù : SVN Co http : // svn .Turbogears.org / ÇÁ·ÎÁ§Æ® / Åͺ¸ Çǵå / Æ®··Å© TurbofofeedsFor ¹ö±× º¸°í¼ ¹× ±â´É ¿äû, http://trac.turbogears.org/.org/.¿¡¼ Turbogears Trac¿¡ °¡¼ Trac °èÁ¤ÀÌ ÇÊ¿äÇÕ´Ï´Ù. ƼÄÏ ±¸¼º ¿ä¼Ò·Î "turbofofeeds"¸¦ ¼±ÅÃÇϽʽÿÀ. Á¶´ÞÀÚ : Åͺ¸ ±â¾î °¡Á® ¿À±â ÄÁÆ®·Ñ·¯¿¡¼, ³ëÃâ Åͺ¸ ÇÇµå °¡Á® ¿À±â feedController, feedheadlinks, feedlinksclass myfeedcontroller (feedcontroller) : def get_feed_data (self, ** kwargs) : Ç׸ñ = [] # ä¿ì±â`` Ç׸ñÀÇ Àû¾îµµ Ç׸ñÀ» Æ÷ÇÔÇÏ´Â dicts·Î # # Á¦¸ñ, ¸µÅ©, ¿ä¾à ¹× °Ô½Ã # #``` 'Àº ºí·Î±× ¹®¼¸¦ ³ªÅ¸³»´Â µ¥ÀÌÅͺ£À̽º ¿ÀºêÁ§Æ® # : extries.append (dict (title = entry) .title, ÀÛ¼ºÀÚ = Dict (name = entry.author.display_name, ement.author.display_name, email = entry.author.email_address), summary = entry.post , published = entry.published, updated = entry.updated ¶Ç´Â entry.published, ¸µÅ© = 'http://blog.foo.org/article/%s'% entry.id)) Return Dict (entries = Ç׸ñ) Ŭ·¡½º ·çÆ® (Controllers.RootController) : feed = myFeedController (base_url = '/ feed', Á¦¸ñ = "³» ±¦ Âú ºí·Î±×", ¸µÅ© = "http://blog.foo.org", ÀÛ¼ºÀÚ = dict (name = "john doe", email = "john@foo.org"), id = "http : / /blog.foo.org ", subtitle ="ºí·Î±× A. Bout Turbogears ") FeedLheadinks = FeedHeadLinks (Controller = Çǵå) FeedLinks = FeedLinks (Controller = Feed, title ="¸µÅ©¸¦ Ŭ¸¯Çϸé Çǵ带 Ŭ¸¯ÇÏ¿© % (À¯Çü) s Çü½Ä ") @expose ( '. ÅÛÇø´.) @expose ('. ÅÛÇø´) def myPage (Self) : return dict (feedheadheadlinks = self.feedheadlinks, feedlinks = self.feedlinks) ÅÛÇø´ :
$ {feadheadlinks ()} ...ÇÇµå ¸µÅ© $ {feedLinks ( '% (À¯Çü) s Çǵå', url_params = dict (format = 'full')) ...
¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽㠡¤ TurbogearsÅͺ¸ ÇÇµå °ü·Ã ¼ÒÇÁÆ®¿þ¾î