spacer.png, 0 kB
Personal Blog


My Camera Equipment

« July 2021 | Main | May 2021 »

June 2021

Regina's Personal Blog

Wednesday, June 16, 2021

Commentics & Thingamablog

Recently, I added comments and the option to shorten initial posts with a "read more" teaser to this blog and my business blog. I discuss this project in this post on my business blog.

To minimize legal issues, I use the Thingamablog content management system (CMS) to publish my off-line blog posts to my sites. This insures that I maintain the master copies of my blogs off-line on computers and as backups on external storage devices.

One of the problems with using a CMS hosted locally, and not popular online services like Blogger and WordPress, are issues with comments. Most users who go this route, use services like DISQUS to host the comments associated with their blogs.

The illustration below, shows the script added to the Thingamablog entry.template file for each blog (this and Remix), to handle comments and the read more teaser.

To date, though I have added the feature to this blog, I have not used the "read more" teaser, so I used an illustration from Remix, where I have used the new feature.

I also want to note, if you are a Thingamablog user, and want to try the "read more" teaser solution I discuss in the Remix post, you have to insure the HTML inserted into the Extra 1 field is clean. No double quotes, carriage returns, line feeds, etc. Why? My implementation uses Javascript which has an issue while reading the remaining post text- stored in the Extra 1 field. I only needed to check if the field was not null and believe it or not, that check was not easy.

Initially, I installed DISQUS on each blog, however, by late last week interesting ads began to appear on this blog, so I decided to install a self-hosted comment script. After a bit of research, I decided to use Commentics.

Several issues installing the new script. The first, I use Apache Tomcat so any time I add a PHP driven feature I have issues. One of the workarounds I have found, install the new feature on a sub-domain and make sure to update the underlying Tomcat XML files to handle the new sub-domain.

The second, I did not realize Commentics was a cPanel offering through Softaculous. I downloaded the script and prepared to SSH the files to my server when I found I could no longer use the SCP command I illustrated in this post. In 2017, when I first setup ssh access on qisoftware.com it took me a morning or so to get it setup correctly. I love being able to copy directory trees with a single line of code. Not sure why this is blocked, however I used FileZilla to copy the files. Then I discovered Commentics is a script offered by my web host.

To enable Commentics on this blog, I added the lines of code indicated, to the header and lower areas of the entry.template file of this blog's template.

The following illustration shows the last blog post entry with the Commentics script for comments in the lower area.

I continue to tweak the Commentics template for this blog. I really like this service because it offers a lot of features. Because I am concerned with load issues, DISQUS continues to be the service used on Remix. That said, other than my test comments, I have no comments so I am not sure why I am concerned with this issue.



Friday, June 11, 2021

WiredPages Weather: Why Am I Seeing This?

In September 2018, I developed a new world weather interface for WiredPages. I discuss the new tool (September 2018) in this blog post.

The following illustration is the same graphic used in the post referenced above, to show in September 2018 I was still doing most of my software development work using my MacBook. You can tell by the standalone application shots running in the Mac version of Firefox.

In January 2019, the original Yahoo! API was retired so I had to come up with another source of real time weather data.

Luckily, Yahoo! had another offering, although more complicated to integrate than the original, I worked out the issues and reinstalled a revised WeatherTool in late January 2019.

In late April 2021, I was notified that the Yahoo! Weather API was being retired and thanked for my interest in the resource. I wanted to believe the notification referred to the resource retired in January 2019 and not the feed I was currently using for the weather interface used on WiredPages.

That said, just in case my Yahoo! powered tool would become inoperable on June 1, 2021, as the email indicated, I developed another interface using a new data source. I wrote about the new interface on Mother's Day of this year, in this post.

The illustration below is from the May 9, 2021 (Mother's Day) post. It shows the then current Yahoo! WeatherTool side by side with the new interface using WeatherAPI data, running in my standalone development environment.

So why are you seeing a Weather Widget from WeatherWidget.io on the main page of WiredPages, as illustrated in the screen grab below and not the new WeatherAPI powered interface?

Too many security issues. As I have already indicated, the Yahoo! Weather interface developed in January 2019 was difficult, and should have been the tool I would not want installed on a less secure server. I like the new WeatherAPI tool, and it is ready for installation, however there is just something about the many issues I am having of late, that I do not like and so I am going to hold off on installing my new interface.





Business Directory

spacer.png, 0 kB



Contact | Accessibility | Products | CSS and XHTML
Disclosure Policy
© Copyright 2011-2025 QiSoftware
You may not copy this work.


    Sponsors
    Things I Heart
    Computer Electronics/Home Office
    Items I Have
    Just Want
    Gift Ideas
    Home Furnishings & Kitchen
    Back to School
    Coach

    Shop My Sale






    Community





    MarylandBloggers

    My Instagram Feed

    Calendar

    Archives
    Search
    Categories
    Credits
    Powered by
    Thingamablog 1.5.1

    Owner/Blogger
    Regina Thomas
             Follow

    Subscribe To My Channel


    As an Amazon Associate I earn from qualifying purchases.






spacer.png, 0 kB