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,617 other followers

Archive for the ‘WordPress’ Category

Lesson learned: do not copy/paste code from the `Visual` WordPress.com editor…

Posted by jpluimers on 2019/04/16

[WayBack] Lesson learned: do not copy/paste code from the Visual WordPress.com editor; copy from the Text editor or the Preview… – Jeroen Wiert Pluimers – Google+.

Note: likely the HTML below got rendered badly by WordPress.com, so the gist below has the same text as a MarkDown file.

Ever wonder why copy-pasting code from your WordPress.com post fails?

The first statement fails, but the second works:

[root@linux:/etc] # useradd --create-home --shell /bin/false autossh24
useradd: unrecognized option '--shell /bin/false'
...
[root@linux:/etc] # useradd --create-home --shell /bin/false autossh24
[root@linux:/etc] #

The reason is that the first is copied from the Visual WordPress.com editor that renders this HTML inserting   which is a different unicode characer (0x00A0) than a normal space (0x0020):

<blockquote><p><code data-mce-selected="1"># <strong>useradd --create-home --shell&nbsp;/bin/false autossh24</strong></code></p></blockquote>

However, the the second copied from the Text WordPress.com editor succeeds because it has all regular spaces:

<blockquote><code># <strong>useradd --create-home --shell /bin/false autossh24</strong></code></blockquote>

Luckily the Preview render is correct:

<blockquote><p><code># <strong>useradd --create-home --shell /bin/false autossh24</strong></code></p></blockquote>

Lesson learned: do not copy/paste code from the Visual WordPress.com editor; copy from the Text editor or the Preview.

–jeroen

[WayBackEver wonder why copy-pasting code from your WordPress.com post fails?

Read the rest of this entry »

Posted in Development, PHP, Scripting, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

Life after Google+ – Lars Fosdal: Friends+Me Google+ Export tool.

Posted by jpluimers on 2019/01/11

A little while ago, I blogged about Life after Google+ – Lars Fosdal. In the mean time, Lars has made a lot of progress exporting the community [WayBack] Delphi Developers – Google+ (which has moved to en.delphipraxis.net !).

He is a heavy user of the Friends+Me Google+ Export tool, which basically is an actively maintained web scraper with standard output targets:

[WayBack] Google Plus Exporter – Medium: Export your Google+ feeds to WordPress, Blogger, and JSON.

It does not depend on the G+ REST API: “the app is using web scraping and will keep working until the bitter end”.

Quite a bit of that information and the feedback he has is in this thread: [WayBack1/WayBack2] Hi Everyone, We’ve just released Google+ Exporter, an application that helps you to export your Google+ feeds (profile, pages, collections, communities… – Friends+Me – Google+

Of course G+ does not save the whole thread in the WayBack machine, so here it is copy-pasted (unformatted; maybe I will format it later):

Read the rest of this entry »

Posted in G+: GooglePlus, LifeHacker, Power User, SocialMedia, WordPress | Leave a Comment »

Printing WordPress receipts in Chrome resulting in strangely accented text turned out to be a Chrome issue

Posted by jpluimers on 2018/12/02

This appeared to be a Chrome thing: [WayBack] Jeroen Pluimers at Twitter: “@wordpressdotcom not sure what goes wrong with billing, but the printed html has odd domain characters. The viewed HTML is OK, but I cannot print that because printing garbles it. I can DM you the receipt links. Similar for the date which becomes unreadable (the IRS dislikes it).…”

–jeroen
Read the rest of this entry »

Posted in Chrome, LifeHacker, Power User, SocialMedia, Web Browsers, WordPress | Leave a Comment »

Topic: “Request Feedback” button vanished | WordPress.com Forums

Posted by jpluimers on 2018/11/02

Too bad, as it was fun while it lasted:

Even worse: the change was not announced, so people find out after the fact. A similar thing happened back in the “Press This” removal process (which got restored).

Some notes on “The WordPress bookmarklet was deprecated. Please delete it from your web browser.” because the `/wp-admin/press-this.php` based URLs look very similar.

The cool things about the “Request Feedback” were these:

  • The reviewer could do without a WordPress.com account: ideal when you have each posts to be reviewed done by a different person
  • No need for a plugin as it functioned out of the box
  • The review looks exactly like it gets posted

The alternatives are:

  • Google docs (which requires a Google account and looks different than the actual post)
  • External plugins (which requires the USD 299/year business plan instead of the USD 99/year premium plan I have)

Plan prices: [WayBack] WordPress.com Plans and Pricing – Get Started for Free Today!

[WayBack] WordPress.com on Twitter: “Hi, right now there are no plans for adding the ability to use plugins on the Personal and Premium plans.… “

https://twitter.com/wordpressdotcom/status/1016463266137235456

I am not even sure the Google Docs works with the premium plan, as I could not find that at [WayBack] Introducing WordPress.com for Google Docs: A New Way Forward for Collaborative Editing — The WordPress.com Blog

–jeroen

Posted in Power User, SocialMedia, WordPress | Leave a Comment »

Akismet GDPR notification: enabled

Posted by jpluimers on 2018/05/30

I saw the below notification recently, but it was already enabled.

Akismet & Privacy.

To help your site be compliant with GDPR and other laws requiring notification of tracking, Akismet can display a notice to your users under your comment forms. This feature is disabled by default, however, if you or your audience is located in Europe, you need to turn it on.

Please enable or disable this feature. More information.

–jeroen

Read the rest of this entry »

Posted in Development, GDPR/DS-GVO/AVG, Power User, Privacy, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

 
%d bloggers like this: