diff --git a/LibraryBox-landingpage/python_lib/psogen.py b/LibraryBox-landingpage/python_lib/psogen.py deleted file mode 100755 index 70911f5..0000000 --- a/LibraryBox-landingpage/python_lib/psogen.py +++ /dev/null @@ -1,137 +0,0 @@ -#!/usr/bin/python - -# Modificated ShoutBox Library -# enables further modifications for the ShoutBox -# Run without to generate htmlfile -# Run the following to enter a new line from command line -# psogen.py input Anonymous default "Text" - -import os, datetime, re - -import messages, broadcast - -datafilename = os.environ["SHOUTBOX_CHATFILE"] -htmlfilename = os.environ["SHOUTBOX_GEN_HTMLFILE"] - -try: - raw_dest = os.environ["SHOUTBOX_BROADCAST_DESTINATIONS"] - finished_dest = re.sub ( '#' , '"' , raw_dest ) - broadcast_destination = eval ( finished_dest ) -except KeyError: - broadcast_destination = False - - -#-------------- -# Generates Shoutbox-HTML-Frame ... -# Imports: -# content - String containing preformatted data -#-------------- -def generate_html(content): - htmlstring = "