Уърдпрес 2.3.2

Като никога, този път надградих блог платформата часове след излизането на версия 2.3.2 – обикновено все си намирам нещо другo за правене, но този път мързелът ми не се обади :)

Оправен е бъг, който би могъл да бъде използван за показване на черновите, също така някои съобщения за грешки за премахнати поради възможността от тях да се получи информация за структурата на таблиците в базата данни, има и други поправки.

Като малък бонус е въведена възможността да се създаде собствена страница за грешка, ако има проблем при връзката към базата данни, която да бъде показвана вместо страницата по подразбиране.

Повече подробности – в официалното съобщение (на английски).

И честита нова 2008 година на тези, които ме четат, и на WordPress екипа! :)

Да се ъпдейтна най-накрая :)

Мързела е голям човек … А оправданието за липсата на време не важи. Но в случая ми спести едно актуализиране на блог платформата – направо изтеглих и сложих българската версия 2.3.1 на wordpress, идваща в този удобен вид на роден език благодарение на добрата работа на Ники Бачийски. Всичко мина гладко. От добавките, които ползвам, има актуализирани „без шлоьокавица“ (пак на същия автор, благодаря му за което) и „wp-cache„. Няколкото останали уж работят добре … Използвах и момента да тествам и „Maintenance Mode“ :)

В този пост за първи път присъстват и новите Етикети … като цяло все още се колебая дали да ги ползвам … може би ще бъдат добра добавка към категориите, мисля, да съм наясно с разликите.

Моля, ако някой види нещо проблемно, някъде – да пише!

П.С. Сетих се, че трябва ръчно да редактирам comments.php, за да напомням на желаещите да коментират за моите правила, сега вече трябва да е ОК.

Most WordPress themes – invalid (теми за уърдпрес – невалидни)

(Below is a short resume in Bulgarian / По-долу има кратко резюме на български)
Recently I had to choose a theme for another WordPress blog. Simplicity was needed (with the feeling of strictness) – elegant, clean, less colors, at least one sidebar on the left, widget ready, valid HTML and CSS according to W3C validator.

Next logical step – search the WordPress theme viewer. Start of browsing and comparing. A lot. There are thousands of themes out there. Did not exactly count them, however I looked at at least two hundred. So I come up with a list of fifty (50) visually acceptible ones. Test runned these, and guess what – most of them did not validate.

Fourty three (43) WordPress themes out of fifty were invalid. I must admit that there were some with only one or two errors – which could be fixed easily by source code editing, but the fact is a fact. Only seven (7) themes meet HTML web standarts. But that’s not all, folks. The test run can not fully substitute real theme implementation in a working blog. Uploaded them and started switching. Was really surprised to see that only one (1) of them was valid XHTML and CSS!

I could understand some issues about the problem. If a theme is comlpex, has a lot of add-ons, three of more columns, super-extra-mega-giga funcionality, is ultra-fancy-fashion-modern etc. – the code is more likely to break invalid. But come on – 86 % for a simple WordPress theme is way too much, even in the test run. Really. Not to speak about the 98 % which failed the real test. Awful.

Are most theme authors so ignorant about web standarts? I guess they are. Or just plain lazy. Why they have to break the admired WordPress usability and accessibility? A fact – most visual designers mess up the CSS and HTML in order to achieve the look they want. No wonder the result is invalid.

The beauty of open source is in its variety and creativity; freedom. The ability to make changes to someone else’s work. I’ve seen themes done by begginers, that overcome those made by veteran so called „professionals“. Anyone can contribute to the project and anyone can benefit from it. But people, please, try to keep your work valid!

Code shoud be poetry. Invalid poetry is bad. No matter how aestetic and beautiful the visual desing of a site/blog is, if the code powering it is broken, the whole value depreciates drastically.

I strongly believe, that the most important thing on an Internet site/blog is the content – correct, passionate, nicely put information; analisys, feelings, stories. I expect the visual desing should help me read/listen/watch the quality (sometimes quantity) content; perception without troubles. On all platforms, OS’s, browsers. The core idea of existing web standarts. The reason why content is separated from design.

That is why I deny to willingly look at invalid sites/blogs. Sometimes I am pressed by inavoidable issues to do that. But the look at the red cross in the status bar (HTML validator plugin for Firefox) makes me feel uncomfortable; I dislike bad feelings.

invalid_html

An appeal to coders, designers, theme authors – guys, please, I beg you – do you best to validate your work! I admire it and will strongly appreciate that.

Thank you in advance. Salute you with a love song about web standards :).

Кратко резюме:

Огромен брой визуални теми за уърдпрес (не особено сложни или с екстри) не са валидни според уеб стандартите, както установих при търсенето на нещо семпло за един друг блог. От общо 50 цели 43 се провалиха на вградения тест, а при реално прилагане – само една – 1 – се оказа валидна! Авторите им или не им пука за уеб стандартите, или са просто мързеливи. Не е редно при стремежа към визуално съвършенство да се пренебрегва валидното кодиране. Аз търся в Интернет качествена информация, идеята е визуалното и пакетиране да не ми пречи на възприемането. Без значение платформата, операционната система, браузъра. За това съществуват и уеб стандартите. Отказвам доброволно да гледам невалиден код. Не ми харесва, кофти е.

Апел към кодери, дизайнери, автори на теми – хора, моля, умолявам ви дори – направете възможното, за да е валидна работата ви! Възхищавам и се и ще съм ви много благодарен за това.

Мерси предварително. Поздрав с песента за Уеб стандарите, за която Мишел писа :).

GPL разлики при Movable Type и WordPress

Преразказано на български с големи съкращения от тук. През октомври се очаква GPL версия на MT, наречена MTOS (Movable Type Open Cource). WordPress също е под GPL лиценз. Има една съществена разлика – Six Apart ще приема промени по кода от трети страни, само ако авторите преотстъпят правата си на Six Apart. Докато авторските права на приетите добавки в WordPress са на самият човек, написал кода. Причината е, че Six Apart държат да запазят възможността да разпространяват версия на Movable Type, която не е под GPL лиценз. В противен случай би следвало и „професионалната“ им версия да е под този лиценз – важно изискване на GPL е производните променени продукти също да са GPL. Едно от интересните последствия от това разклонение е, че Six Apart не може да позволи код от WordPress (или от който и да е GPL проект) в MTOS, докато кода от MTOS може да бъде приложен в WordPress. Не бива да се пренебрегва и вероятността по някое бъдеще време Six Apart да заяви: „От днес спираме GPL версията на Movable Type“. Това е малко вероятно да се случи с WordPress, където правата върху кода принадлежат на множество хора (50, 100?), а не на един единствен правен субект (юридическо лице).

От коментарите:

Kонцепцията „авторско право“ е шантава … (The copyright issue is crazy).

… Ползата е за WordPress, не и за MT (WordPress benefits, MT doesn’t) .

Turkey v/s WordPress update

This began as my answer to Matt’s blog update for blocking WordPress.com in Turkey; since it it became too large, I’ll post it here. As long as the sites in question do not violate your „Terms of Service“ and USA juristiction regulating WordPress.com host – let them be. But if they are infringing your rules – remove them. If the 17 emails were not digitally signed by the atorneys, who claim to represent Mr. Adnan Oktar (a.k.a. Harun Yahya) – then in legal parlance you were not contacted officially. On the other hand, you already know some facts (despite the lack of official correspondence), and maybe you have to react according to local laws. Also, you do not have to worry about Turkish law – it has nothing to do with WordPress.com. It is not your problem. It is their problem. Nellyo reminded (in bulgarian language, a media law expert)

„Turkish law decision itself does not obligate WordPress.com to do anything. Turkey seeks EU membership and restricting standarts on free speech (freedom of expresison) have to be similar to European ones. …
Blocking the whole hosted content on WordPres.com is unproportional measure and highly ineffectiveEuropean Court of Human Rights always seeks proportion (limit) in restrictions, even when they are „needed in a democratic society.“

