je suis Charlie

Divers

Unicode slugs - Des urls de toute beauté

Que penseriez-vous d'obtenir dans Joomla!™ des urls accentuées (pour ceux qui utilisent l'alphabet latin) ou bien avec vos propres glyphes (en chinois, japonais, arabe, perse, etc.) ?
Jusqu'à présent, Joomla ne proposait que des urls en caractères ASCII. Les titres (articles, éléments de menu, etc.) en alphabet non latins étaient remplacés par une date dans l'alias.

Grâce à ce plugin système, aucune translitération n'est effectuée, les espaces ainsi que les caractères spéciaux interdits dans les urls sont transformés en tirets.

Wikipedia nous montre l'exemple en perse :
http://ps.wikipedia.org/wiki/فارسي
est en fait :
http://ps.wikipedia.org/wiki/%D9%81%D8%A7%D8%B1%D8%B3%D9%8A

Google n'a aucun problème pour la recherche ou le référencement de tels liens.

Le titre de cet article est « Unicode slugs - Des urls de toute beauté »
Son alias est automatiquement créé sous la forme « Unicode-slugs-Des-urls-de-toute-beauté » au lieu de « unicode-slugs-des-urls-de-toute-beaute »

Le menu qui charge cet article est http://info-graf.fr/infografcvs/des-urls-de-toute-beauté.html
Les capitales et la lettre accentuée sont conservées.

Conseil : les navigateurs se comportent différemment lorsqu'il s'agit de copier de telles urls. Firefox les copiera sous la forme longue unicode tandis que Opera le fera avec les caractères de la langue originale.

Attention :

  1. Ce plugin charge une version modifiée de la classe « jfilteroutput » (libraries/joomla/filter/filteroutput.php). Bien que celle-ci n'ait pas été modifiée depuis le 15/03/2007, elle pourrait l'être dans l'avenir et donc nécessiter une mise à jour du plugin.
  2. Certaines extensions tierces peuvent avoir aussi modifié cette classe par JExtend pour leurs propres besoins. Comme ce plugin est chargé en dernier, il peut y avoir incompatibilité.
Téléchargement/Download : http://info-graf.fr/infografcvs/téléchargements.html

What about getting in Joomla!™ accented urls (for those using a latin alphabet) or with your own language glyphs (in Greek, Chinese, Japanese, Arabic, Persian, etc.)?
Until now Joomla was only proposing ASCII urls when using its native SEF. Titles (articles, menu items, etc.) were replaced by a date in the alias when written in a non-latin alphabet.

Grace to this system plugin, we have no more transliteration, spaces as well as special forbidden characters are transformed to hyphens.

Wikipedia demonstrates this in Persian:
http://ps.wikipedia.org/wiki/فارسي
is in fact:
http://ps.wikipedia.org/wiki/%D9%81%D8%A7%D8%B1%D8%B3%D9%8A

Google has no problem searching or referencing such links.

The title of this article is « Unicode slugs - Des urls de toute beauté »
Its alias is automatically created as « Unicode-slugs-des-urls-de-toute-beauté » instead of « unicode-slugs-des-urls-de-toute-beaute »

The menu item displaying this article is http://info-graf.fr/infografcvs/des-urls-de-toute-beauté.html
Caps as well as the accented letters are kept in the url.

Tip: Browsers behave differently when copying such urls. Firefox will copy the unicode format while Opera will get the original glyphs.

Caution:

  1. This plugin loads a modified version of the class « jfilteroutput » (libraries/joomla/filter/filteroutput.php). While this class has not been modified since 2007/03/15, it could be in the future and therefore necessitate an update of this plugin.
  2. Some 3pd extensions may have modified this class for their own needs through JExtend. Therefore, there could be incompatibility as this plugin loads last.

Reclaim Our Privacy

The Shock Doctrine: The Rise of Disaster Capitalism

© http://www.naomiklein.org/shock-doctrine/the-book

In THE SHOCK DOCTRINE, Naomi Klein explodes the myth that the global free market triumphed democratically. Exposing the thinking, the money trail and the puppet strings behind the world-changing crises and wars of the last four decades, The Shock Doctrine is the gripping story of how America’s “free market” policies have come to dominate the world-- through the exploitation of disaster-shocked people and countries.

At the most chaotic juncture in Iraq’s civil war, a new law is unveiled that would allow Shell and BP to claim the country’s vast oil reserves…. Immediately following September 11, the Bush Administration quietly out-sources the running of the “War on Terror” to Halliburton and Blackwater…. After a tsunami wipes out the coasts of Southeast Asia, the pristine beaches are auctioned off to tourist resorts.... New Orleans’s residents, scattered from Hurricane Katrina, discover that their public housing, hospitals and schools will never be reopened…. These events are examples of “the shock doctrine”: using the public’s disorientation following massive collective shocks – wars, terrorist attacks, or natural disasters -- to achieve control by imposing economic shock therapy. Sometimes, when the first two shocks don’t succeed in wiping out resistance, a third shock is employed: the electrode in the prison cell or the Taser gun on the streets.

Based on breakthrough historical research and four years of on-the-ground reporting in disaster zones, The Shock Doctrine vividly shows how disaster capitalism – the rapid-fire corporate reengineering of societies still reeling from shock – did not begin with September 11, 2001. The book traces its origins back fifty years, to the University of Chicago under Milton Friedman, which produced many of the leading neo-conservative and neo-liberal thinkers whose influence is still profound in Washington today. New, surprising connections are drawn between economic policy, “shock and awe” warfare and covert CIA-funded experiments in electroshock and sensory deprivation in the 1950s, research that helped write the torture manuals used today in Guantanamo Bay.

The Shock Doctrine follows the application of these ideas though our contemporary history, showing in riveting detail how well-known events of the recent past have been deliberate, active theatres for the shock doctrine, among them: Pinochet’s coup in Chile in 1973, the Falklands War in 1982, the Tiananmen Square Massacre in 1989, the collapse of the Soviet Union in 1991, the Asian Financial crisis in 1997 and Hurricane Mitch in 1998.

Ingrid Betancourt libérée


Ingrid Betancourt, à la descente d'avion après 6 années de privation de liberté.

Ingrid Betancourt