Web Images Videos Maps News Shopping Google Mail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Discussions > How to for Advanced Users > How I built my homepage - Full summery
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  14 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
GPgemini  
View profile   Translate to Translated (View Original)
(6 users)  More options 4 Nov 2006, 19:43
From: GPgemini
Date: Sat, 04 Nov 2006 11:43:55 -0800
Local: Sat 4 Nov 2006 19:43
Subject: How I built my homepage - Full summery
Hi everybody !

For the last month or so I've been working on and off on my Google
Pages homepage.
I've been visiting the GPC group looking for tricks and tips on GPC,
and used a lot of googling (I think they hate this term) for online
scripts and code samples.

Here is what I got:
http://gpgemini.googlepages.com/

You sincere opinions are most wanted.

I will describe here the methods I used to create the page, which I'm
sure many of you will find useful.
My main guideline was to stay within the limits of the GPC online
editor.
It would have been easier to do many of these things using a regular
.html page and upload+link to it on GPC, but I wanted to see how far
GPC could be pushed.

My base template was "Chemise Asp":
http://gpgemini.googlepages.com/sample-base

I started off with adding some contents for my website, mainly my Blog
and Gallery.

* Blog
I opened a new blog at www.vox.com (a highly recommended blog service
BTW).
Besides linking to the blog, I wanted the website to have some dynamic
contents, to keep returning visitors interested.
So I added a "Latest Post" script - it uses the blog's RSS feed to
display the latest post.
I really am not a .js programmer so I looked it up in Google.
The service I use for my site is:
http://www.rss-to-javascript.com/p/138.html
read more here:
http://ezinearticles.com/?How-To-Display-RSS-Feeds-on-Your-Website&id...
or search Google.

* Gallery
In my spare time I am a photographer, so my gallery is also a vital
part of my website.
At first I thought of putting a random image display, so that every
time a visitor enters the site, he sees a random image from a given
set.
I found a script that does this here:
http://www.flzone.com/ShowDetail.asp?NewsId=5427
it seems to work fine with GPC, and again, Google will find you many
others.
But after putting it, I decided it's not quite what I wanted and I
decided to go for an embedded slide-show.
I tried Flickr:
http://blogger-templates.blogspot.com/2005/09/flash-slideshow.html
Which gives you a pretty nice slide-show, but decided against it since
it was too user-interactive, while I was striving for a static
slide-show. Also, I don't host my photos in Flickr, so having it
redirect my visitors there would be dumb.
I also tried PicasaWeb's slide-show:
http://picasaweb.google.com/gpgallery/AbstractFun/photo#s497841605422...
Above is a sample from my gallery (which is fully hosted on PicasaWeb).
I've decided against it as well because of the UI buttons, and because
the displayed images were too big.
So I've looked up customizable slide-show generators in Google, and
found this:
http://www.flash-applets.com/fade_effect_slideshow.html
This site offers various free flash-applets, and "slideshow 5" is
exactly what I've been looking for.
I added some borders around it, and framed it with <IFrame> to hide the
ugly "free version" hint.

* Email
I was searching for methods to mask my email, to protect it from spam.
Even though I'm already receiving about ~600 spam emails per week,
(with Gmail filtering 99.99% of them), and am aware of the Google Pages
spam problem:
http://www.onedegree.ca/2006/02/23/big-problem-with-google-pages
I've decided to try and protect it none the less.
While searching, I found this:
http://services.nexodyne.com/email/index.php
An Email icon generator. It creates a nice image with your email in it,
making sure your Email address is safe from spammers.
The funny thing is, I've seen many people use this generator, and link
the image with a "mailto:" reference.
Different strokes ...

* Feed Burn
I've also burned my Blog & Gallery feeds, to keep track of
subscriptions:
http://www.feedburner.com/

* Hit Count
To keep track of site traffic, I've setup a StatCounter account:
http://www.statcounter.com/
I've been using this service in the past, and recommend it.
I also tried Google Analytics:
http://www.google.com/analytics/
but was very disappointed that it has no good way of blocking self
visits. Or maybe I just didn't find how to (correct me anyone ?).
It only offers to block a given IP, which is useless since my IP
changes on each connection restart.
StatCounter on the other hand, plants a blocking cookie on my PC, and
as long as it's there, it won't log my own visits.

