http://www.google.com/search?hl=en&q=pylons+display+message+if+exists&btnG=Search
pylons display message if exists - Google Search
http://wiki.pylonshq.com/display/pylonscookbook/Authentication+and+Authorization
Authentication and Authorization - Pylons Cookbook - PythonWeb
http://pylonsbook.com/alpha1/simplesite_tutorial
Simplesite tutorial Chapter (Pylons Book)
http://pylonshq.com/project/pylonshq/ticket/405
#405 ([Patch] Split up @validate) – Pylons – Trac
http://pylonsbook.com/alpha1/toc
Toc Chapter (Pylons Book)
http://pylonsbook.com/alpha1/javascript_and_ajax
Javascript and ajax Chapter (Pylons Book)
http://pylonsbook.com/alpha1/getting_started
Getting started Chapter (Pylons Book)
http://pylonsbook.com/alpha1/urls_routing_and_dispatch
Urls routing and dispatch Chapter (Pylons Book)


#http://docutils.sourceforge.net/docutils/examples.py
def html_parts(input_string, source_path=None, destination_path=None,
input_encoding='unicode', doctitle=1, initial_header_level=1):
"""
Given an input string, returns a dictionary of HTML document parts.

Dictionary keys are the names of parts, and values are Unicode strings;
encoding is up to the client.

Parameters:

- `input_string`: A multi-line text string; required.
- `source_path`: Path to the source file or object. Optional, but useful
for diagnostic output (system messages).
- `destination_path`: Path to the file or object which will receive the
output; optional. Used for determining relative paths (stylesheets,
source links, etc.).
- `input_encoding`: The encoding of `input_string`. If it is an encoded
8-bit string, provide the correct encoding. If it is a Unicode string,
use "unicode", the default.
- `doctitle`: Disable the promotion of a lone top-level section title to
document title (and subsequent section title to document subtitle
promotion); enabled by default.
- `initial_header_level`: The initial level for header elements (e.g. 1
for "

").
"""
overrides = {'input_encoding': input_encoding,
'doctitle_xform': doctitle,
'initial_header_level': initial_header_level}
parts = core.publish_parts(
source=input_string, source_path=source_path,
destination_path=destination_path,
writer_name='html', settings_overrides=overrides)
return parts

def html_body(input_string, source_path=None, destination_path=None,
input_encoding='unicode', output_encoding='unicode',
doctitle=1, initial_header_level=1):
"""
Given an input string, returns an HTML fragment as a string.

The return value is the contents of the element.

Parameters (see `html_parts()` for the remainder):

- `output_encoding`: The desired encoding of the output. If a Unicode
string is desired, use the default value of "unicode" .
"""
parts = html_parts(
input_string=input_string, source_path=source_path,
destination_path=destination_path,
input_encoding=input_encoding, doctitle=doctitle,
initial_header_level=initial_header_level)
fragment = parts['html_body']
if output_encoding != 'unicode':
fragment = fragment.encode(output_encoding)
return fragment

def text2html(content):
"""
not sure if there is a way to do this with docutils, but just want
to have html line breaks where there are new lines (\n ->
\n)
"""
#http://docutils.sourceforge.net/docs/user/rst/quickref.html
new = ''
for line in content.split('\n'):

#\s matches whitespace
#\S matches alphanumeric
#
#if it has characters, make it a 'line block'
#http://docutils.sourceforge.net/docs/user/rst/quickref.html
if re.search('\S', line):
new += "| " + line + '\n'
html = html_body(new)
return literal(html)


http://www.google.com/search?hl=en&q=python+decorators&btnG=Google+Search
python decorators - Google Search
http://www.python.org/dev/peps/pep-0318/
PEP 318 -- Decorators for Functions and Methods
http://wiki.python.org/moin/PythonDecorators
PythonDecorators - PythonInfo Wiki
http://www.ddj.com/web-development/184406073;jsessionid=T0LBX1HCCKTOKQSNDLRSKHSCJUNN2JVN?_requestid=387485
Dr. Dobb's | Python 2.4 Decorators | May 1, 2005
http://www.ibm.com/developerworks/linux/library/l-cpdecor.html
Charming Python: Decorators make magic easy

http://www.google.com/search?hl=en&q=paster+server+apache&btnG=Search
paster server apache - Google Search
http://pythonpaste.org/script/
Paste Script — Paste Script v1.6.3 documentation
http://pylonsbook.com/alpha1/deployment
Deployment Chapter (Pylons Book)


