Custom Includes
Have you ever struggled with
html codebits from youtube, facebook, google adsense or other
sites. You try to get it positioned in the page and you fight
with the html to position it correctly.
We have a solution that make
your life much easier and we call it Custom Includes.
It is not uncommon to use
includes for menus or common page elements, but it is not normal
to use it to deliver codebits to a single page.
The process of breaking code
into separate files serves many functions, the most important of
which is making the page much easier to manage with a WYSIWYG
editor. Since the online editors all use javascript, adding java
applets and scripts can be messy at best. Nested scripts within a
script can cause a near matter anitimater interaction.
We allow you to create
separate files that are converted to simple replacement strings
%%custominc-filename%% which can be added to the WYSIWYG editor
and parsed out during the page serving process. This lets you
edit text files with a text editor the way they were intended to
be edited and not on a webpage that wants to convert the html to
visual elements.
Of course this can also be
used to add the same element to many pages and edit one file to
update all the pages as well.
As web developers it is nice
to simplify a block of object code such as a youtube video embed
script so that when the end user edits the page they do not screw
it up. Oh how many times has that happened?
By isolating the code it
prevents accidental screwups and mishaps. Even if a user deletes
it from the page it is still intact in the custom includes
section where the replacement string can be copied back to the
page.
This also lets the novice
position complex html blocks in pages just using the basic tools.
I can tell you how many call
we get asking where to paste the html for google ads or other
services. And how do you explain over the phone to a person that
has no clue what html even is, to look for the div with a
particular class name and place the code in between the div tags?
It's like you are in a whole different world.
We do expect developers and
webmaster to know that stuff, but that is just during the site
building process. Once it's in the hands of an end user anything
can happen and it does.
The remote custom includes
allow isolated code to be simplified and portable. It prevents
major disasters and the regeneration of codebits.
This is another one of the
advanced developer features at pageBuzz.com that is really
unexpected from a website hosting company. But here again we
deliver unusual tools that have a huge impact on developing web
pages.
|