# Created by Leo from: C:\Python22\Tom\RockinBEditor.leo # << rb_site_editor declarations >> from wxPython.wx import * from wxPython.html import * import wxPython.lib.wxpTag import time from string import * import metakit from ftplib import FTP import sys import urllib2 import os RB_database = metakit.storage("rbranch.mk",1) RB_view_news = RB_database.getas("news[story:S]") RB_view_news_links = RB_database.getas("news_links[links:S]") RB_view_events = RB_database.getas("events[story:S") RB_view_events_links = RB_database.getas("events_links[links:S]") RB_view_nature = RB_database.getas("nature[story:S") RB_view_nature_links = RB_database.getas("nature_links[links:S]") RB_view_business = RB_database.getas("business[story:S") RB_view_business_links = RB_database.getas("business_links[links:S]") RB_view_gov = RB_database.getas("gov[story:S") RB_view_gov_links = RB_database.getas("gov_links[links:S]") RB_view_strange = RB_database.getas("strange[story:S") RB_view_strange_links = RB_database.getas("strange_links[links:S]") RB_view_main = RB_database.getas("main[story:S") RB_view_main_links = RB_database.getas("main_links[links:S]") RB_view_news_top = RB_database.getas("news_top[text:S]") RB_view_events_top = RB_database.getas("events_top[text:S]") RB_view_nature_top = RB_database.getas("nature_top[text:S]") RB_view_business_top = RB_database.getas("business_top[text:S]") RB_view_gov_top = RB_database.getas("gov_top[text:S]") RB_view_strange_top = RB_database.getas("strange_top[text:S]") RB_view_main_top = RB_database.getas("main_top[text:S]") RB_view_mid = RB_database.getas("page_mid[text:S]") RB_view_bot = RB_database.getas("page_bot[text:S]") Clip_board_data = wxClipboard() wxInitAllImageHandlers() save_flag = 0 end_Template = """
| | Home | The News | Events | Nature | Business | Government | Strangness | Contact Us | |