# BiaWeb Website content manager (c) 2010 V.Harishankar # Strings class template_main = """ ${site_title}
${contents_bit}
""" template_article_bit = """

${article_title}

Created: ${article_cdate} | Last modified: ${article_mdate}
Rating: ${rating}
${article_contents}
""" template_news_item_bit = """

${news_title}

${news_datetime}
${news_description}
""" template_index_bit = """

Welcome to ${site_name}

Welcome to my site, ${site_name}.

Latest Articles

${news_updates} """ template_table_bit = """

${category_title}

${category_desc}

${table_rows}
Title Created on Rated
""" template_tablerow_bit = """ ${title} ${created} ${rating} """ template_style = """body { font-family: "Bitstream Vera Sans", Verdana, Arial, Sans Serif; font-size: 0.9em; background-color: #ffffff; color: #000000; margin: auto } #head { width: 98%; background-color: #efefef; padding: 1%; text-align: center; } #main { width: 73%; padding: 1%; float: left; } #sidebar { width: 23%; padding: 1%; float: right; } #footer { width: 100%; padding-top: 5px; padding-bottom: 5px; font-size: 0.9em; text-align: center; float: left; background-color: #efefef; } .headerdesc { font-variant: small-caps; font-size: 1.1em; } .content { text-align: justify; line-height: 1.1em; } .categorytable { width: 100%; } .categorytable thead { font-weight: bold; } .modified { font-size: 0.8em; color: #666666; } .rating { font-size: 0.8em; color: #666666; } h1, h2, h3 { font-family: "Bitstream Vera Serif", Serif; padding: 0; margin: 0; margin-top: 5px; margin-bottom: 5px; } hr { border: 0; border-bottom: 1px solid; border-color: #888888; } h1 { font-size: 2.4em; color: #000099; } h1 a, h1 a:hover, h1 a:visited, h2 a:active { text-decoration: none; } h2 { font-size: 1.4em; background-color: #efefef; } h2 a, h2 a:hover, h2 a:visited, h2 a:active { text-decoration: none; } h3 { font-size: 1.2em; a { color: #0000dd; } a:visited { color: #0000aa; } a:active, a:hover { color: #0000ff; }""" template_rss = """ ${title} ${link} ${description} BiaWeb ${rss_items} """ template_rss_item = """ ${item_title} ${item_link} ${description} ${item_link} """ stopwords = """$ 0 1 2 3 4 5 6 7 8 9 a able about after again all almost already also although am an and another any are are around as at b based be because been before being between both bring but by c came can com come comes could d did do does doing done e each eight else etc even every f five for four from g get gets getting go going got h had has have he he her here him himself his how however href http i if in including into is it it its j just k kb know l like looks m mailto make making many may mb me means might more more most move mr much must my n need needs never nice nine no not now o of often oh ok on on one only or org other our out over own p piece q r rather re really s said same say says see seven several she should since single six so so some something still stuff such t take ten than that the their them them then there there these they they thing things this those three through to too took two u under up us use used using usual v ve very via w want was way we we well were what when where whether which while whilst who why will with within would x y yes yet you your z""".split ("\n")