Ok. Go to the directory where you first compiled hobbit. Gunzip the attached file and place it in hobbit-4.2.0/bbdisplay, replacing the old wmlgen.c. Recompile hobbit, hopefully you will not get errors.
On your hobbit server, make a backup copy of server/bin/bbgen. Copy the bbgen file you just compiled from hobbit-4.2.0/bbdisplay to server/bin/ on your hobbit server.
Restart hobbit. If it worked, you will see html files show up in your wml directory instead of wml files. You may have to adjust your bb-host file if you don't see all your servers show up.
Good luck, and if you get it working, let me know how you like it and if you have any ideas for improvements.
-Jemimah
From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Friday, November 09, 2007 4:40 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Enabling WML for blackberry viewing
I'd be interested in checking it out! How do I use this? I know almost nothing about programming =(
On 11/9/07, Ruhala, Jemimah J. < Jemimah.Ruhala at pmsionline.com <mailto:Jemimah.Ruhala at pmsionline.com> > wrote:
I am currently finishing a patch to wmlgen.c that causes it to spit out simplified html that looks great on Blackberry. I've got it to show graphs that fit the screen, and the status graphics and colors, and reasonable fonts. I'm not sure what the official channel for patch submission is, but I will send it to anyone that wants it.
-Jemimah
Jemimah Ruhala
PMSI | IT Operations
AIX System Administrator
Jemimah.Ruhala at pmsionline.com <mailto:Jemimah.Ruhala at pmsionline.com>
From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Friday, November 09, 2007 12:50 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Enabling WML for blackberry viewing
etc/hobbitserver.cfg:BBWAP="$BBSERVERWWWURL/wml"
Hobbit URL prefix for the WAP/WML files.
Oh the wonders of grep =)
So it seems all I had to do was add --wml to BBGENOPTS and now the wml dir is being filled with index.wml and bb2.wml.
I'd test right now but...led lined room... =(
Thanks for the help, Tod!
Josh
On 11/9/07, Tod Hansmann <thansmann at directpointe.com> wrote:
First, yes, WML is the most standardized way of making it PDA friendly.
Second, I would put it in BBGENOPTS.
Finally, every node gets the default WAP cards for the default tests (they're included somehow with the --wml option that I can't remember off the top of my head). The WML:[+|-]testname[,[+|-]testname] syntax is for modifying that default value. You can add testnames with +, or remove default tests already defined with -.
I don't know how well they display as the only experience I have with it is playing with it before we went production with 4.2 (so, during build-out phase). Apologies for the lack of experience.
Tod Hansmann
Network Engineer
<http://www.directpointe.com/>
From: Josh Luthman [mailto: josh at imaginenetworksllc.com] Sent: Thursday, November 08, 2007 8:53 PM To: hobbit at hswn.dk Subject: [hobbit] Enabling WML for blackberry viewing
First off, is WML the best option I've got to make Hobbit viewable by black berry phones (or any PDA/phone?)
Secondly, I read in the bb-hosts man page that I need to start bbgen with --wml. Now in etc/hobbitlaunch.cfg it has CMD bbgen $BBGENOPTS --report. Should I add --wml to the end of that or stick it in the variable BBGENOPTS that is made in etc/hobbitserver.cfg?
Finally, once bbgen kicks into gear with --wml how do I make the page for the devices to view?
WML:[+|-]testname[,[+|-]testname] <--- confuses my poor self =(
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
Notice: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL OR PROPRIETARY INFORMATION, INCLUDING PATIENT HEALTH INFORMATION THAT IS PROTECTED UNDER HIPAA AND OTHER STATE AND FEDERAL CONFIDENTIALITY LAWS. PLEASE DELIVER IMMEDIATELY ONLY TO THE INTENDED RECIPIENT. IF THIS TRANSMISSION WAS RECEIVED IN ERROR, PLEASE CONTACT THE SENDER IMMEDIATELY AND DO NOT DISTRIBUTE THE INFORMATION TO ANY OTHER PERSON.
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
Notice: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL OR PROPRIETARY INFORMATION, INCLUDING PATIENT HEALTH INFORMATION THAT IS PROTECTED UNDER HIPAA AND OTHER STATE AND FEDERAL CONFIDENTIALITY LAWS. PLEASE DELIVER IMMEDIATELY ONLY TO THE INTENDED RECIPIENT. IF THIS TRANSMISSION WAS RECEIVED IN ERROR, PLEASE CONTACT THE SENDER IMMEDIATELY AND DO NOT DISTRIBUTE THE INFORMATION TO ANY OTHER PERSON.