http://www.google.com/search?hl=en&q=Instance+is+not+persisted+sqlalchemy&btnG=Search
Instance is not persisted sqlalchemy - Google Search
http://www.sqlalchemy.org/docs/04/sqlalchemy_orm_session.html
SQLAlchemy 0.4 Documentation - module sqlalchemy.orm.session
http://www.google.com/search?q=sqlite+show+tables&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:official&client=firefox-a
sqlite show tables - Google Search
http://www.sqlite.org/sqlite.html
sqlite3: A command-line access program for SQLite databases


http://www.google.com/search?hl=en&q=Instance+is+not+persisted+sqlalchemy&btnG=Search
Instance is not persisted sqlalchemy - Google Search
http://www.sqlalchemy.org/docs/04/sqlalchemy_orm_session.html
SQLAlchemy 0.4 Documentation - module sqlalchemy.orm.session
http://www.google.com/search?q=sqlite+show+tables&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:official&client=firefox-a
sqlite show tables - Google Search
http://www.sqlite.org/sqlite.html
sqlite3: A command-line access program for SQLite databases

paster serve --stop-daemon

http://pylonsbook.com/alpha1/deployment
paster make-config "SimpleSite==0.3.0" production.ini
paster make-config "ffm" production.ini

this picks up where installation leaves off

overlap is in starting server:

paster serve --reload development.ini

figure out how to run server as a daemon
pass --deamon to paster serve:
paster serve --daemon --reload development.ini
paster serve --daemon --reload production.ini

http://docs.python.org/lib/module-pdb.html

import pdb; pdb.set_trace()

in pylons
import nose; nose.tools.set_trace()
or
nosetests --nocapture --with-pylons=test.ini
from comments in: http://wiki.pylonshq.com/display/pylonsdocs/Unit+Testing
or
python setup.py nosetests

http://www.google.com/search?hl=en&q=restructuredtext+add+line+breaks&btnG=Search
restructuredtext add line breaks - Google Search
http://pypi.python.org/pypi?%3Aaction=search&term=templates
Python Package Index : Index of Packages Matching 'templates'
http://pypi.python.org/pypi/rest2web/0.5.0%20Final
Python Package Index : rest2web 0.5.0 Final
http://docutils.sourceforge.net/README.html#quick-start
README: Docutils
http://docutils.sourceforge.net/docs/user/tools.html#the-tools
Docutils Front-End Tools
http://docutils.sourceforge.net/docs/user/tools.html#rst2html-py
Docutils Front-End Tools
http://docutils.sourceforge.net/docs/api/publisher.html
The Docutils Publisher
http://docutils.sourceforge.net/docutils/examples.py
http://docutils.sourceforge.net/docutils/examples.py
http://docutils.sourceforge.net/docs/api/publisher.html#publish-parts-details
The Docutils Publisher
http://docutils.sourceforge.net/docs/user/tools.html#configuration-file
Docutils Front-End Tools
http://docutils.sourceforge.net/docs/howto/html-stylesheets.html
Writing HTML (CSS) Stylesheets for Docutils
http://docutils.sourceforge.net/FAQ.html
Docutils FAQ (Frequently Asked Questions)
http://docutils.sourceforge.net/FAQ.html#are-there-any-weblog-blog-projects-that-use-restructuredtext-syntax
Docutils FAQ (Frequently Asked Questions)
http://docutils.sourceforge.net/FAQ.html#how-can-i-make-a-literal-block-with-some-formatting
Docutils FAQ (Frequently Asked Questions)
http://docutils.sourceforge.net/docs/user/rst/quickref.html
Quick reStructuredText
http://www.google.com/search?q=python+regular+expressions&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:official&client=firefox-a
python regular expressions - Google Search
http://docs.python.org/lib/module-re.html
4.2 re -- Regular expression operations
http://www.amk.ca/python/howto/regex/
Regular Expression HOWTO

adding in helpers to memory/web/browser/lib/helper.py

http://www.google.com/search?hl=en&q=python+blog+software&btnG=Search
python blog software - Google Search
http://wiki.python.org/moin/PythonBlogSoftware
PythonBlogSoftware - PythonInfo Wiki
http://mail.python.org/pipermail/python-list/2006-September/402843.html
Python blogging software
http://www.baltimoresquirrels.com/
Baltimore Squirrels
http://byteflow.su/
Byteflow Blog Engine - Trac
http://wordpress.org/
WordPress › Blog Tool and Weblog Platform
http://code.google.com/p/blogmaker/
blogmaker - Google Code
http://sajjadzaidi.com/pylogger/
Pylogger - Python Blogging Software
http://snakelets.sourceforge.net/frog/
Frog - Python web logging software
http://midtoad.homelinux.org/wp/?p=117
midtoad’s mess.ages » Python programmers don’t (all) blog with python
http://groups.google.com/group/pythonireland/browse_thread/thread/fe7259029de71a8b
Python powered blogging software - Python Ireland | Google Groups
http://www.voidspace.org.uk/python/firedrop2/
Firedrop2 the Python Blog Client
http://www.voidspace.org.uk/python/rest2web/
rest2web - The Site Builder
http://pyblosxom.sourceforge.net/static/development.html
PyBlosxom - main site

