Commits

abernier committed 470ab56

migrate to new url

  • Participants
  • Parent commits efeeb1f

Comments (0)

Files changed (4)

-application: in-beta
+application: adamchristopherbernier
 version: 1
 api_version: 1
 runtime: python
   static_files: static/robots.txt
   upload: static/robots.txt
 
+- url: /remote_api
+  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
+  login: admin
+
 - url: /test.*
   script: gaeunit.py
 
 SETTINGS = {
     'admin_name': 'Adam Bernier',
     'admin_email': 'adam.c.bernier@gmail.com',
-    'base_url': 'http://in-beta.appspot.com',
+    'base_url': 'http://adamchristopherbernier.appspot.com',
     'description': 'Yet another blog',
     'google_ajax_search': True,
     'google_analytics': False,
     'page_size': 5,
-    'site': 'in-beta.appspot.com',
+    'site': 'adamchristopherbernier.appspot.com',
 }

File templates/base.html

         var siteSearch = new google.search.WebSearch();
         siteSearch.setUserDefinedLabel("found...");
         siteSearch.setUserDefinedClassSuffix("siteSearch");
-        siteSearch.setSiteRestriction("in-beta.appspot.com");
+        siteSearch.setSiteRestriction("adamchristopherbernier.appspot.com");
         searchControl.addSearcher(siteSearch);
 
         // Tell the searcher to draw itself and tell it where to attach
             
         <br />
             
-        <p>
+        <div>
           <a class="no_u" href="http://code.google.com/appengine/"><img src="/static/img/appengine-silver-120x30.gif" alt="Powered by Google App Engine" /></a>
+        </div>
+        <div>
           <a class="no_u" href="http://validator.w3.org/check?uri=referer"><img src="/static/img/valid-xhtml10-blue.png" alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
+        </div>
+        <div>
           <a class="no_u" href="http://validator.w3.org/feed/check.cgi?url=http%3A//{{ settings.site }}/feed"><img src="/static/img/valid-atom.png" alt="Valid Atom 1.0" title="Validate my Atom 1.0 feed" /></a>
-        </p>
+        </div>
       </div>
     </div>
 
                         to=recipient,
                         subject="Comment on post '%s'." % blog_post.title,
                         body=body)
+        # after comment submission 
+        # redirect to comment section 
+        # of commented-on post (least-astonishment)
         self.redirect('/post/%d/blog_uri#comment' % blog_post.key().id())