Turkey has full signatory to the European Convention on Human Rights. You may officially contact them and the Republic of Turkey to lift the unappropriate and illegal block. There is a lot of really high quality, usefull, good and interesting content hosted on WordPress.com, and it is awfull that it is unavailable in Turkey.

Turkish penal code, art. 301: „Expressions of thought intended to criticize shall not constitute a crime“. And if the contetn on WordPress.com did not offend Turkishness, their court has no right to ask domain blocking.

Edip Yuksel wrote in a comment – here (the last one so far) – that he is not using WordPress.com host – others claim his name and articles in order to attract attention; to struggle with abuse and suppession they suffer in Turkey, perhaps overusing WordPress platform. If he does not officially want the sites removed, there is no problem.

Turkish law system is not prepared to handle accordingly the modern ways people communicate and express themselves – not only blogs and online journalism, the whole Internet is like a black hole to their government. They need to reorganise it quickly, or be blamed like China and Russia. If they fail – no European membership for them in 2013. I feel sorry for open-minded, creative, intelligent, educated, modern turks.

So, what’s next? First of all – how to bypass major ISP block. A simple web search will display numerous ways to do that, proxies, online and offline means, some are easy to implement, others need more technical competence, etc. As far as I know, in Turkey it is not hard to do it – not yet ;). It is not so illegal and is hard to prove (at least the sofisticated methods) :).

Then spread the word – through direct publicism, paper journalism, a lot of possibilities in the modern world. No need to be rude or flaming or abusive – just be patient, passionate, sincere, honest – and do not breach your own laws and the laws of your host, while doing that.

Or maybe tomorrow they will block Yahoo!, MSN, Google, YouTube, Windows Live, Myspace, Wikipedia, Blogger.com, Megaupload, Microsoft, Fotolog.com, EBay, Mail.ru, Amazon.com, IMDB, Flickr, Photobucket.com, ImageShack, Go.com, AOL, Geocities, Adobe, Apple.com, CNN, ICQ and even Assenoff– the worst scenario (insert random smiley here)!

To finish in a positive manner – let’s hope Turkey’s court and administration revise their decision and prove readyness for supplying basic democratic freedoms.

However, I’ll advice Matt to ask for more detailed and official legal advice – :). Sorry for my not so fluent English.

WordPress на български (с редакция на wp-config)

Николай Бачийски преведе последната версия на WordPress 2.2.2 на български – свършил е чудесна работа и точно навреме от моя гледна точка :). Бях започнал да редактирам ръчно част от comments.php файла, където пльоснах текст и връзка към моите правилата за публикуване на коментари. И тъй като бях набрал инерция, продължих с редакцията на други елементи … И като в един момент ми писна, с малко ровичкане в документацията изскочи българската локализация. Леко ме притесни факта, че почти нямаше видим ефект, докато не направих описаното тук – а именно редакция на файлa

wp-config.php:define (‘WPLANG’,’bg_BG’)

С което всичко си дойде на мястото. Информацията по темата в българското wiki не е актуализирана скоро, но точно това е коректно написано и все още полезно да се знае.

WordPress 2.2 – колебая се …

В новата версия на блог платформата има доста новости – удобства за ползващия блогър, и не само – важни са и подобренията в помощ на разработчиците и поддръжката на нови неща. Въпреки това ще изчакам още известно време, преди да премина към нея – преди всичко, за да събера впечатления от хора, които са мигрирали – все пак новината е от преди 6 часа :).

Съвсем наскоро четох дискусия по отношение проблемите с миграцията на някои хостващи компании към php5 – оказва се, че много от тях поради различни причини няма да преминават към по-високата и актуална версия. Ставаше дума и за това, че в бъдещите издания wordpress няма да е съвместим със старите версии на php, един вид общността на разработчиците постепенно да оказва натиск за преминаването.

Съществуват за момента доста компромисни решения – например моя хост поддържа и старата, и нова версия на PHP.