Message boards :
Number crunching :
Schedulers online status for websites
Message board moderation
Author | Message |
---|---|
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
I thought there would be some website owners out there who wanted to be able to display online status of the boinc projects schedulers. So I created this little script that does exactly that. It looks like this: Now, Boinc Online Schedulers (BOS) version 0.3 is pretty much still an alpha version, but it looks to work pretty good. All that's needed is to make an image tag on the page you want to display it at, like this: <img src="http://83.72.130.163/esea/boincschedulers.php"> It's updated every 5 minutes. Future plans for it includes: - choice of projects to display - choice of colors to use |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
<p>New version 0.4</p> <p>First of all the URL has changed.</p> <p>And now you can choose which projects to display by selecting the ones you don't want displayed.</p> <p><img src="http://www.esea.dk/esea/boincschedulers.php"> displays all supported projects like this:</p> <p> </p> <p>Parameter list:</p> <p>SETI@home: seti=no Predictor@home: pred=no climateprediction.net: clim=no LHC@home: lhc=no Pirates@home: pir=no Einstein@home: ein=no BURP: burp=no</p> |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
<p>Version 0.5</p> <p>You now have two choices of how to choose which projects to display:</p> <p>1) if you use the no setting on the parameters, you choose not to display those projects, but any new projects added to the script will automatically be displayed as well as the current ones you left displayable 2) if you use a yes setting on the parameters, you isplay only those projects selected - any new projects added to the script will remain hidden</p> <p>Example:</p> <p><img src="http://www.esea.dk/esea/boincschedulers.php"> will still display all projects supported - like this:</p> <p> </p> <p>Please let me know if a color doesn't work - I'll propably make some typo's here and there.</p> <p>Next the textcolors will be changable - same color names ;)</p> |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
all colors on the list are now available |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
<p>Version 0.6</p> <p>Textcolor is now changable.</p> <p>Parameters:</p> <p>projectcolor: changes the color of the projects names onlinecolor: changes the color of the "Online" text downcolor: changes the color of the "Down" text unreachcolor: changes the color of the "Unreachable" text</p> <p>Still the colors are the names from O'Reilly's list.</p> <p>Example:</p> <p><img src="http://83.72.130.163/esea/boincschedulers.php?projectcolor=darkslateblue&backcolor=cornsilk&onlinecolor=skyblue&unreachcolor=indigo&downcolor=gray"> looks like</p> <p> </p> <p>And btw, if you misspell a color name, the script will revert to the standard color.</p> <p>Also fixed the height when using the yes value on project parameters.</p> <p>Next I'll create an URL creator as the URLs can now potentially get tricky - after that I'll look into direct RGB color changes (dec and hex)</p> |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
Now it's gotten even easier ;) The URL generator is ready. Next two things on the todo-list is direct hex color choices and transparency color. But for now take a look at the URL generator - I've tested it during development, but there might be a slip up somewhere. |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
Just put the translation contribution page online. Please contribute with missing languages - Thank you very much in advance :) |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
<p>Version 0.7</p> <p>Added the ability to change colors with hexadecimal numbers.</p> <p>Parameters: backhex: changes the background projhex: changes the project names color onlinehex: changes the Online text colot downhex: changes the Down text color unreachhex: changes the Unreachable text color</p> <p>Example:</p> <p><img src="http://www.esea.dk/esea/boincschedulers.php?backhex=aaddff&projhex=aa3311&onlinehex=dd00aa &unreachhex=2200aa&downhex=aa66aa"> looks like: </p> <p> </p> <p>NOTE: do not use the number char (#)</p> <p>This has been added to the URL generator.</p> |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
Version 0.8 I've begun the multi language capabilities, but it's on an experimental stage still. The languages that have been gracefully contributed has been added, but some characters are not shown proberly as well as long string currently do not make the image wider (that'll come). But, something that really works is uptime percentages. Yup, I've added the ability to display uptime percentage in addition to scheduler online status, and if you want, you can choose ONLY to display the uptime percentages. In addition I've added some pages to the URL generator site - so take a look, and try it out ;) |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
<p>Version 0.85</p> <p>Added the ability to have uptime percentages appended directly to the online status, so now you can choose between nice coloumns, only a space between status and percentage, and only percentage.</p> <p>Added simulated images to the URL generator, so now you can see the colors of all states, and don't have to wait until a projects goes down or gets unreachable. There's even a simulated image for the odd occurance that none of the projects are online ;)</p> <p>Color names for standard colors have been added to the URL generator. One of them is not found on O'Reilly's list though. The bosgolden color is one I created for this image. The other standard text colors weren't on O'Reilly's list either, so I changed them accordingly for best match.</p> <p>Added the ability to change the tagline color. This way you can choose a color for it that doesn't clash with the background color.</p> <p>Change the URLs generated by the URL generator and added them to the image script. The URLs will now get shorter. The old URLs you may already use will still work.</p> <p>Fixed a stupid bug that made the online status for climateprediction disappear when not online, and especially if it's down. I didn't know the bug was there until I saw the simulated images, so they've been a great help for me too ;)</p> <p>I wanted to do alot more from the Coming up list, but I have to get up early in the morning.</p> <p>Well, go to the URL generator site for the latest updates ;)</p> |
Grant (SSSF) Send message Joined: 19 Aug 99 Posts: 13736 Credit: 208,696,464 RAC: 304 |
Nice work. :-) Grant Darwin NT |
Paul D. Buck Send message Joined: 19 Jul 00 Posts: 3898 Credit: 1,158,042 RAC: 0 |
Yes, it is very nice ... Thank you for the changes ... and you can see that by giving me the control over it (thank you again) I was able to make the author's credit show up better (antiquewhite) for the light color set that I prefer ... One more suggestion, you may want to make up some samples of them ... if you are feeling that you cannot do it justice you could ask for help from those that are not art challenged like myself ... |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
|
Paul D. Buck Send message Joined: 19 Jul 00 Posts: 3898 Credit: 1,158,042 RAC: 0 |
> Samples would be nice for people wanting to know what it does and can do - > words doesn't always paint the pictures in ones mind that would explain it. A > page with samples is on it's way :) Yes I saw that ... used it to "tweak" my values ... Thanks ... NEW REQUEST Can we have the projects sorted by name? |
Metod, S56RKO Send message Joined: 27 Sep 02 Posts: 309 Credit: 113,221,277 RAC: 9 |
Great gadget ;) I have an extension to Paul's request: in the yes mode, could the parameter sequence be preserved in the listing? This way every user could sort the projects according to her/his own preferences (as much as I support yours :) ). Metod ... |
Paul D. Buck Send message Joined: 19 Jul 00 Posts: 3898 Credit: 1,158,042 RAC: 0 |
> Great gadget ;) Yes it is! > I have an extension to Paul's request: in the yes mode, could the > parameter sequence be preserved in the listing? This way every user could sort > the projects according to her/his own preferences (as much as I support yours > :) ). I could not think of any other sorts that made sense, but you are correct, the order should be customizable (if possible) ... Sort=Alpha or sort=random or sort=??? |
Metod, S56RKO Send message Joined: 27 Sep 02 Posts: 309 Credit: 113,221,277 RAC: 9 |
> > I have an extension to Paul's request: in the yes mode, could the > > parameter sequence be preserved in the listing? This way every user could > sort > > the projects according to her/his own preferences (as much as I support > yours > > :) ). > > I could not think of any other sorts that made sense, but you are correct, the > order should be customizable (if possible) ... > > Sort=Alpha or sort=random or sort=??? If you take a look at my signature graphics you can imagine that I'm only interested in 3 projects. The order is not that important, but I do have my preferences (not all projects get the same amount of CPU time). For example, I'd like to use the following URL: http://www.esea.dk/esea/boincschedulers.php?clim=y&seti=y&ein=y&bck=white&prj=black&unr=gold&apc And I would like to see the projects in the resulting image in selected order: CPDN SETI@home Einstein@home Heck, I'd like the project names be the same as are used in Boincstats signature image ... but now I'm already pushing it :) Metod ... |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
Paul and Metod: Actually I chose the sorting with the criteria "first up, first on" ;) A request from Pirates to switch between Pirates and Einstein resulted in the current order, as Pirates is the "helper project" of Einstein ;) As I may be wrong in the current order (I'm not so sure which came first, CPDN or Prdictor), it would be nice to have user defined order, like the ones the two of you have suggested. I think the first implementation of this would be where the url parameters would be &soa for alphabetical and &so[0]=cpdn&so[1]=seti etc. hmm. come to think of it, I'll propably wait a bit with the user defined sort order - it would need some changes to the URL generator that are a bit more complex than other additions/changes I have made. Metod: Well, if the project names should be different, I'd rather have them to be user defined with an array of choices for each project ;) But this could actually make it fit even better into a web page, by using the same project names as the rest of the site - making the users of the web site less confused :) |
[HWU] GHz & CO. - BOINC.Italy Send message Joined: 1 Jul 02 Posts: 139 Credit: 1,466,611 RAC: 0 |
Great work bruno! Very nice and useful! I've insert the BOS in my site: http://boinc.altervista.org I've posted the italian language :) GHz BOINC.Italy |
Bruno G. Olsen & ESEA @ greenholt Send message Joined: 15 May 99 Posts: 875 Credit: 4,386,984 RAC: 0 |
Version 0.93: Added background transparency. As the image is .png this might not work in all -internet Explorer versions. Fixed a bug that made the image display the uptime percentage of Pirates@home as the uptime percentage for BURP in some cases. Added links page to URL generator site. Added background image to URL generator so that you can see how transparency works. |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.