* AdSense
https://www.google.com/adsense/
I added a small Google Ads bar. Not really for the money, but just to
try the look and feel of it.
Never tried it before and found the setup to be quick and easy.

Next I was thinking of modifying the look of the website, to make it
more personal.
I tried adding a logo at the top, and got something like this:
http://gpgemini.googlepages.com/sample-logo
As you can see, the logo is positioned with an offset both in X and Y
axis.
Very annoying !!
So I began digging online, looking for a way to bypass this. Again, my
HTML knowledge ranges from basic to none.
I found, somewhat by chance, this site:
http://www.w3schools.com/js/tryit.asp?filename=tryjs_text
It has lots of nice javascript examples, and lets you test them with
their online editor.
Looking at the first sample, I noticed something very interesting -
"They have a script that writes stuff into the html page dynamically" I
thought ... "Google pages erases any attempt to write <style> tags into
the html editor" I thought ... "Google allows javascripts" I thought
...
"A-HA !" I said out loud :)

>From this point on, I was able to change *any* CSS property of the

Google Pages template.
For example, to make the logo stick nicely, I added this to the page:
<SCRIPT type=text/javascript> document.write('<style type="text/css">
h1 { padding: 0px 0px 0px 0px;} </style>') </SCRIPT>
You can place it in anyone of the edit fields. The contents of
write('') must be a SINGLE LINE, and have no ['] characters (or if you
must, escape them like this: [\']).
This is the result:
http://gpgemini.googlepages.com/sample-logo-sticky

A note here:
This is NOT a regular usage of Google Pages -  Google hides the css
files, removes <style> tags, and offers no interface to modify the look
of pages. I don't know if the Google people will like this or not, or
will they try to block it or not.
IMHO, since scripting is allowed, since we can upload any html page to
Google Pages and since customization is a pure MUST, this is a
reasonable usage of the Google Pages service. I hope it will remain
possible, and even becomes an advanced feature with easier access.

That said, after making a nice logo and setting it up (I used the
background property instead of putting an <img>), I customized other
properties as well, such as link behaviour, color schemes, borders and
margins.

the document object adds many new possibilities to GPC, such as
dynamically loading a CSS file, like this:
<script type="text/javascript">
var fileref=""
fileref=document.createElement("link")
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href",  "custom_style.css");
document.getElementsByTagName("head").item(0).appendChild(fileref)
</script>
custom_style.css has the css style of this page:
http://gpgemini.googlepages.com/sample-other-css
and is loaded into a page like this:
http://gpgemini.googlepages.com/sample-load-css-before
and turns to this:
http://gpgemini.googlepages.com/sample-load-css-after

Sorry for the mess, I was unable to make a link/button that executes
the above script so that the change will occur on-click, instead of
making two pages.

This is it for modifying the page's style.

* Frames
At some point I noticed that the java scripts I added are really
damaging my page's load speed. Especially the Latest-Post and
slide-show (and AdSense as well).
Since java scripts are blocking pieces of code, the rest of the page
wouldn't show until each script finished loading (which could take
several seconds).
The effect was that the page would appear blank, and load up in chunks,
stalling on each .js script.
The solution to this was quite simple: put every .js script in a frame.
The IFrame object loads instantly, so the page and it's contents are
loaded quickly, after which the contents of these frames - the .js
scripts, are loaded.

* Loading Message
After putting the slow .js scripts into frames, the page would load
quite quickly, but the scripts within the frames would still take some
time.
So I decided to put a "Loading ..." message to these scripts.
Inspired by this code sample:
http://javascript.internet.com/css/pre-loading-message.html
I added a "Loading" message as seen in this page:
http://gpgemini.googlepages.com/LatestPostPlusLoad.html
Press F5 to view the "Loading" message appear.
I won't explain here how it works, a glimpse in the source code will
self-explain.

* CSS Menu
The last edition I made to the site was putting a simple links menu.
I tried many different menus, most of them java script based.
The best of them was CoolJSMenu:
http://javascript.cooldev.com/scripts/coolmenu/
But I was unable to make it work in GPC, since it requires .js scripts
to be loaded in the <head> tag, and the 'document' trick I used for
loading CSS didn't work for scripts for some reason.
Finally, I decided to use CSS based menus, which are faster and
simpler, but are also more limited in their abilities.
There are many others to choose from:
http://css.maxdesign.com.au/listamatic/
And there is always Google.

A couple of side notes:

1. While working on the site I accidentally inserted an unconditioned
redirect script into my "home" page.
I would like to thank Milus and his Proxomitron solution that saved my
page.
http://groups.google.co.uk/group/GPC-How-to-Advanced/browse_thread/th...

2. While developing the website, I used both Firefox 2.0 and IE7.
Originally to overcome the GPC editor problems, but later to make sure
my site is compatible for both.
I have no opinion in favor of, or against, Firefox, but I'll say this:
designing web pages to work with Firefox is HELL.
It won't comply to the simplest most ...

read more »


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Regac  
View profile   Translate to Translated (View Original)
 More options 4 Nov 2006, 21:22
From: Regac
Date: Sat, 04 Nov 2006 21:22:44 -0000
Local: Sat 4 Nov 2006 21:22
Subject: Re: How I built my homepage - Full summery
i think that this does not belong here...this belongs on your
site...and just a small piece of text belongs here...cheers..

http://oregac.googlepages.com


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Miller  
View profile   Translate to Translated (View Original)
 More options 6 Nov 2006, 18:48
From: Michael Miller
Date: Mon, 06 Nov 2006 18:48:19 -0000
Local: Mon 6 Nov 2006 18:48
Subject: Re: How I built my homepage - Full summery
you seem to have a good working knowledge for creating websites. As
easy as GPC is, how can i make a picture link to a page without the
text showing up? I did it when i first created my site, but now
everytime i highlight the image, and click link, it adds text above the
image. your help would be appreciated, thank you.

    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
music13  
View profile   Translate to Translated (View Original)
 More options 7 Nov 2006, 01:43
From: music13
Date: Tue, 07 Nov 2006 01:43:56 -0000
Local: Tues 7 Nov 2006 01:43
Subject: Re: How I built my homepage - Full summery
Regac is definitely right, this amount of text should be displayed on
your site, maybe on a page entitled "How I Did It." This way people are
able to visit your site to read the info which adds visitors (at least
those who are interested) to your site, which is quite impressive by
the way.

http://andsp13.googlepages.com/


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
GPgemini  
View profile   Translate to Translated (View Original)
 More options 7 Nov 2006, 05:36
From: GPgemini
Date: Mon, 06 Nov 2006 21:36:21 -0800
Local: Tues 7 Nov 2006 05:36
Subject: Re: How I built my homepage - Full summery
To Regac and music13, you have a point but you are missing out on
something: If I put the description in my website, people won't be able
to search it easily
A. My website isn't searched by Google yet.
B. GPC is the most logical place to search for help on a certain topic.

Spreading out the knowledge is more important to me then visitor counts.


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
schultzter  
View profile   Translate to Translated (View Original)
 More options 7 Nov 2006, 13:49
From: schultzter
Date: Tue, 07 Nov 2006 13:49:24 -0000
Local: Tues 7 Nov 2006 13:49
Subject: Re: How I built my homepage - Full summery
Except if you notice a mistake or want to add information or modify
something if you find a better way to do it you cannot modify this
post.  You will have to make another post (and Google does not allow
additional posts to old threads so you might to start a new thread).

If you put this on your Google Pages site then you can edit it any time
and just post a link here when you update it.

Schultzter - www.schultzter.ca


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
GPgemini  
View profile   Translate to Translated (View Original)
 More options 7 Nov 2006, 15:47
From: GPgemini
Date: Tue, 07 Nov 2006 15:47:03 -0000
Local: Tues 7 Nov 2006 15:47
Subject: Re: How I built my homepage - Full summery
OK then, as soon as it's ready, I'll post a link here to a "How I built
my homepage" page on my website.
But the current contents should stay here in GPC for easy searching.

    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MetayleyMevaseret  
View profile   Translate to Translated (View Original)
 More options 7 Nov 2006, 17:40
From: MetayleyMevaseret
Date: Tue, 07 Nov 2006 09:40:42 -0800
Local: Tues 7 Nov 2006 17:40
Subject: Re: How I built my homepage - Full summery

GPgemini wrote:
> OK then, as soon as it's ready, I'll post a link here to a "How I built
> my homepage" page on my website.
> But the current contents should stay here in GPC for easy searching.

Great (Gadol) thanks for the many advices (toda Raba )
Chaim

    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
J.A.  
View profile   Translate to Translated (View Original)
 More options 7 Nov 2006, 21:52
From: J.A.
Date: Tue, 07 Nov 2006 13:52:51 -0800
Local: Tues 7 Nov 2006 21:52
Subject: Re: How I built my homepage - Full summery
With "Uploaded stuff" you can upload HTML,CSS files totally created by
yourself

http://josealberto1975.googlepages.com/gpc_books.html
http://josealberto1975.googlepages.com/gpc.css


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
schultzter  
View profile   Translate to Translated (View Original)
 More options 8 Nov 2006, 18:08
From: schultzter
Date: Wed, 08 Nov 2006 18:08:19 -0000
Local: Wed 8 Nov 2006 18:08
Subject: Re: How I built my homepage - Full summery
Yes, but you can never replace your homepage - it will always be the
GPC homepage.  Even if you upload a home.htm(l) or index.htm(l) or
default.htm(l).

You also have a 500 file limit in your uploads and no sub-directories
and files are served as MIME type application/octet-stream.  Depending
on what you are using the files for all this can be an issue.

<asbestos-underwear>
For your pages I strongly recommend you stay with GPC page editor.
</asbestos-underwear>

Schultzter - www.schultzter.ca


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gingi  
View profile   Translate to Translated (View Original)
(1 user)  More options 8 Nov 2006, 19:48
From: Gingi
Date: Wed, 08 Nov 2006 19:48:34 -0000
Local: Wed 8 Nov 2006 19:48
Subject: Re: How I built my homepage - Full summery
Hi ,
I was trying your Gallery idea with http://www.flash-applets.com but it
did not work for me .
Can you explain step by step how to do it .
I am new in the game
Chaim

    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
GPgemini  
View profile   Translate to Translated (View Original)
 More options 8 Nov 2006, 19:59
From: GPgemini
Date: Wed, 08 Nov 2006 19:59:27 -0000
Local: Wed 8 Nov 2006 19:59
Subject: Re: How I built my homepage - Full summery
I'll try to describe it shortly here.

I uploaded the following files to GPC
http://gpgemini.googlepages.com/fimg1.JPG
http://gpgemini.googlepages.com/fimg2.JPG
http://gpgemini.googlepages.com/fimg3.JPG
http://gpgemini.googlepages.com/fimg4.jpg
http://gpgemini.googlepages.com/slideshow5.js
http://gpgemini.googlepages.com/slideshow5.swf
http://gpgemini.googlepages.com/slideshow5.xml

and put the following code in my page:
<script src="slideshow5.js" type="text/javascript"></script><script
type="text/javascript">slideshow5("slideshow5.swf",320,240,"slideshow5","#F FFFFF");</script>

You need to modify the slideshow5.xml file before uploading it, to tell
it what images to use, where to link the slideshow and such.
for example my xml looks like this:
<slideshow>
<parameters>
        <registration_code></registration_code>
        <movie_width>320</movie_width>
        <movie_height>240</movie_height>
        <bgcolor>FFFFFF</bgcolor>
        <pause_time>85</pause_time>
        <speed>3</speed>
        <image_link>http://picasaweb.google.com/gpgallery/</image_link>
        <link_target>_top</link_target>
</parameters>
<images>
        <image_path>fimg1.jpg</image_path>
        <image_path>fimg2.jpg</image_path>
        <image_path>fimg3.jpg</image_path>
        <image_path>fimg4.jpg</image_path>
</images>
</slideshow>

notice the image names and the link to my gallery.
also be sure you are not using any folders since GPC doesn't support
that.

G'luck,
Guy.


    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gingi  
View profile   Translate to Translated (View Original)
 More options 9 Nov 2006, 04:46
From: Gingi
Date: Wed, 08 Nov 2006 20:46:16 -0800
Local: Thurs 9 Nov 2006 04:46
Subject: Re: How I built my homepage - Full summery
Thanks (Toda Raba )
I dont want to use Picasa and my pictures are on the googlepages .
Can i link it for each slideshow to the pictures on the same folders
where the Js , swf , xml
are located ?
Chaim

    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gingi  
View profile   Translate to Translated (View Original)
 More options 9 Nov 2006, 12:32
From: Gingi
Date: Thu, 09 Nov 2006 04:32:38 -0800
Local: Thurs 9 Nov 2006 12:32
Subject: Re: How I built my homepage - Full summery
All working OK
Thanks (Toda)

    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google