http://www.google.com/search?hl=en&q=pylons+virtualenv&btnG=Search
pylons virtualenv - Google Search
http://pypi.python.org/pypi/virtualenv
Python Package Index : virtualenv 1.1
http://wiki.pylonshq.com/display/pylonscookbook/Using+a+Virtualenv+Sandbox
Using a Virtualenv Sandbox - Pylons Cookbook - PythonWeb
http://www.google.com/search?hl=en&client=firefox-a&rls=com.ubuntu:en-US:official&hs=g5X&q=pylons+controller&start=20&sa=N
pylons controller - Google Search
http://bel-epa.com/pylonsdocs/index.html
Welcome to Pylons’ documentation! — Pylons v0.9.7 documentation
http://bel-epa.com/notes/Pylons/
Pylons
http://bel-epa.com/
Bel-EPA :: Welcome




http://pylonshq.com/search_docs.html#mako
Pylons Python Web Framework
http://pylonshq.com/docs/module-index.html
Pylons Python Web Framework - Docs
http://wiki.pylonshq.com/display/pylonsdocs/Home
Home - Pylons Official Docs - PythonWeb
http://wiki.pylonshq.com/display/pylonscookbook/Mako+for+people+in+a+hurry
Mako for people in a hurry - Pylons Cookbook - PythonWeb
http://www.makotemplates.org/docs/
Mako Templates for Python
http://www.makotemplates.org/
welcome to Mako!
http://www.makotemplates.org/docs/syntax.html#syntax_tags_include
Mako Documentation - Syntax
http://wiki.pylonshq.com/display/pylonsdocs/Form+Handling
Form Handling - Pylons Official Docs - PythonWeb
http://pylonshq.com/WebHelpers/module-index.html
WebHelpers -- Module Reference
http://formencode.org/module-index.html
FormEncode -- Module Reference
http://www.mnot.net/javascript/hinclude/
Introducing HInclude


http://www.google.com/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=turbogears+CMS&spell=1
turbogears CMS - Google Search
http://blog.case.edu/bmb12/2007/12/blogbrianbeckcom_rta_schedule_20
blog.brianbeck.com, RTA Schedule 2.0 - brian's blog
http://exogen.case.edu/clepy_pagoda/
Pagoda CMS: Using Python to build a CMS that doesn't suck.
http://www.google.com/search?hl=en&safe=off&client=firefox-a&rls=com.ubuntu%3Aen-US%3Aofficial&hs=FnQ&q=pagoda+cms&btnG=Search
pagoda cms - Google Search
http://pagodacms.com/
Pagoda: A first-class plugin-based content management system
http://trac.pagodacms.org/browser/pagoda/trunk/Pagoda/pagoda/plugins
/pagoda/trunk/Pagoda/pagoda/plugins - PagodaCMS - Trac
http://blog.brianbeck.com/
Brian Beck's Text Adventure
http://techspot.zzzeek.org/
techspot.zzzeek.org
http://blog.reddit.com/2008/06/reddit-goes-open-source.html
blog.reddit -- what's new on reddit: reddit goes open source

http://www.google.com/search?hl=en&q=pylons+sqlalchemy&btnG=Google+Search
pylons sqlalchemy - Google Search
http://wiki.pylonshq.com/display/pylonsdocs/Home
Home - Pylons Official Docs - PythonWeb
http://wiki.pylonshq.com/display/pylonscookbook/Home
Home - Pylons Cookbook - PythonWeb
http://wiki.pylonshq.com/display/pylonscookbook/Making+a+Pylons+Blog
Making a Pylons Blog - Pylons Cookbook - PythonWeb
http://wiki.pylonshq.com/display/pylonscookbook/Accessing+your+model+outside+of+Pylons
Accessing your model outside of Pylons - Pylons Cookbook - PythonWeb
http://wiki.pylonshq.com/display/pylonsdocs/Using+SQLAlchemy+with+Pylons
Using SQLAlchemy with Pylons - Pylons Official Docs - PythonWeb
http://wiki.pylonshq.com/pages/viewpage.action?pageId=11174779
What's new in Pylons 0.9.7? - Pylons Cookbook - PythonWeb

