Message boards :
Number crunching :
Schedulers online status for websites
Message board moderation
Author | Message |
---|---|
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 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 |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 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> |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 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> |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 RAC: 0 |
all colors of the list is now available as background |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 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> |
Send message Joined: 17 Sep 04 Posts: 190 Credit: 649,637 RAC: 0 |
Thankyou Bruno! easy to use and an other nice contribution to the community. I like this kind of stuff, making the daily boinc roundtrip more "userfriendly" using now this: |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 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. |
Send message Joined: 2 Sep 04 Posts: 16 Credit: 65,275 RAC: 0 |
Very impressive, Bruno. Thanks for your contributions! Regards, Clint www.clintcollins.org - spouting off at the speed of site |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 RAC: 0 |
Just put the translation contribution page online. Please contribute with missing languages - Thank you very much in advance :) |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 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> |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 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 ;) |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 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> |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 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. |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 RAC: 0 |
|
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 RAC: 0 |
Version 0.97 Made some multi language changes: - Changed the font from build in font to true type Arial. This eliminates alot of character problems - The image now has dynamic width. It changes if states in a variety of languages are longer then the standard width. - Added four languages. I will wait adding chinese and russian untill I have conquered a charset problem. I will look into this saturday when the server is offline anyway Naturally the URL generator is changed accordingly. |
Send message Joined: 17 Sep 04 Posts: 52 Credit: 247,983 RAC: 0 |
Version 0.99: Just a small update before the 1.0 release. Added the possibility to add a timestamp to the image. The timestamp displays the time and date of the last BOS update. I know the development of BOS has been a bit slow lately, but I'm working on other projects also and BOS seems to run pretty stable. Besides, I've been thinking about the scheme for mirroring which looks to become pretty ambitious :) Well, I just thought it might be nice to have this timestamp, although it looks pretty odd in this version (my opinion). Ok, I still call it alpha ;) |
©2024 CERN