summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extras/appengine/app.yaml4
-rw-r--r--extras/appengine/static/sitemap.xml25
-rw-r--r--extras/appengine/templates/about.html2
-rw-r--r--extras/appengine/templates/api.html2
-rw-r--r--extras/appengine/templates/master.html5
-rw-r--r--extras/appengine/templates/source.html2
6 files changed, 36 insertions, 4 deletions
diff --git a/extras/appengine/app.yaml b/extras/appengine/app.yaml
index 4c28413..ce586eb 100644
--- a/extras/appengine/app.yaml
+++ b/extras/appengine/app.yaml
@@ -7,9 +7,9 @@ default_expiration: 7d # This is good for images, which never change
handlers:
-- url: /(robots.txt|favicon.ico)
+- url: /(robots.txt|favicon.ico|sitemap.xml)
static_files: static/\1
- upload: static/(robots.txt|favicon.ico)
+ upload: static/(robots.txt|favicon.ico|sitemap.xml)
- url: /google7a062e78b56854c0.html
static_files: static/robots.txt
diff --git a/extras/appengine/static/sitemap.xml b/extras/appengine/static/sitemap.xml
new file mode 100644
index 0000000..db3288e
--- /dev/null
+++ b/extras/appengine/static/sitemap.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset
+ xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
+ http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
+<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
+
+<url>
+ <loc>http://sqlformat.appspot.com/</loc>
+ <changefreq>monthly</changefreq>
+</url>
+<url>
+ <loc>http://sqlformat.appspot.com/about/</loc>
+ <changefreq>monthly</changefreq>
+</url>
+<url>
+ <loc>http://sqlformat.appspot.com/source/</loc>
+ <changefreq>monthly</changefreq>
+</url>
+<url>
+ <loc>http://sqlformat.appspot.com/api/</loc>
+ <changefreq>monthly</changefreq>
+</url>
+</urlset> \ No newline at end of file
diff --git a/extras/appengine/templates/about.html b/extras/appengine/templates/about.html
index 3222b97..2d4e03e 100644
--- a/extras/appengine/templates/about.html
+++ b/extras/appengine/templates/about.html
@@ -1,5 +1,7 @@
{% extends "master.html" %}
+{% block title %}About{% endblock %}
+
{% block main %}
<h1>About this Application</h1>
<p>
diff --git a/extras/appengine/templates/api.html b/extras/appengine/templates/api.html
index b9aaae7..79bf118 100644
--- a/extras/appengine/templates/api.html
+++ b/extras/appengine/templates/api.html
@@ -1,5 +1,7 @@
{% extends "master.html" %}
+{% block title %}API{% endblock %}
+
{% block main %}
<h1>API Documentation</h1>
diff --git a/extras/appengine/templates/master.html b/extras/appengine/templates/master.html
index 4294cf4..ea1c662 100644
--- a/extras/appengine/templates/master.html
+++ b/extras/appengine/templates/master.html
@@ -1,7 +1,8 @@
<html>
<head>
- <title>SQLFormat - Online SQL Formatting Service</title>
- <meta name="keywords" content="SQL, format, parse, python, beautify" />
+ <title>{% block title %}SQLFormat - Online SQL Formatting Service{% endblock %}</title>
+ <meta name="keywords" content="SQL, format, parse, python, beautify, pretty, online, formatting" />
+ <meta name="description" content="Easy to use web service to format SQL statements online." />
<link rel="stylesheet" href="/static/pygments.css" />
<link rel="stylesheet" href="/static/styles.css" />
<script src="http://www.google.com/jsapi"></script>
diff --git a/extras/appengine/templates/source.html b/extras/appengine/templates/source.html
index 4b37eeb..a0ed89d 100644
--- a/extras/appengine/templates/source.html
+++ b/extras/appengine/templates/source.html
@@ -1,5 +1,7 @@
{% extends "master.html" %}
+{% block title %}Source code{% endblock %}
+
{% block main %}
<div id="response">
<h1>Source Code</h1>