X-Git-Url: http://pileus.org/git/?p=~andy%2Faweather-web;a=blobdiff_plain;f=html.h;h=70eeffbcf42193173e7e2a96709967b499d9f200;hp=c51637a8e2f94e2f2d1c96654b8186434a8f942b;hb=e3538c6517435f90a94ba84eadeff0ba275833c2;hpb=7793b4a359ef5fbad771ca62894992c2b2489ef4 diff --git a/html.h b/html.h index c51637a..70eeffb 100644 --- a/html.h +++ b/html.h @@ -1,34 +1,46 @@ /* 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.7" +#define VERSION_GRITS "0.7" +#define VERSION_WIN "0.7" +#define VERSION_MAC "0.7" + +#define VERSION_DESC "Version " VERSION " a GPS tracking plugin for Linux " \ + "along with various other updates and bug fixes" /* Link info */ -#define WIKI_INDEX "/code/projects/aweather/wiki" -#define WIKI_INSTALL "/code/projects/aweather/wiki/Install" +#define WIKI_INDEX "/code/projects/aweather/wiki" +#define WIKI_INSTALL "/code/projects/aweather/wiki/Install" + +#define BUG_LIST "/code/projects/aweather/issues" +#define BUG_NEW "/code/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 BUG_LIST "/code/projects/aweather/issues" -#define BUG_NEW "/code/projects/aweather/issues/new" +#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://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 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=proj/aweather" -#define GW_GRITS "/git/?p=proj/grits" -#define GW_RSL "/git/?p=~spenceal/rsl" +#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 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 */ @@ -38,12 +50,15 @@ extern page_t footer[]; 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); void print_download(void); void print_development(void); @@ -55,3 +70,4 @@ void print_legal(void); void print_index(void); void print_notfound(void); +void print_sitemap(const page_t **pages);