Sunday, April 28, 2024

Leaving Blogger–Moving to Facebook…

I give up!!! I can’t seem to find a workaround for my blogger editor and so this is the last I’ll post here. I am going to continue updating our travels on Facebook at https://www.facebook.com/OnTheRoadofRetirement/ for those that are interested. Check it out to see the results of getting our RV painted down in Puerto Penasco, Mexico, or Rocky Point as known by the Arizonans…

Sunday, March 31, 2024

New Laptop, New Problems, Possible Solutions…

After having issues with my Open Live Writer Application I resorted to using Google Blogger's service to publish the last two blogs. I did so because for some reason my photos quit showing up in Open Live writer once published.

We weren’t doing much more here in Mesa Arizona that I had already mentioned so I paused blogging because of the issues with Open Live writer and I also was having issues with my laptop keyboard. The space bar would work intermittently making it a pain to pen a new blog.

Then a few days later my laptops screen started acting up until one day I opened it up and the screen was a scramble of lit up pixels and nothing was discernable. Well, that meant it was time to buy a new laptop. Fortunately for me Best Buy had one that suited my needs for a 50% discounted price.

Now all I had to do was get everything off my old laptop’s hard drive. I took the back cover off to get to the hard drive so I could remove it and read it with a cable adapter I own that reads older hard drives. However, little did I know that this hard drive was the type that is hard waited to the motherboard. This SSD hard drive is nothing more than a small circuit board.

stick

With a little research I found a device at Amazon designed to read such drives. For less than twenty dollars I was able to read the drive and retrieve all my files. Now all I had to do was install all my software on the new laptop.

However as we all know those of us he have dealt with Open Live Writer and new laptops know how tricky it is to get Open Live Writer installed and working as we want. Well, my new laptop is configured now and this will be a test post to see how it works.

NOTE: Adding this Java script:to the template for Open Live Writer forces a page refresh that loads the image. Not a perfect solution but one that works.

<script type="text/javascript">
//Get all the doc img
var imgs=document.getElementsByTagName('img');
//Defines
const srcA='drive.google.com/uc?id=';
const srcB='drive.usercontent.google.com/download?id=';
const srcBRemove='&authuser=0';
const targ='drive.google.com/thumbnail?id=';
const suf='&sz=w200';
function reWriteIMG()
{
//loop though the img if it contains the index of the string to replace
for (var i= 0; i < imgs.length; i++)
  {
  if (imgs[i].src.indexOf(srcA) > -1 )
     {
     imgs[i].src=imgs[i].src.replace(srcA, targ) + suf;
     }
  else
     {
     if (imgs[i].src.indexOf(srcB) > -1 )
        {
        tmp = imgs[i].src.replace(srcBRemove, '');
        tmp = tmp.replace(srcB, targ) + suf;
        imgs[i].src = tmp;
        }    
     }
   }
}
setTimeout(reWriteIMG, 5000);
</script>