The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for September 15th, 2023

Revision of some JavaScript bookmarklets for WordPress published pages centered around navigation and IDs: WordPress ditched the undocumented HighlanderComments structure

Posted by jpluimers on 2023/09/15

As promised yesterday, I updated the scripts for Some JavaScript bookmarklets for WordPress published pages centered around navigation and IDs

Code (which broke at 20230914 because of WordPress.com changes: the undocumented HighlanderComments structure got removed; I will update the gist later on and post an updated blog post)

Instead of the undocumented HighlanderComments structure, I now use two (also undocumented) link rel elements.

In addition, I found this element that will be interesting in the future: <link rel='shortlink' href='https://wp.me/pvelJ-m8g' />.

You can view the change with the below archivals of the Wayback Machine and Archive.is.

And of course I learned a few things from these MDN entries:

The 20230530 archivals (Wayback/Archive) of wiert.me/2022/02/14/philosophy-of-management have this HighlanderComments structure:

Read the rest of this entry »

Posted in Bookmarklet, Conference Topics, Conferences, Development, Event, HTML, JavaScript/ECMAScript, Power User, Scripting, SocialMedia, Software Development, Web Browsers, Web Development, WordPress | Leave a Comment »

Using Fields in Microsoft Word – a Tutorial in the Intermediate Users’ Guide to Microsoft Word

Posted by jpluimers on 2023/09/15

This page has a truckload of information, but has a short index and few anchor targets: [Wayback/Archive] Using Fields in Microsoft Word – a Tutorial in the Intermediate Users’ Guide to Microsoft Word.

I found it doing these searches:

I needed them because I misread it at first and replaced { SAVEDATE \* MERGEFORMAT } with { SAVEDATE \* "dd-mm-yyyy" } which resulted in the field to become displayed as needed Error! Unknown switch argument.. and at first thought this might be a Windows versus MacOS thing.

Fixing the error with { SAVEDATE \@ "dd-mm-yyyy" }) almost solved the problem, as the actual format should be { SAVEDATE \@ "dd-MM-yyyy" } (which displays month number instead of minute number).

So I learned that Word date formatting is almost the same as Excel date formatting.

I was specifically looking for these bits (the first luckily has the #Charformat anchor and was immediately followed by the latter):

Read the rest of this entry »

Posted in Office, Power User, Word | Leave a Comment »