[cpif] r391 - trunk/frontend-web
svn at argo.es
svn at argo.es
Mon Oct 15 18:31:03 CEST 2007
Author: jcea
Date: Mon Oct 15 18:31:02 2007
New Revision: 391
Log:
Added:
trunk/frontend-web/url_robots.txt.py
- copied, changed from r390, /trunk/frontend-web/url_sitemap.xml.py
Copied: trunk/frontend-web/url_robots.txt.py (from r390, /trunk/frontend-web/url_sitemap.xml.py)
==============================================================================
--- /trunk/frontend-web/url_sitemap.xml.py (original)
+++ trunk/frontend-web/url_robots.txt.py Mon Oct 15 18:31:02 2007
@@ -1,11 +1,12 @@
# $Id$
from globales import monitor
-
+from globales import base_url
@monitor
def gestiona_url(conn,handler,path,usuario) :
if len(path)!=1 : return None
- # Vemos que metatags puede ver el usuario anonimo
- metatags=conn.get_root()["usuarios"]["usuarios"][""]["punto de lectura no leidos"].keys() # Usuario anonimo
+ return (200,{"Content-Type":"test/plain"},
+ "Sitemap: %s/sitemap.xml" %base_url)
+
More information about the cpif
mailing list