Technical Notes

Backup Site in Blogger format 

(i.e. just code (not pictures) for all pages, posts, widgets, customisation etc.
  • Settings - Manage Blog - Backup Content - Download file in xml format e.g. blog-08-01-2021.xml
  • This is useful to recreate blog if something VERY major goes wrong.  Links to images will probably still work after reinstatement.


Backup Site in PDF format - Monthly

This backup ensures that as information is moved onto the website, it is still searchable within the Research Resources folder of desktop computers.
It also insures against some online disaster that deletes our website !!!
  • Check that Google Chrome Extension "LinkClump" is operating.  
  • Browse to DTHS Website SiteMap
  • Activate the extension (usually by holding down z and left clicking mouse and dragging it over a list of Links.  A selection box should be visible and each link included should be highlighted as you drag.  
  • The extension seems to have a limit of about 200 links, so if it fails on the full list, copy sections of the list into a TextEdit file
  • Buy 1 week access for $5 from Sejga (accepts URL lists and downloads them as PDF's)
  • Go to the HTML to PDF Conversion page
  • Past 100 URL's at a time, and check that "More Options" are set to portrait A4 with a 1.5cm margin.
  • Download the zip file
  • Unzip the file to see each page as a PDF
  • After completing download of all site pages/posts, delete the contents of the "Research Resources/DTHS Website Backup" 
  • Copy the new backup into the folder.

SiteMap listing titles of all pages within the blogger website

  • Add page that will automatically create a "sitemap" i.e. list of all pages in the site.
  • 2 main functions:
            ◦ Assist people and website "spider" "crawlers" to find the site contents
            ◦ Make it easy to periodically download the site contents
  • Code obtained from How to List the Post Titles of all POSTS from your Blogger/Blogspot Blog [Tutorial] (addictofblogging.blogspot.com)
  • Collect code from http://addictofblogging.blogspot.com/2015/09/List-Post-Titles-of-all-Posts-from-your-Blogger-Blogspot-BLOG.html
  • Create page in blogger: Paste code
  • Working successfully for more than 450 page titles (July 2021)
  • Have found NO WAY to list alphabetically

Anchor points within a story

Allows links to be made to specific locations in very long pages.
 
At the location within the story place an "anchor" point id e.g. 
<a id="4ElvisSt">4 Elvis Street</a>

You can now jump to this location by adding #4ElvisSt to the page link address e.g. 
 https://dt-hs.blogspot.com/2021/06/donview.html#4ElvisSt

The code for the link should now look like
<a href="https://dt-hs.blogspot.com/2021/06/donview.html#4ElvisSt">4 Elvis Street</a>


Calendar sidebar widget code (not in use)

2020 - was in RH block BUT block not wide enough to show titles so was misleading
Moved into full page

Copy the following link code to subscribe to this calendar on your phone or computer: https://calendar.google.com/calendar/ical/doncastertemplestowehs%40gmail.com/public/basic.ics



















No comments: