Friday, April 05, 2019

Embedding JS-CSS in a Webpage Template

Now many third part scripts like Stats, Ads, Videos, Gadgets and Ajax elements are available for embedding in the template of a service or community-network template page.

Average user cannot tackle code snippets and inadvertently introduce errors, while adding the code to his template html source.

More important is that this snippets will change syntax as the webapps evolve and the service api changes or even new web standards.

Embedding JS-CSS in a Webpage Template

It may be best to make this snippet invisible to users and available to programmers if needed. Even the code coming on the browser client html makes the page cluttered and there is a bandwidth element too.

A new HTML tag may help clean the clutter and leave the snippet at the server. It is similar to embedding images ..

<xgz src="" />

The xgz tag is for gz compressed xhtml code analogous to "img src" for embedding images. The gz file has CSS-JS and XHTML code that is current to that service and account.

The Browser decompresses the gz and renders the page and effects as designed. The Browser View source just shows the xgz tag for every code-embed. Expanding the element gives more details. As this code is at host, it cannot be modified or tampered by any user.

The best part of this is, some code gz can be password protected so the code wont unzip or render for user browsers that are not logged in. The password protection of code gz can also protect the code to some extent. Which may be the DHTML or AJAX IP of creative web designers.

Posted first around 2007 updated 2009

Billy Daisy and Gregory

Gregory G. Leedberg created Daisy for DOS which evolved to Billy on Windows. These are AI Chat Bots that brought me hours of AI flavored happiness in the year 2000.

Billy Project
Even though these programs serve purposes which may make them seem like toys, the artificial intelligence developed to support these programs is actually quite advanced. The goal is to advance this AI within these programs, so that it may eventually be applied to real-world problems.
Daisy is from Y2K runs on MSDOS. It made me laugh for hours. Billy is even Smarter. If you can teach billy a thing or two about your own mind then you will be soon be "Talking to yourself "

Learn how to give someone a piece of one's mind but do not try that on a Smart Bot. Then you will lose your Peace of Mind.

Students can learn a lot by using this software and understand how to make Interactive Bots.

delabs Y2K notes - updated  few times

delabs Tube

More at delabs Tube