Updated the flow chart: http://files.getdropbox.com/u/1127092/IntelligentAdvertisingMediaManager.png
Also Glue API may have a way for us to find meta data within text as well:

http://getglue.com/api

development forum

http://groups.google.com/group/glue-development?pli=1

a lib to use glue (either Ruby or php)
php: http://github.com/jdp/gluestick/tree/php
Ruby: http://github.com/jdp/gluestick/tree/master

Interesting article on processing time with various languages (Eli)

http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/

We may want to use a different language for doing any processing (java/scala/c++)