Syndicate content
> Downloads

Downloads

How To Create a Basic RSS Feed : A Few Extras & Downloads

Introduction to RSS
Creating a RSS Feed
A Few Extras & Downloads


A Few Extras & Downloads

If you want to validate your feed you can do that with this validator.
RSS Validator

Paul (CWM Community Member "Bobbymac") has so graciously provided us with a RSS Parser to parse feeds on our websites. You can click here to download the parser.
Scott Powers
www.living2serve.netScott Powers aka livetoserve

Logging Visitors Scrolling with JavaScript : Configure Our Script

Introduction
Configure Our Script
Getting Into the Code


Configure Our Script

To start, let's make the script configurable so it can be somewhat customized for each page on which it is embedded. The actual tracking of how far the page has been scrolled involves a program cycle. This means that the program loops through, over and over, to check whether the scrolled position of the page has changed. So, let's allow for a configurable amount of time the program should wait after it finishes one cycle, before it jumps into the next. We will use milliseconds as the unit of measurement:


// Set to amount of milliseconds to wait between vertical-scroll-distance checks
var cycleLength = 100;

Logging Visitors Scrolling with JavaScript : Introduction

Introduction

Configure Our Script

Getting Into the Code



Introduction

Let's face it, webmasters love to know how many hits their sites get. We pour over the logs and stats, counting each hit.
Sometimes we even put counters on our sites to show the world how many people have visited since oh, say, 1998. We know that no
one really cares but us, but that doesn't matter.

Well, by now I would imagine most of us know how to track hits and visits to our pages. But let's say you have one page that
is particularly long. We can see that someone has made a request to the server for it, but we never get to find out how far down
that page they actually scrolled.

Logging Visitors Scrolling with JavaScript : Getting Into the Code

Introduction
Configure Our Script
Getting Into the Code


Getting Into the Code

Some of these will not make sense quite yet, because they are defined before the primary function of the program to ensure that they have been loaded before the primary function begins to execute. After reading the article, you may want to re-read it so those functions begin to be clearer and are seen in context.

Syndicate content

User login

Christian-Web-Masters.com newsletter

Stay informed on our latest news!