]> Pileus Git - ~andy/aweather-web/blobdiff - html.h
US NWS only (for now)
[~andy/aweather-web] / html.h
diff --git a/html.h b/html.h
index c51637a8e2f94e2f2d1c96654b8186434a8f942b..3216d9d0219b151d1b5dd212bc6d591efe1144a7 100644 (file)
--- a/html.h
+++ b/html.h
@@ -1,10 +1,10 @@
 /* Version information */
-#define VERSION        "0.5"
-#define VERSION_LINUX  VERSION
-#define VERSION_GENTOO VERSION
-#define VERSION_DEBIAN VERSION
-#define VERSION_WIN32  VERSION
-#define VERSION_MACOS  "0"
+#define VERSION        "0.6"
+#define VERSION_WIN32  "0.6"
+
+#define VERSION_DESC   "Version " VERSION " adds a new \"Alert\" plugin for "    \
+                      "displaying Warnings, Watches, and Advisories issued by " \
+                      "the National Weather Services"
 
 /* Link info */
 #define WIKI_INDEX   "/code/projects/aweather/wiki"
 #define GW_GRITS     "/git/?p=proj/grits"
 #define GW_RSL       "/git/?p=~spenceal/rsl"
 
+#define RSL_TAR      "rsl-v1.42.tar.gz"
 #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 RSL_FTP      "ftp://trmm-fc.gsfc.nasa.gov/software/"
+
+#define DEBIAN_HOME  "http://packages.debian.org/unstable/aweather"
+#define UBUNTU_HOME  "http://packages.ubuntu.com/oneiric/science/aweather"
+#define ARCH_HOME    "http://aur.archlinux.org/packages.php?ID=52003"
+
+#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 */
@@ -44,6 +54,7 @@ void print_page(const page_t *which);
 /* Pages */
 void print_about(void);
 void print_news(void);
+void print_oldnews(void);
 void print_screenshots(void);
 void print_download(void);
 void print_development(void);
@@ -55,3 +66,4 @@ void print_legal(void);
 
 void print_index(void);
 void print_notfound(void);
+void print_sitemap(const page_t **pages);