]> Pileus Git - ~andy/aweather-web/blobdiff - html.h
Add sitemap, per-page descriptions, misc updates
[~andy/aweather-web] / html.h
diff --git a/html.h b/html.h
index c51637a8e2f94e2f2d1c96654b8186434a8f942b..5f96e4dd5c8b5346d617176c9f6e076e3b69079f 100644 (file)
--- a/html.h
+++ b/html.h
 #define RSL_WEB      "http://trmm-fc.gsfc.nasa.gov/trmm_gv/software/rsl/"
 #define RSL_FTP      "ftp://trmm-fc.gsfc.nasa.gov/software/rsl-v1.41.tar.gz"
 
+#define PREFIX       "http://lug.rose-hulman.edu/proj/aweather/"
+
 /* Types */
 typedef struct {
        const char *link;
        const char *name;
        void (*print)(void);
+       float prio;
+       /* Optional */
+       const char *desc;
 } page_t;
 
 /* Data */
@@ -55,3 +60,4 @@ void print_legal(void);
 
 void print_index(void);
 void print_notfound(void);
+void print_sitemap(const page_t **pages);