Administration
This section is not normally visible or accessible using the usual site navigation.
Its purpose is to automate the production of data used on LPMCC.net and to run checks. Wherever possible these tasks are automated to make them simple and foolproof so that they are run regularly, at the appropriate time, and without human error.
If a browser does not support the page scripts, its link is disabled.
Contents of this section may not be available on-line.
Update Content
What pages are new today?
Standard Files: sitemap.xls and mobile/index.htm are complete files. rss.xls, home_map.htm and news_index.htm are partial data files for insertion.
Validate Data Comprehensive checks of menu_db, reunions_db, badge_db & extra_db, members_db and rallies_16. Run dev_datacheck.htm as an independent diagnostic if standard pages fail to display.
Close the job then transfer this list to the web server.
Charts are now included in Statistics, imported into an iframe.
Special page data
Clean Text removes and replaces characters that do not encode properly.
Add Star Ratings after copying and renaming star.eml
files into admin/stars and running 1st_run.bat
to rename as .txt files and create a list.
Reads data imported as text files in an iframe and therefore need to be from a server.
Rally Locations Geocodes Hans Veenendaal's Excel data for the European rallies to be plotted.
Rally List Hard codes rally list data from current rallies.js
file into format for pasting into rally_links.htm.
Author's latest page. Click this to trace the most recent report from any author.
Member message Creates CSV data and a message template appropriate for sending to people whose past membership years overlapped the person the message is about.
Not available on-line
Rear Observation Creates rear_obs array for use in rearobs.js
either from email forms or by manual input (from paper forms!)
New people and authors Produce data for people.js > author_data[ ]
& people_data[ ]
. Also checks when people become authors.
News process checklist. Keep open while doing News Update.
Pallet of preferred website colours.
Photo Processing
Copy incoming photos to the admin/photos folder, run dirn.bat then ...
Inspect and Deselect: Choose the photos that can be deleted.
Album Numbers: If creating a new album page, choose an available number from this list.
Rename: Three renaming batch files. By date of photo, by example text and thumbnails for a selected recent page.
Choose Photos: Select photos in required order and groups. Indicates aspect ratios.
Update the photo section sitemap by unremming photoSiteMap() function call in eggstra() function of data.js and then open the page for the XML to appear in the Contact Centre. Add the NEW data to the TOP of the appropriate sitemap file. Then open Image Sitemap page to remove any duplicates. Check XML syntax.
Check Thumbnails: For existance and correct 125x94 dimensions based on menu_db listing.
OpenGraph Image: Create 600x315 if there are enough thumbnails.
Incoming Documents photos and badges as they arrive and are prepared for later addition to the website. The documentation files are gallery/incoming.js and rallies/incoming.js.
Check of next BUT ONE event promo photo.

Badge Work
Additions per week as a shaded table to indicate how many were added.
Prioritise non-rally badges with first letters least represented so far.
Rename batch file Detects foreign characters first !
Create a list.txt
of badges using dirn.bat
, then run this.
Paste result into renr.bat
and original_names.js
.
Final badge names need checking.
Perspective Correction For photos taken from an angle. Reduce distortion. Images need further work in PaintShopPro. Capture image with WinKey+Shift+S
.
Find existing sizes and locations of the website .GIF files.
Show and measure similar badges by comparing badge_db[ ]
badge names with original_name.js > btitle[ ]
data.
Badge data Use selected unused badges list from the above program to create data lines for badge_db[ ]
, extra_db[ ]
, patch_db[ ]
and card_db[ ]
.
Code Subtypes Code cloth badges (patches), machine badges and stickers with subtypes and replace entries in patch_db[ ]
.
Count Subtypes Count cloth badge (patch), machine badge and sticker subtypes and find the maximum count.
Badge counts Find the latest totals from badge_db[ ]
, extra_db[ ]
, patch_db[ ]
and card_db[ ]
.
Update Badge Sitemap Paste the result into root/sitemap_badges.xml
.
Then open Photos Sitemap page to remove any duplicates.
Rally Reports with no badges Writes a badge_db
entry when there is a report without a badge. These must be added at the top of the badge_db
letter group and NOT sorted and indexed.
Missing Rally Reports List rally reports that are NOT in BOTH menu_db AND badge_db.
Patch class promo pictures Double size promo pictures of latest and embargoed patches, machine badges etc.
Promo & Thumbs For rally reports without photos.
Promo Badges Create a 500x200 Promo banner after adding new badges.
Thumbnails Create thumbnails from badges for rallies that do not have photos.
All Badges Hard HTML code with ALL badges with title and sender in the ALT attribute. Code is transferred to motorcycle_rally_badges.htm
. Also update menu_db
.
Resize badges based on the pixel size of included scales or coins. Examples of existing badges can be shown.
Badges Checks which badges are anonymous and which badges are not included in badges.js
. Before running this page use the badge.bat
file to create a badge.txt
list of the badges in the rallies/gif
folder.
Cycling Tasks
Route Plotting Geocodes polylines on a map and measures approx mileage. Used in cycling.js > fpc[ ]
.
Cycling Miles Creates data lines for miles from Google Keep list. Used in cycling.js > cycle_db[ ]
.
Adjust existing data lines for miles above minimum.
Rupert Rhymes Add rhyme to box to create Rupert banner.
WhatsApp reformat Paste in copy of WhatsApp messages to reformat into data suitable for smsnn.js
file.
Review Lunches Paste ALL review emails into the reviews folder, click 1st_run.bat
to rename and create list, then run this program. Output average values into pubs.js
.
Pub Link Create a link to an Embers listed pub.
( automatically created for new reports )
Reduce the decimal places for Lat/Long copied from Google Map.
Regular administration
People Links Creates hard HTML coded links for everyone mentioned on LPMCC.net for home_everyone.htm and all past members mentioned for members_everyone.htm.
[Update January.]
All Badges Hard HTML code with ALL badges with title and sender in the ALT attribute. Code is transferred to motorcycle_rally_badges.htm. Also update menu_db and admin_sitemap.htm.
[Update February.]
Links listed with page address. Keep data in rally_links.xls and paste into external.js. Then use dev_links.htm in IE to find which links no longer work.
[Check March.]
Photographs listed with page and dimensions for gallery data JS files.
[Check April.]
Messages Shows the current messages contained in back_message in data.js shown in the Message Centre and the date of the cookie ID.
Page information Displays information for a page based on the page content and menu_db. Use to cross check consistency.
External services & checks
RSS Validator to check the RSS conforms to standards.
Check website security. Look for malware, blacklisting and vulnerabilities.
Convert map coordinates Convert between Latitude/Longitude & OS National Grid Reference points.
Changes to common.js
Show/hide all changes.
Date | Location | Change |
New and updated
Insert this table into stats.js > history_db
Star ratings are added to history_db by hand from email count.
This table is location dependant and is only correct when regularly viewed!
These figures are graphed on the Statistics page.
Cookies
Name | Value |
Local Storage
Name | Value |
localStorage
This browser in this environment CANNOT access localStorage. Some site features are therefore disabled.
Test Area
all rally badges
THIS IS A TEST OF THE FLASHY TEXT SYSTEM
Why are police officers so strong?
Because they hold up traffic.
What did the grape do when it got stepped on? It gave out a little wine.
Example of Scalable Vector Graphics - no pixelation at any size!
THIS IS ANOTHER TEST OF THE FLASHY TEXT SYSTEM
Two test links...
a good one
and a a bad one.