September 08 2010 13:48:07
Languages
Navigation
Friends & Affiliates

Fangree Productions
Roadmap
[N] adding levels
[F] Massupload für Fot...
[F] Verwarnen in Kommrn...
[N] Xbox Live Stats
[K] Breadcrumbs for Art...
[F] Warrning system on ...
[K] SEO - Improved
[N] Breadcrumbs
[N] Gantry Framework
[F] Locale changes
Users Online
· Guests Online: 5

· Members Online: 0

· Total Members: 219
· Newest Member: mattaushaz
Last Seen Users
· Brun01:15:54
· ritmi01:58:05
· mattaushaz02:40:23
· ePic03:04:57
· browser103:54:31
· paslaptinga03:56:06
· Claudiu11:55:58
· keddy15:29:29
· Phoenix16:28:12
· xxyy 1 day

SEO - Improved
Back to Issues...
Submitted By:ep98 Date Submitted:25/06/2010 02:18 Assigned To:Nobody
Category:Core Type:Tweaks Release:0.09.00
Under Review
Details:
Adding possibility to SEO setup page, which will allow users to declare they're own settings like Alphabet.

This is example for Bulgarian Alphabet
Code

// Custom characters replacement
      $url_replace = array(
         'А' => 'A', 'а' => 'a',
         'Б' => 'B', 'б' => 'b',
         'В' => 'V', 'в' => 'v',
         'Г' => 'G', 'г' => 'g',
         'Д' => 'D', 'д' => 'd',
         'Е' => 'E', 'е' => 'e',
         'Ж' => 'J', 'ж' => 'j',
         'З' => 'Z', 'з' => 'z',
         'И' => 'I', 'и' => 'i',
         'Й' => 'Y', 'й' => 'y',
         'К' => 'K', 'к' => 'k',
         'Л' => 'L', 'л' => 'l',
         'М' => 'M', 'м' => 'm',
         'Н' => 'N', 'н' => 'n',
         'О' => 'O', 'о' => 'o',
         'П' => 'P', 'п' => 'p',
         'Р' => 'R', 'р' => 'r',
         'С' => 'S', 'с' => 's',
         'Т' => 'T', 'т' => 't',
         'У' => 'U', 'у' => 'u',
         'Ф' => 'F', 'ф' => 'f',
         'Х' => 'H', 'х' => 'h',
         'Ц' => 'C', 'ц' => 'c',
         'Ч' => 'CH', 'ч' => 'ch',
         'Ш' => 'SH', 'ш' => 'sh',
         'Щ' => 'SHT', 'щ' => 'sht',
         'Ъ' => 'A', 'ъ' => 'a',
         'Ь' => 'X', 'ь' => 'x',
         'Ю' => 'YU', 'ю' => 'yu',
         'Я' => 'YA','я' => 'ya',   
      );
      $this->seo_opt['url_find'] = array_keys($url_replace);
      $this->seo_opt['url_replace'] = array_values($url_replace);
      // Custom characters replacement





But almost every alphabet differs, even Russians from us, or Singapore English from UK/US English.

With such options users will declare how every symbol should be translated for proper displaying.

Next step will be fully UTF-8 translatable URL.
Powered by Roadmap 1.0
Comments
slaughter on June 25 2010 15:59:21

Comments: 98
User level: Super Administrator

I have no idea how to add this in setup page, but I moved the seo code to a new file and added some more characters.
More easy to edit now.
Post Comment
Please Login to Post a Comment.
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Donations
RSS Feeds
Latest News - September 08 2010 12:24:50 Latest News
Latest Articles - September 07 2010 17:39:09 Latest Articles
Latest Threads - September 08 2010 12:24:50 Latest Threads
Latest Downloads - September 08 2010 05:59:14 Latest Downloads
Shoutbox
You must login to post a message.

No User Avatar
06/09/2010 21:48
ou NEW VERSION, níííce Smile

User Avatar
06/09/2010 17:15
ya, I guess yes Smile

User Avatar
06/09/2010 16:43
How's v0.09 coming? Soon? Wink

User Avatar
30/08/2010 18:17
I'll be on vacations next for5 days! cya Wink

User Avatar
27/08/2010 11:19
I guess it is because Login Method on this Site is Sessions atm. Should we switch to Cookies?

Render time: 0.48 seconds - 23 Queries 113,337 unique visits