C. Web Design Gets tricky

May 26th, 2011 Google analytics
I sign up for analytics which provides data on who is visiting your site. Not that anyone is going to come around, but I want data on my one viewer a year. Yes I stole that joke from Skaggy. Very confused about how to ensure it is turned on. They give you a short code for you to enter into google sites. They also give you a long HTML snippet to put on every page you want to track. They are both google: Do I have to enter the long snippet of HTML if I already entered the short snippet (under "mange site" then "general"). Searched the web and got no clear answer. Here is a video reference for how to check if analytics is properly installed. When I check the HTML code on my page it appears more complicated with trees and links and different doo-dads. This ray bender gets very confused.

Solution: Wait a year and see if analytics picks anything up.
Update May 27th, 2011. Didn't need to wait a year. In one day got 25 visits! Or course they were mostly from me. You do not need to enter the long HTML snippet from google analytics. Only the code they give you.

Bored. Added stupid William Shatner references. I wonder how long I'll leave them there before someone complains.

May 26th, 2011 Lessons in ıuʌǝɹsıou and noisrever? (Inversion and reversion)
Pop Sci has a section in the back of its mags for cool websites and other things to appeal to its geeky audience. They had an entry that would be useful in optics inversion demonstrations: ɹoʇɐɹǝuǝƃ ʇxǝʇ uʍop ǝpısdn.


May 26th, 2011 More stuff to do that I don't have time for.
While looking around for how to implement the like button, I stumbled upon google gadgets. I think it is intended to be plugins for your igoogle home page but it can be adapted to google sites. Here is a web blog on how to do that. At some point we'll need to add optics gadgets to igoogle. Here is a basic video reference for use of editors and such for gadgets. Here is another video with more detail <= This google employee-dude has a higher geek quotient than mine. I am very jealous. And he knows what "XML" is.... Never heard of it before. *Sigh*. If we do igoogle gadgets should we do yahoo widgets? Does anyone still use yahoo? I know I do, but I've gotten grief for being in the "90s".


May 26th, 2011, Comments added.
Jotforms is a free and very cool website for creating forms. You'll need to create an account. There is an outdated video from youtube but it gives you a feel for how to use the service. 

Once you get your form created, jotforms gives you the HTML code. Use the embed button and select iframe. I used the google gadget "code wrapper" again to host the jotforms code. Works like a charm. Actually scratch that last paragraph.

Jotforms has their own google gadget already created. A forum entry describes how to use it. Took me forever to understand the only thing you have to paste is a long string of numbers out of your jotform URL and put that into the jotform gadget. This is much cleaner than the code wrapper gadget. Besides you can update your jotform and it updates your google sites.

May 26th, 2011, Forums?
Eric H. (aka spaz) sent me a google talk IM about embedding forums. Kinda freaked me out because it sounded like a lot of work. It is easier than in sounds. ProctorKeith shows us how. Created forums by embedding them from a free org site.

June 12th, 2011 Equations
I've been slowly entering my top ten optics equations and I would like to install equations directly to google sites. Found this link that discusses it. Doesn't seem to work. Kinda sucks:(

Sept 22, 2011, Embed Presentation?
Tried earlier to embed presentations but it didn't work... Here is a link that tells how... will have to try later.

October 10th, 2011, NEED to insert Greek symbols. Chaotic rambling while I chase my tail - Skip to Next section!
Working on the thermal pages I got sick of writing "Delta" instead of just using the greek code. I have an ASCII cheet sheet from T. Mitchell, but the ASCII Code Alt-0916 doesn't work. I seem to recall having to install another program or fiddle with key mapping.

Instead I found this site which describes the base set of ASCII unicodes. To insert other codes I have to use HTML5 which is kind of a pain in the the butt. For instance delta is "&Delta;" in HTML. So hit the "<HTML>" button at the top of google sites editor find in all the code where you want the symbol and insert the "&Delta;" and get Δ. If delta is capitalized then you get the capitalized Greek letter. If it is not capitalized then you get the lowercase Greek letter.

Here is a youtube video to show how to change keyboard entry.

I want to use an english keyboard but simply use alt-code to get a stinking delta! 

Another YouTube video talking in detail about Unicode but it is for java script. very high level. not what i'm looking for

Here is the unicode official site. But it doesn't tell me how to insert a stupid delta. Help files suck.

October 10th, 2011 The RIGHT way to do UNICODE!!
I dug up an old email from Mitchell. He used the program "quick100.exe" to set the keymapping correctly in Windows. It can be found here. This is an executable so download with caution!!! Found this via a forum thread. Here is a forum for using this program.

Let me test the stupid greek symbol delta which is 0916. Inputting "ALT+0916" I get Δ. Goto this site and it claims that the unicode for delta is 0394 WTF? Why is 0916 working. Turns out 0394 is hex, 0916 is alphanumeric. See here for differences.

Keymapping site like a wiki. Can't search easily on Greek
Another site showing hex format. Does not convert to alphnumeric.

HERE is the keymapping site I am looking for!!!! Use this and quick.exe for utter symbol uberness. BTW shows that Delta is acutally 916 not neccessarly 0916

See the link here for a unique web page describing the proper use of Unicode.


March 7th, 2013, HTML for subscripts and superscripts.

While doing homework solutions I wanted to know how to do subscripts and superscripts. Here is the
23 = 8
The HTML Code: 2<sup>3</sup> = 8.... source

Or...
H2
The HTML Code: H<sub>2</sub>O  source