http://www.timfanelli.com/item/107
Creating a Tag Cloud in pyBlosxom
http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=Jmb&q=pyblosxom&btnG=Search
pyblosxom - Google Search
http://www.blosxonomy.com/main/
blosxonomy It's a Zen thing...
http://www.blosxom.com/
blosxom :: the zen of blogging ::
http://pyblosxom.sourceforge.net/
PyBlosxom - main site

http://www.google.com/search?hl=en&client=firefox-a&channel=s&rls=org.mozilla%3Aen-US%3Aofficial&hs=69I&q=paster+restcontroller&btnG=Search
paster restcontroller - Google Search
http://goldenspud.com/rotr/index.php/2007/01/03/pylons-controller-template-for-rest/
ROTR » Blog Archive » Pylons controller template for REST
http://en.wikipedia.org/wiki/RESTafarian
Representational State Transfer - Wikipedia, the free encyclopedia
http://wiki.pylonshq.com/display/pylonscookbook/How+map.resource+enables+controllers+as+services
How map.resource enables controllers as services - Pylons Cookbook - PythonWeb
http://bel-epa.com/pylonsdocs/modules/commands.html
pylons.commands – Command line functions — Pylons v0.9.7 documentation

restructured text is part of the docutils library

in that library, there are scripts to do conversions in examples:

http://docutils.sourceforge.net/README.html#quick-start

#2008.07.06 11:43:02 ubuntu@ubuntu:~
sudo easy_install docutils

edit:
/usr/bin/rst2html.py
# EASY-INSTALL-SCRIPT: 'docutils==0.4','rst2html.py'
__requires__ = 'docutils==0.4'
import pkg_resources
pkg_resources.run_script('docutils==0.4', 'rst2html.py')


/usr/lib/python2.5/site-packages/
cd /usr/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/docutils/

from docutils.core import publish_cmdline, default_description


description = ('Generates HTML from standalone reStructuredText '
'sources (for testing purposes). ' + default_description)

publish_cmdline(writer_name='html', description=description)

vi core.py

http://docutils.sf.net/docs/api/publisher.html

http://www.google.com/search?hl=en&q=python+aggregator&btnG=Search
python aggregator - Google Search
http://en.wikipedia.org/wiki/Blogroll#B
List of blogging terms - Wikipedia, the free encyclopedia
http://en.wikipedia.org/wiki/RSS_aggregator
Aggregator - Wikipedia, the free encyclopedia
http://www.python.org/~jeremy/weblog/040122.html
Simple Python Aggregator
http://spycyroll.sourceforge.net/
SpycyRoll
http://rvr.typepad.com/wind/2005/01/planet_express_.html
Blogging in the wind: Planet Express 0.1
http://www.planetplanet.org/
Planet Feed Reader
http://www.google.com/search?hl=en&client=firefox-a&rls=com.ubuntu%3Aen-US%3Aofficial&hs=3Jj&q=OPML+Parser+python&btnG=Search
OPML Parser python - Google Search
http://blog.davidjanes.com/:entry:davidjanes-2004-10-07-0001/
[Python / OPML] Jaeger's OPML Parser « Ranting and Roaring
http://www.onaswarm.com/
Onaswarm
http://pypi.python.org/pypi/opml/0.5
Python Package Index : opml 0.5
http://opml.org/
http://opml.org/
http://www.fieldguidetoprogrammers.com/blog/python/opml-to-html-parsing-a-list-of-feeds/
OPML to HTML: Parsing a list of feeds | Field Guide to Programmers

http://www.google.com/search?hl=en&q=turbogears+based+blog&btnG=Search
turbogears based blog - Google Search
http://wiki.pylonshq.com/display/pylonsprojects/Blog,+CMS,+and+Wiki+software
Blog, CMS, and Wiki software - Pylons Projects - PythonWeb
http://wiki.pylonshq.com/dosearchsite.action?startIndex=10
Site Search - PythonWeb
http://wiki.pylonshq.com/display/pylonscookbook/Making+a+Pylons+Blog
Making a Pylons Blog - Pylons Cookbook - PythonWeb
http://wiki.pylonshq.com/display/pylonscookbook/Concepts+of+Pylons
Concepts of Pylons - Pylons Cookbook - PythonWeb
http://awkly.org/2006/05/19/blogging-with-djangoturbogears/
Blogging with Django/Turbogears? « dreamcatching
http://snakelets.sourceforge.net/frog/
Frog - Python web logging software
http://awkly.org/about/
About « dreamcatching