Collecting thoughts, giving them meaning and having fun while at it

Ετικέτα: WordPress (Σελίδα 2 από 3)

How to set up “Your Own URL Shortener” (YOURLS)

Keeping up appearances

There was something that annoyed me for some time: whenever I tried to copy-paste an Internet address written in Greek, the copied text would not appear in Greek; it would appear in some weird coding, where non-Latin characters were replaced by the ASCI code equivalent of the characters. That would (a) take up too much space and (b) appear gibberish and no-one could tell what it meant.

For example, what do you make of the following mess?

Original:

https://laspas.gr/2010/02/04/βιταμίνη-d3-το-καλύτερα-κρυμμένο-μυστικ/

Copy-pasted:

https://laspas.gr/2010/02/04/%ce%b2%ce%b9%cf%84%ce%b1%ce%bc%ce%af%ce%bd%ce%b7-d3-%cf%84%ce%bf-%ce%ba%ce%b1%ce%bb%cf%8d%cf%84%ce%b5%cf%81%ce%b1-%ce%ba%cf%81%cf%85%ce%bc%ce%bc%ce%ad%ce%bd%ce%bf-%ce%bc%cf%85%cf%83%cf%84%ce%b9%ce%ba/

Περισσότερα

WordPress CKEditor with native browser spelling

If you’re using WordPress for blogging, then you should check out the plugin CKEditor for WordPress. There’s a nice demo of what it looks like

Regarding spelling, CKEditor has its own spell checker and also SCAYT. However, some bloggers may prefer to use the browser‘s embedded spell checker. For example, I use the “English & Greek” dictionary with Firefox, which really saves time as it checks spelling in two languages at once.

In order to be able to use the functionality of the embedded spell checker, you need two things: re-enable the embedded spell checker, which is disabled by default after CKEditor’s installation and then re-enable the browser’s original right-click context menu. That’s how you do it:

  1. Goto CKEditor settings, in wp-admin
  2. Goto “File Editor” option on the menu on the left.
  3. Make sure you’re editing “ckeditor.config.js”
  4. Goto the end of the file and add the following two lines, after the existing text.
  5. Save, done!

CKEDITOR.config.disableNativeSpellChecker = false;
CKEDITOR.config.browserContextMenuOnCtrl = true;

Now, a red curly line will appear every time the embedded dictionary does not recognize a word you type. With right-click, you see CKEditor’s context menu. With ctrl-right-click, you see the browser’s context menu, which includes correction suggestions!!

Solution originally posted here!

Enhanced by Zemanta

New WordPress major version and new theme!!

I installed the new v.3.0 of WordPress and in was IM-Pressed with the new default theme, “Twenty Ten“… (everyone got “2010”, right?)

The default font size (16px) appeared a bit too large at first, but after experimenting (in the theme editor, “style.css”, content font size)… I just went back to the default… very readable…

Very nice work, indeed! Love at first site, switched to it, right away!!

Some external links:

BTW, the theme uses Microsoft‘s Georgia font, which is simply gorgeous, but if you’re using Linux, where it does not come pre-installed by default, you may want to install the package ttf-mscore-fonts, so that you get to see what the designer really intended you to.

Funny story about these fonts, though! Microsoft released them to the public as the “core fonts for the Web” collection, during the first “browser wars” (i.e. Internet Explorer vs. Netscape Navigator), in an attempt to increase its market share. After they eliminated Netscape, Microsoft removed the fonts from their website. However, the original license said that anyone could freely redistribute these fonts, so there they are!

Enhanced by Zemanta
« Παλαιότερα άρθρα Νεότερα άρθρα »

© 2024 Stratos' Sphere

Θέμα εμφάνισης από τον Anders NorenΠάνω ↑