Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
For 2021 - online Python 3 training - see ((here)).

Our plans were to retire in summer 2020 and see the world, but Coronavirus has lead us into a lot of lockdown programming in Python 3 and PHP 7.
We can now offer tailored online training - small groups, real tutors - works really well for groups of 4 to 14 delegates. Anywhere in the world; course language English.

Please ask about private 'maintenance' training for Python 2, Tcl, Perl, PHP, Lua, etc.
Diluting History

Our web site keeps a dynamic log of accesses to our main URLs, together with key words and phrases associated with the URLs. It's a lot more than a web access log, as images such as this one are indexed under "Fish Pass Chippenham" as that's the "alt" tag that's associated with the image on some of our pages, and on most of the 'html' pages the indexing text excludes the page decoration but includes the content. And each time a URL is visited by a 'live' user, we count that access to keep tabs on what's popular, and we also do so by training course module. Again, it's much more than just the web server logs.

Why do we do all this work?

Firstly and foremost, so that we can provide a sitemap to the search engines in which we can weight the relative importance of our pages for them, based on the section of the web site the pages are in, the number of times they're accessed, their age and other factors of our choosing.

Secondly, so that we can provide additional search facilities on our site - this is currently in a test form, but if you follow this link you'll see the way we can list resources on our site that reference "Lacock" ... starting with what we consider to be our most important pages (not necessarily the most important pages for that term, though!)

Thirdly, so that we can highlight top resources for a particular module on that module page. We're using a look and feel that should be familiar to anyone who looks theough search engine results (that's nearly everyone, right?):

Python Programming - The fundamentals in depth, and an introduction to applications such as GUI design and Data Munging.
This course starts at the fundamentals ...
http://www.wellho.net/course/ypfull.html  [course]
Learning to Program in Python - The fundamentals in depth, and an introduction to applications such as GUI design and Data Munging.
This course starts ...
http://www.wellho.net/course/ylfull.html  [course]
In all object oriented languages, you have a facility called inheritance where you can define one type of thing ("class of object") based on another, ...
http://www.wellho.net/mouth/1819_Cal ... ctors.html  [short article]

In (Object Oriented) programming terms, Inheritance is used to define a type of data (an object ) which behaves like another type of data with some ...
http://www.wellho.net/solutions/python-i ... tance.html  [longer article]
The constructor you'll normally override (and call when you create an object) in Python is called __init__, but there is also a method called __new__ ...
http://www.wellho.net/mouth/1146_-ne ... ives-.html  [short article]
Do you find some of the OO terminolgy baffling? Once you've learnt about constructors and methods, inheritance, overloading and polymorphism and statics, ...
http://www.wellho.net/mouth/1217_Wha ... sses-.html  [short article]

I started the counters some 9 months ago ... and we've been steadily counting page visits since that time. But there's something of a problem there; it means that pages that were called up heavily six months ago now have an undue weight, and that up and coming new pages are taking a long time to be decently rated on the prime mover for this work - which is our sitemap. It's rather like they started in the air, then they got put into water and became more sluggish in their reaction. Then cooking oil, then treacle and eventually tar. So what was originally a responsive and positive system was becoming quite the reverse - a hinderance.

The solution - an interim solution that I'll be applying every month or two - is to dilute the access counters. Add more water to the mix, make the tar far more 'runny' for a while. Yes, it will thicken up again over coming weeks, but at least the current sitemap.xml file has changed very little right away, but it will adjust far quicker over the coming week. And to dilute the access counters ... a simple SQL line:

mysql> update cn_content set nstores = 1 + nstores/10;

Basically, dividing all the accesses to a tenth of their previous significance, but ensuring that none of them is allowed to fall off the scale to a "zero". I do have a copy of my 'before' and 'after' sitemaps; the factors have changed straight away, but not greatly so. The history remains, all be it in a diluted form, and that's exactly what's needed for a dynamic site such as ours.
(written 2009-09-27)

Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
G911 - Well House Consultants - Search Engine Optimisation
  [165] Implementing an effective site search engine - (2005-01-01)
  [427] The Melksham train - a button is pushed - (2005-08-28)
  [1015] Search engine placement - long term strategy and success - (2006-12-30)
  [1029] Our search engine placement is dropping. - (2007-01-11)
  [1344] Catching up on indexing our resources - (2007-09-10)
  [1793] Which country does a search engine think you are located in? - (2008-09-11)
  [1969] Search Engines. Getting the right pages seen. - (2009-01-01)
  [1971] Telling Google which country your business trades in - (2009-01-02)
  [1982] Cooking bodies and URLs - (2009-01-08)
  [1984] Site24x7 prowls uninvited - (2009-01-10)
  [2000] 2000th article - Remember the background and basics - (2009-01-18)
  [2019] Baby Caleb and Fortune City in your web logs? - (2009-01-31)
  [2045] Does robots.txt actually work? - (2009-02-16)
  [2065] Static mirroring through HTTrack, wget and others - (2009-03-03)
  [2106] Learning to Twitter / what is Twitter? - (2009-03-28)
  [2107] How to tweet automatically from a blog - (2009-03-28)
  [2137] Reaching the right people with your web site - (2009-04-23)
  [2324] What search terms FAIL to bring visitors to our site, when they should? - (2009-08-05)
  [2330] Update - Automatic feeds to Twitter - (2009-08-09)
  [2552] Web site traffic - real users, or just noise? - (2009-12-26)
  [2562] Tuning the web site for sailing on through this year - (2010-01-03)
  [2686] Freedom of Information - consideration for web site designers - (2010-03-20)
  [2748] Monitoring the success and traffic of your web site - (2010-05-01)
  [3670] Reading Google Analytics results, based on the relative populations of countries - (2012-03-24)
  [3746] Google Analytics and the new UK Cookie law - (2012-06-02)
  [4121] Has your Twitter feed stopped working? Switching to their new API - (2013-06-23)

Back to
Operator overloading - redefining addition and other Perl tricks
Previous and next
Horse's mouth home
Forward to
Tcl scripts / processes on a web server via CGI
Some other Articles
Using print_r in PHP to explore mysql database requests
Moving busstop!
Not just a PHP program - a good web application
Tcl scripts / processes on a web server via CGI
Diluting History
Operator overloading - redefining addition and other Perl tricks
Which version of MySQL am I running?
Weekend and Christmas Promotion - Well House Manor Hotel, Melksham
A Winter Weekend Special at Well House Manor
What is a JVM, a JRE, a JDK - components of the core Java Environment
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page

This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2022: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/2428_Dil ... story.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb