Archive for the ‘Web Site Software’ Category

Today’s Business: 2010-02-25

Thursday, February 25th, 2010

Today’s Activities

  • Shower.  DONE.
  • Schedule appointment for Mom with the retina specialists in Johnstown for sometime in April, 2010.

Log

07:50 AM: I’m up. My weight is unchanged from yesterday.  It’s still  177.0 Lbs.

09:00 AM: I applied a software change to all my blogs that shortens all title tags for single posts; it eliminates the string:  Blog Archive  as well as one separator character from the titles.  This should fix the issues raised by my hosting provider about some of my title tags containing too many characters.  Presumably now, search engines will index more of my posts.  I’m not sure that this is actually true.  But the IT folks at my hosting company know lots more about this stuff than I do.  So I’ll take their word for it and bring the blogs into compliance.  Next thing to do, they suggest, is to remove all duplicate titles.  I did this for   Tom’s Diary  so far.  I’ll get to work on   Tom’s Love Quest   now.

11:20 AM: Spent the past couple hours categorizing posts on the   Tom’s Love Quest   blog.  I added categories for AffirmationsAloneness,  Cheating,   and   Loneliness   among others.

01:30 PM: Watched today’s episode of   The Young and the Restless   with   [Emmy].

02:50 PM: We dined at our favorite Indian restaurant: Tamarind Flavor of India, on Craig Street in Oakland.  Yum.

03:00 PM: Categorized more posts on the   Tom’s Love Quest   blog.  Now, there are just 18 left to do.   Details   here.

04:00 PM: Watched today’s episode of   Dr. Phil.

06:00 PM: Made numerous revisions to the   Tom’s Love Quest   blog.

07:30 PM: Watched tonight’s episodes of    NBC’s Nightly News    and   The CBS Evening News   TV news shows.

12:25 AM: Read four more chapters of the book:  The Drunkard’s Walk: How Randomness Rules Our Lives   by Leonard Mlodinow.

12:30 AM: Bed time.  See you tomorrow.

Tom Hesley

Related Posts

Today’s Business: 2010-02-24

Wednesday, February 24th, 2010

Today’s Activities

  • Shower.  DONE.
  • Schedule appointment for Mom with the retina specialists in Johnstown for sometime in April, 2010. 

 

Log

08:15 AM: I’m up. My weight is unchanged from yesterday.  It’s still  177.0 Lbs.

10:00 AM: Watched today’s episode of   Pittsburgh Today Live   on KDKA TV.

11:20 AM: Spent the morning submitting my blogs to more search engines.  I encountered many that required payment in order to submit.  So I avoided those and will continue to do so until the blogs begin generating some revenue. I did submit the sites to perhaps ten free engines and directories. 

01:30 PM: Watched today’s episode of   The Young and the Restless   with   [Emmy].

03:20 PM: Walked [Emmy] to an appointment, picked up the new digital talking book (DTB) player from Carnegie Library For The Blind, and a couple of digital books to try out on it.  We also ate lunch at Pizza Pronto. 

03:55 PM: Watched today’s episode of   Dr. Phil,  about a teen aged drug addict that Dr. Phil paid to send to rehab.  However, this individual relapsed some forty-five days after he finished his treatment.  Today’s show focused on what to do next, to get him back into treatment, and cured this time.  Not one of my favorite episodes, but not bad though.

04:00 PM: Nap time.

06:00 PM: I’m back up again, listening to the local evening news.

07:30 PM: Watched today’s episodes of   NBC’s Nightly News   and   The CBS Evening News   news shows.

07:45 PM: Resolved an Outlook address book problem for [Emmy].  Choosing the address book in her instance of Outlook 2003 caused an error message, saying that either her address book had been deleted, or she had insufficient permission to access it.  I discovered that she had two instances of the “Contacts” address list mentioned in her address book.  One of these produced the aforementioned error, and the other correctly displayed her addresses.  You can set which one displays by default when the address book is opened.  So I changed her default to the one that works.  I was reluctant to delete the other one because it has the same name as the one that works (Contacts), and so I didn’t want to risk deleting both of them inadvertently while deleting just the one.  Anyway, she’ll be okay as long as she doesn’t accidentally change the default list to display back to the faulty one. 

08:05 PM: Posted the   NLS DTB Player   piece.

09:30 PM: Went out for a little   shopping trip   this evening to buy some diet Pepsi.

10:30 PM: Talked with Mom.  She’s doing well and her blood sugar readings have been pretty good (< 200) this week mostly.  I’ll resume the daily status updates on these readings when I return home.

11:45 PM: Investigated how to fix numerous title tag issues on my blogs for search engine optimization (SEO).  One complaint I received is that lots o fmy titles are too long.  So I went through today and shortened them.  However, by default, WordPress places the blog name and the string “blog archive” into the title tags for pages that display single posts, and this additional yet redundant data can make a fairly short title too long.  I’ve learned how to shorten this WordPress-generated title so as not to include my blog name, and will apply that change to all my blogs later this week.

12:20 AM: Created audio journal episode: AJE-2010-02-25-00-10.

01:10 AM: Started a new book:  The Drunkard’s Walk: How Randomness Rules Our Lives   by Leonard Mlodinow. 

01:15 AM: Heading to bed.  Later.

Tom Hesley

Related Posts

Today’s Business: 2010-02-19

Friday, February 19th, 2010

Today’s Activities

  • Cat duty.  DONE.
  • Dispense Mom’s meds. DONE.
  • Shower.  DONE.
  • Schedule appointment for Mom with the retina specialists in Johnstown for sometime in April, 2010. 
  • Order more checks for Mom.  DONE.  They’ll call us when the order is ready. 
  • Get together all papers and figures for Mom’s 2009 taxes.  IN PROGRESS. 
  • Do all my pending laundry (5 loads).  DONE.

 

Log

08:00 AM: I’m up. My weight is the same as yesterday; 174.0 Lbs.

10:30 AM: Worked the   WPSBC Alumni Association Web Site Revamp   project.

10:50 AM: Heading out to Mom’s eye doctor appointment,  shopping,   and lunch.  I’ll return this afternoon sometime.

02:30 PM: I’m home again, starting the laundry.

04:00 PM: Tested   [Emmy]‘s  IRIS Internet WebRadio with this new Ethernet cable I purchased this morning.  It works well.  We’ll probably just use Ethernet instead of the WiFi, as the Ethernet connection works much better on this device, and requires no router adjustments be made, to gain proper operation. 

05:50 PM: Watched today’s episode of   The Young and the Restless   on the DVR.

06:45 PM: Updated Mom’s med sheet.  She’ll be taking a little less diuretic per doctor’s instructions, ans I’ve adjusted the sliding scale we use for dispensing her Novolog insulin, based on recent readings. 

09:00 PM: Watched the 2009-10-25 and 2009-11-01 episodes of NBC’s   Meet The Press   news show on the DVR.

10:30 PM: Talked with [Emmy].  We’re planning my visit.  We figure we’ll run to the grocery store a few times if the snow isn’t too deep, and we’ll watch lots of TV and movies, and she has a few computer issues for me to investigate and solve hopefully.

11:55 PM: Fiddled around with the sitemap.xml display problem on the   Tom’s Views   blog.  It’s never displayed properly, apparently because the URL to the required XSL style sheet file is not included in the sitemap.xml file when it’s generated.  Interesting that this works properly on all my other blogs.  Investigating. 

12:35 AM: Copied the code files from a working blog (for the sitemap.xml problem discussed above), into the   Tom’s Views   blog.  After a short delay, this appears to have fixed the issue, though I can’t explain how or why.  I downloaded this Google XML Sitemap Generator plugin from the same location for all blogs.  Hmmm.  Perhaps some line noise corrupted a file or something.  Anyway, it’s fixed now and hopefully, this fix survives the test of time.  We’ll see.  :-)

12:40 PM: The last of the five laundry loads I’d planned to do today is finishing up now; it’s a blanket for my bed.  So as soon as that’s done, I’ll make the bed and then get right into it.  So take care, and I’ll catch you out here again later on.  ‘Night!

Tom Hesley

Received Mail and Shipments

  • Offer for Verizon DSL high-speed Internet.  No thanks.
  • The March, 2010 issue of Promo Only’s Urban Radio series.
  • Our final Verizon telephone bills (both Mom’s and mine). 

Tom Hesley

Related Posts

WordPress 2.9.2 Upgrade

Wednesday, February 17th, 2010

12:00 AM: In this project, I’m upgrading all my blogs from WordPress 2.9.1 to 2.9.2.  I’ll track any problems discovered with that effort here.

12:02 AM: All the blogs I manage have been upgraded to WordPress 2.9.2 without problems:

 

08:10 AM: Then, I applied the changes to the new installations described in the post:  Displaying More ‘Recent Posts’ Links

08:15 AM: Then, I applied the change to cancel the retention of post revisions in the database.  That’s described   here

Tom Hesley

Related Posts

Disabling Post Revisions: 2010-02-17

Wednesday, February 17th, 2010

Disabling (or turning off) the retention of post revisions in WordPress 2.9.2 involves the same procedure as it did in WordPress 2.9.1.  Click   here   to view that procedure.

Click   here   for details of the WordPress 2.9.2 upgrade, that prompted this adjustment.

Tom

Related Posts

Disabling Post Revisions: WordPress 2.9.1

Thursday, January 21st, 2010

I discovered that WordPress was again saving every revision of every post, though I had disabled this feature back in March.  Click   here   for more details.  But apparently, in the upgrade to 2.9.1, the automatic retention of these revisions became enabled once more. So I turned off this feature by adding the following lines of code to the wp-config.php file for each of my blogs:

// Disable post revisions.
define(’WP_POST_REVISIONS’, false);

 I also changed line 618 in the wp-settings.php file from

$default_constants = array( ‘WP_POST_REVISIONS’ => true );

to

$default_constants = array( ‘WP_POST_REVISIONS’ => false );

Also note that the line number has changed from 576 in 2.8.5 to 618 in 2.9.1.

Then I deleted all the revisions that had been saved to this point from each blog database by executing the following SQL statement:

DELETE FROM wp_posts WHERE post_type = ‘revision’;

I then logged out and back into each site’s admin id and verified that the revisions saved thus far no longer appear on the Edit Post screen. The deletion apparently worked.   These instructions have been verified to work with WordPress 2.9.1.

That’s all.

Tom

Related Posts

Ads Display Bug: 2010-01-19

Tuesday, January 19th, 2010

08:30 AM: Noticed that since the plugin upgrades last night, the advertisements on this blog are appearing on the bottom three posts on the main page, and not the top three as before.  However, my other two blogs do not display this problem.  Investigating.

09:20 AM: Tried uninstalling and reinstalling the AddSense Integrator plugin.  The display problem persists.

09:30 AM: Tried restoring the site software for the   Tom’s Diary   blog from last weekend’s backups.  This had the effect of downgrading the plugins which I upgraded last night.  However, surprisingly, this did not fix the issue either.  Even with the old versions of all plugins, the ads still appear at the bottem of the main page instead of at the top.  Apparently, something has changed in the database itself.  However, I’m reluctant to restore it to last night’s backup, as I’ve made several posts and post edits since then that would be lost.   So I’ll need to find another solution. Stand by.

10:15 AM: Discovered approximately 20 blank ad records in the AddSense Integrator setup page on the   Tom’s Diary   blog, that are not present in the other two, correctly functioning blogs.  So, I deleted these.  This seems to have partially fixed the trouble.  Now, the first of the three ads indeed displays at the bottom of the first post.  This post is located at the top of the page.  However, the other two ads still appear on the bottom two posts on the main page.  So, I’ll keep digging. 

10:40 AM: Tried deleting all add records and then re creating the ones I need.  But the display issue still persists.  I’d like to have all ads close to the top of the main pages, because there, they’ll be more likely to be spotted, and clicked. 

11:00 AM: Looked for where the AddSense Integrator plugin is storing the data about the ads it displays.  First, I checked each table in the blog database. Didn’t see anything resembling these data there.  Then, I looked in the software directories for the blog, but could not find any recently-modified files there.  However, I didn’t check every possible place on the file system.  But I think I will now.

11:30 AM: Scrutenized the AddSense Integrator’s PHP code file for clues.  Nothing useful discovered so far.

01:20 PM: Looks like the AdSense Integrator stores the persistent data for the ads in the WordPress database wp-options table.  These options begin with abs_int_  . 

01:30 PM: Discovered that even when the AdSense Integrator plugin is removed, it leaves old data in the wp_options table.  So I’m going to remove these rows, reinstall the plugin, and see if the ads display where they’re supposed to.

01:35 PM: Removing the old options data from the database, and then reinstalling the AdSense Integrator plugin  did not solve the issue.  Looking further.

01:50 PM: There’s an AddSense Integrator option checkbox that appears on the post editing screen, which allows the editor to stop ads from displaying at the bottom of the post he’s working on.  In version 1.5.4 of this software, which I’d been using prior to the upgrade to 1.5.7 last night, the default value for this checkbox was UNCHECKED.  That is: Ads would display by default on all posts, unless the editor specifically checked this checkbox before saving the post. However, now the behavior is reversed.  The box is checked even though the data in the database for the post indicates that it should not be.  So whenever the editor either creates a new post, or saves an existing one, this checkbox comes up as CHECKED, and unless he specifically unchecks it before saving the post, the post is saved with the display of ads turned off, even though it was turned on before the save.  This would seem to qualify as a bug in the AddSense Integrator plugin.

Further in this latest version (1.5.7) of the AddSense Integrator, the ads still display as before, as long as you do not either add new posts, or modify existing ones.  This is why my other blogs seemed to be unaffected by the plugin upgrade, as I’ve not added or changed any posts on those since last night.  So, I pulled one post from   Tom’s Love Quest   into the editor, and then re-saved it.  Then, I went to the blog home page, and sure enough, ads no longer appeared on that particular post.  So then, I edited the document again and unchecked the “Check to disable ads on this post.” check-box, and again, re saved the post.  Proper ad display then returned.

02:15 PM: So, I’m investigating the possibility of changing the default state of this checkbox from CHECKED to UNCHECKED.

04:20 PM: Modified line 251 in the AddSense Integrator PHP file from this:

<input type=”checkbox” name=”ads_int_disable” <?php if ($ads_int_disable) echo “checked”; ?>/>

 to this:

<input type=”checkbox” name=”ads_int_disable” <?php if ($ads_int_disable) echo “unchecked”; ?>/>

However, a problem still exists that this checkbox is not correctly set from the post’s meta data.  This is a bug for the plugin’s developers to address.  But this work-around I’ve devised above will keep the box unchecked at all times, and stop the automatic setting of this flag when the post is saved.  No troubles with this here, because I prevent none of my posts from showing advertisements.

04:30 PM: Deleted all the ads_int_disable  records from the post_meta table in the database (six posts had been marked here as advertisement-disabled).  This should re enable display of ads on all posts in this blog.

 Tom Hesley

Related Posts

Today’s Business: 2010-01-08

Friday, January 8th, 2010

Today’s Activities

  • Cat duty.  DONE.
  • Dispensing Mom’s meds. DONE.
  • Shower. DONE.
  • Send out five pending memorial checks for the   WPSBC Alumni Association.
  • Pay all pending bills.  IN PROGRESS,
  • Fill out and Return all requested forms to the financial planner.
  • Go grocery shopping.  DONE.

Log 

08:45 AM: I’m up. My current weight is unchanged from yesterday, at 181.5 pounds.

08:55 AM: Sister Mary Ann just emailed me to say that she’d be visiting us this coming Monday, arriving at around noon.

09:30 AM: Swept all sidewalks and ramp; we got a dusting of snow overnight.

10:10 AM: Leaving for our weekly shopping trip with sister Jojo.

02:30 PM: We’re home again, and I’m putting things away and documenting the   shopping trip   now.

02:55 PM: Taking a nap.  Stand by.

06:15 PM: I’m back up again.  Mail received today follows:

  • An offer from Verizon for their DSL high-speed Internet and DIRECTV package for $70 a month for the first six months, then $94.99 a month for the next six months.  I’ve torn up so many of these, I can’t even count.
  • Income statements (W2s) for 2009.
  • A packet from some church in Oklahoma, inviting us to order a metal cross from them, as well as to send them any prayer requests.
  • A bank statement from one of my checking accounts.
  • Home telephone bills (Mom’s and mine).

 

06:45 PM: Posted the    Uncle Jack Sargent Died   piece.   I just found out today from Aunt Joan that Jack died on January 5th, 2006.

07:30 PM: Processed all pending grocery receipts.

07:55 PM: Posted the   Shopping Trip: 2009-12-23b   piece.

09:15 PM: Spent the last hour plus in contemplation, on my favorite bedroom rocking chair. 

11:40 PM: Talked with   [Emmy].  We’re discussing if we will in fact, attend camp this year.  In past years, our YES answer came so easily and without reservation.  This year though, the both of us are quite reserved about going, fearing that we’ll screw up our diets if we attend.  Well, we’ll continue discussing it until next month, when the forms for signing up arrive. 

01:10 AM: Fixed a bug on the   Recent Revisions Page,  that caused posts added or revised more than twenty-four hours ago to be displayed.  [Emmy]  mentioned tonight that she thought that duplicate posts were showing up from day to day in this list, that had not actually been changed during the last day, and in fact, sometimes, one would expect see the same post over several days appearing if I revise it multiple times over that same period.  However, posts that I last changed nearly two days ago appeared, erroneously, due to an apparent bug in the PHP function strtotime(), that incorrectly computes the current time minus 24 hours.  So I rewrote the code for the   Recent Revisions Page  so it no longer relies on this function, and things appear to be working correctly on that page now.  This fix has been applied to all my blogs. 

01:20 AM: Posted the list of changed or or added posts from this blog,  here.

01:25 AM: Posted the list of additions and revisions to the   Tom’s Love Quest   blog,   here

01:55 AM: My heavy eyelids are telling me that this day needs to be over now.  So, I’m going to bed.  *Yawn*   Good day, it was too.  Good day.  Hope yours was equally as fun.  Take care, friends, and I’ll catch you right here again later. 

Tom Hesley

Related Posts

New Revisions Page

Saturday, December 12th, 2009

04:50 AM: I’ve been screwing around all night with developing a new page for the blogs, which will allow readers to retrieve a list of posts that were modified within the last 24 hours from when they make the request.  This will provide another means for quick discovery of my recent blog authoring, by readers as well as search engines.  The modifications need not appear directly on the blog’s home page to be listed on this new page.  This code will facilitate the automation of the nightly reports that are currently posted manually, by me, that give lists of changed documents for the preceding day.  Look for progress on this effort in the comments attached to this post.

Tom Hesley

Related Posts

Today’s Business: 2009-10-27

Tuesday, October 27th, 2009

Log

09:00 AM: I’m up.  Slept in this morning due to the late night I had the night before last.  Hopefully, I’m caught up on sleep now.

11:00 AM: Completed the   Gutter Maintenance Project   for this year.

12:00 PM: Worked the  Christmas Lighting, 2009   project.

02:00 PM: Salmon with lemon pepper and garlic salt for lunch, along with, um, shall we call it a generous portion, of Halloween candy for dessert. 

04:45 PM: Went on   a little shopping trip to Lowe’s   to get some plywood for a temporary walkway for Mom, for the   Wheelchair Ramp Project.

06:30 PM:  Just woke up from an hour plus nap.  *Yawn*  Now I’m ready to take on the evening.

07:50 PM: Disabled WordPress post revisions   once again on all of my blogs.  Apparently, this functionality became active again in the WordPress version upgrades I’ve done since last March.  But it’s disabled once more and any saved revisions have beeen removed from the databases.

09:28 PM: Watched today’s episode of  The Young and the Restless.

10:30 PM: Talked with [Emmy]. 

10:45 PM: Headed for bed now.  Good night.

Tom Hesley

Related Posts