module

drupal6: ปรับปรุงมอดูล Thai Search 2

ผ่านไปนานแล้ว แต่มอดูล Search ของ drupal ก็ยังค้นภาษาไทยได้ไม่ดีขึ้นเลย จึงปรับปรุงของเก่าให้ใช้งานได้ดีขึ้นครับ

ปรับปรุง

  • เพิ่ม pager ให้สามารถแบ่งดูได้หลายหน้า
  • เพิ่มฟิลด์ timestamp ให้ทราบว่าโพสต์เมื่อไหร่

ดาวน์โหลด

drupal: มอดูล Thai Search

คุณสมบัติ

ค้นภาษาไทยได้ โดยมีการให้น้ำหนักคำค้น และสามารถใส่คำค้นได้หลายคำ

drupal5
thaisearch-5.x-0.1.tar.gz
drupal6
thaisearch-6.x-0.2.tar.gz

ประวัติ ...

python: แปลง Singular/Plural

ใช้แปลงคำนามระหว่าง Singular/Plural รุ่นนี้ใช้ได้กับภาษาอังกฤษและเสปน

ดาวน์โหลดได้ที่ http://www.bermi.org/downloads

$ wget http://www.bermi.org/downloads/python_inflector-0.1.tar.gz
$ tar xfz python_inflector-0.1.tar.gz
$ cd python_inflector-0.1
$ python

Python 2.5.2 (r252:60911, Jul 31 2008, 07:39:27) 
[GCC 4.3.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Inflector
>>> inf = Inflector.English()
>>> inf.singularize('oxen')
'ox'

python: มอดูลน่าสนใจ

รวมมอดูลที่น่าสนใจ

drupal6: ปรับปรุงการใช้งานมอดูล geshifilter

โพสต์นี้ อย่าเชื่อมาก เป็นแค่การทดลองเท่านั้น

พบว่ามอดูล geshifilter เขาแปลงรหัส entity ให้โดยอัตโนมัติ
ทำให้การโพสต์เนื้อความ ไม่ยืดหยุ่นเท่าที่ควร
เที่ยวนี้เราจะตั้งค่าใหม่ ให้การใช้งานมีความยืดหยุ่นสูงสุด

  • ตั้งค่าการใช้งาน geshifilter ผ่าน URL: admin/settings/geshifilter
    • Generic syntax highlighting tags: เพิ่มแท็ก pre
    • Code container: เลือก Use <div> container
Syndicate content
 

Thai Search

Google Search

Custom Search

Theme

Who's online

There are currently 0 users and 5 guests online.