X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=html.h;h=edc16bfb1565c817cf5b4d0ffbe0826ce994ef10;hb=5902805726b6d346b779184e3c7fe5ea53c7289a;hp=3216d9d0219b151d1b5dd212bc6d591efe1144a7;hpb=8456e5d97f4bc5c066d3af9d4584b0843fe510ce;p=~andy%2Faweather-web diff --git a/html.h b/html.h index 3216d9d..edc16bf 100644 --- a/html.h +++ b/html.h @@ -1,35 +1,46 @@ /* Version information */ -#define VERSION "0.6" -#define VERSION_WIN32 "0.6" +#define VERSION "0.8" +#define VERSION_GRITS "0.8" +#define VERSION_WIN "0.8" +#define VERSION_MAC "0.8" -#define VERSION_DESC "Version " VERSION " adds a new \"Alert\" plugin for " \ - "displaying Warnings, Watches, and Advisories issued by " \ - "the National Weather Services" +#define VERSION_DESC "Version " VERSION " adds a compass rose, clickable radar labels, " \ + "and a number of bug fixes." /* Link info */ -#define WIKI_INDEX "/code/projects/aweather/wiki" -#define WIKI_INSTALL "/code/projects/aweather/wiki/Install" +#define WIKI_INDEX "/dev/projects/aweather/wiki" +#define WIKI_INSTALL "/dev/projects/aweather/wiki/Install" -#define BUG_LIST "/code/projects/aweather/issues" -#define BUG_NEW "/code/projects/aweather/issues/new" +#define BUG_LIST "/dev/projects/aweather/issues" +#define BUG_NEW "/dev/projects/aweather/issues/new" -#define GIT_AWEATHER "git://lug.rose-hulman.edu/proj/aweather" -#define GIT_GRITS "git://lug.rose-hulman.edu/proj/grits" -#define GIT_RSL "git://lug.rose-hulman.edu/~spenceal/rsl" +#define MAIL_LIST "http://pileus.org/mailman/listinfo/dev" +#define MAIL_ARCH "http://pileus.org/pipermail/dev/" -#define GW_AWEATHER "/git/?p=proj/aweather" -#define GW_GRITS "/git/?p=proj/grits" -#define GW_RSL "/git/?p=~spenceal/rsl" +#define GIT_AWEATHER "git://pileus.org/aweather" +#define GIT_GRITS "git://pileus.org/grits" +#define GIT_RSL "git://pileus.org/~andy/rsl" +#define GIT_PKG "git://pileus.org/~andy/aweather-pkg" +#define GIT_WEB "git://pileus.org/~andy/aweather-web" -#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/" +#define GW_AWEATHER "/git/?p=aweather" +#define GW_GRITS "/git/?p=grits" +#define GW_RSL "/git/?p=~andy/rsl" +#define GW_PKG "/git/?p=~andy/aweather-pkg" +#define GW_WEB "/git/?p=~andy/aweather-web" -#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 RSL_TAR "rsl-v1.43.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/" -#define PREFIX "http://lug.rose-hulman.edu/proj/aweather/" +#define GENTOO_HOME "http://gpo.zugaina.org/sci-geosciences/aweather" +#define DEBIAN_HOME "http://packages.debian.org/unstable/aweather" +#define UBUNTU_HOME "http://packages.ubuntu.com/oneiric/science/aweather" +#define UBUNTU_PPA "https://launchpad.net/~andy753421/+archive/aweather" +#define ARCH_HOME "http://aur.archlinux.org/packages.php?ID=52003" +#define SLACKY_HOME "http://www.slacky.eu/asche/pkgs/index.php?pkg=2682" + +#define PREFIX "http://pileus.org/aweather/" /* Types */ typedef struct { @@ -42,17 +53,19 @@ typedef struct { } page_t; /* Data */ -extern page_t header[]; -extern page_t other[]; -extern page_t footer[]; -extern page_t special[]; +const extern page_t header[]; +const extern page_t other[]; +const extern page_t footer[]; +const extern page_t special[]; /* Global functions */ +void print_file(char *file); void print_header(void); void print_page(const page_t *which); /* Pages */ void print_about(void); +void print_manual(void); void print_news(void); void print_oldnews(void); void print_screenshots(void);