Saturday, June 28, 2008

Drupal API

http://api.drupal.org/api/groups

Views Module

http://drupalmodules.com/module/views

"
Great Tool

This module is one of the most useful tools on a Drupal website.
...

Views 2 uses a "no page re-load" method of adding filters and arguments which makes building queries much faster.
...

Review by Ultimateboy on May 7, 2008 - 10:36
"

Friday, June 20, 2008

Search Module for Drupal

Google Site Search Enhanced Module
http://drupal.org/node/59150


  • The search engine does its indexing at intervals you choose by setting "cron runs."...

  • To trigger the indexing, we have to regularly visit cron page
    say, http://www.example.com/cron.php or http://www.any2flash.com/o2/cron.php


Use Sphinx in Drupal

http://sphinxsearch.com


http://drupal4hu.com/node/129
" ... sql_query_range = SELECT MIN(nid), MAX(nid) FROM node
sql_range_step = 1000
sql_query = \
SELECT n.nid, n.title, body, changed \
FROM node n \
INNER JOIN node_revisions USING(vid) \
WHERE n.nid BETWEEN $start AND $end AND status = 1

...
require_once ('./sphinxapi.php');
$start_from = $_GET['page'] ? $_GET['page'] : 0;
$index = ...;
$page_increment = 10; // number of nodes shown
$amount = 10;
$sphinx = new SphinxClient ();
$sphinx->SetServer ('localhost', 3312);
$sphinx->SetWeights (array(100, 1));
$sphinx->SetMatchMode (SPH_MATCH_ALL);
$sphinx->SetLimits($start_from * $page_increment, $page_increment);
$sphinx->SetSortMode(SPH_SORT_TIME_SEGMENTS, 'changed');
// you can add filters with $sphinx->SetFilter etc
$result = $sphinx->Query(implode(' ', $keys), $index);
...
"

Monday, June 9, 2008

Smart Eureka! Science News


e!Eureka Science News - Drupal Success Story

Eureka! Science News 是一個科學新聞的入口網站,或者說是科學新聞的自動收集站(aggregator of science news/feeds),具有將新聞進行收集、分類、排序的功能,...

網站開發者在 Eureka! Science News just launched! 介紹了開發方式、所使用的其他模組,...

參考連結
http://drupal.org/node/261340
http://www.biologynews.net/
http://esciencenews.com/



The Vintage Aviator(古典航空器, LKK航空器)

Drupal Success Story - The Vintage Aviator(古典航空器)
http://thevintageaviator.co.nz

這是介紹第一次世界大戰(WW1)的戰鬥機(LKK航空器)的網站,是一個內容豐富 美工設計卓越的網站。



作者在 http://drupal.org/node/267393 描述了該網站的建置網站的過程,使用及修改的模組,是一個很棒的參考資源。