g2:featureset
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| g2:featureset [2006/05/14 06:41] – fgm | g2:featureset [2020/11/23 17:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== G2 paths ====== | ====== G2 paths ====== | ||
| - | |||
| - | |||
| - | |||
| - | |||
| ===== Defined by G2 ===== | ===== Defined by G2 ===== | ||
| Line 23: | Line 19: | ||
| * node/< | * node/< | ||
| * taxonomy/ | * taxonomy/ | ||
| - | |||
| Line 30: | Line 25: | ||
| Most settings are located in the feature blocks, but G2 also has a few global settings. | Most settings are located in the feature blocks, but G2 also has a few global settings. | ||
| - | * Custom main page node, typically unpublished. Is used for the glossary home page, wrapped between | + | * Custom main page. Is used for the glossary home page, replaced by an alphabar if empty. Starting with the D5 version, it can be set in either of two ways: |
| + | * by providing the nid of an existing node, typically an unpublished story node. This is the default method | ||
| + | * by providing the name of a node-generating function (starting with the D5 branch). This function must return a " | ||
| + | * a title for the page. If missing, G2 will use its own default | ||
| + | * a body for the page. If missing, G2 will replace it by an alphabar | ||
| + | * a nid, which should be zero | ||
| + | * in both cases, starting with the D5 branch, the validity of the parameter is tested: the nid or function must exist | ||
| * Toggle activation of XML-RPC services | * Toggle activation of XML-RPC services | ||
| * Toggle search hinting | * Toggle search hinting | ||
| + | * Remoting: allow glossary links to a remote glossary instead of a locally maintained one | ||
| * Homonyms processing: | * Homonyms processing: | ||
| * Custom disambiguation node, typically unpublished. | * Custom disambiguation node, typically unpublished. | ||
| Line 39: | Line 41: | ||
| The settings for the WOTD RSS feed are grouped with the settings for the WOTD block. | The settings for the WOTD RSS feed are grouped with the settings for the WOTD block. | ||
| - | ====== G2 XML-RPC API ====== | + | The " |
| + | ====== G2 XML-RPC API ====== | ||
| ===== g2.alphabar ===== | ===== g2.alphabar ===== | ||
| Line 51: | Line 54: | ||
| * string initial | * string initial | ||
| * string link to a page of entries by initial (g2/ | * string link to a page of entries by initial (g2/ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| ===== g2.latest ===== | ===== g2.latest ===== | ||
| Line 83: | Line 76: | ||
| * string entry | * string entry | ||
| * int nid | * int nid | ||
| - | |||
| ===== g2.random ===== | ===== g2.random ===== | ||
| Line 95: | Line 87: | ||
| * int nid | * int nid | ||
| * string teaser | * string teaser | ||
| - | |||
| - | |||
| - | |||
| ===== g2.wotd ===== | ===== g2.wotd ===== | ||
| Line 109: | Line 98: | ||
| * int nid | * int nid | ||
| * string teaser | * string teaser | ||
| - | |||
| ===== g2.stats ===== | ===== g2.stats ===== | ||
| Line 122: | Line 110: | ||
| ====== Blocks defined by G2 ====== | ====== Blocks defined by G2 ====== | ||
| - | |||
| ===== Blocks ===== | ===== Blocks ===== | ||
| * G2 Alphabar : displays the initial selector pointing to glossary pages | * G2 Alphabar : displays the initial selector pointing to glossary pages | ||
| + | * G2 Latest ' | ||
| * G2 Random word : displays term, teaser, and link to definition | * G2 Random word : displays term, teaser, and link to definition | ||
| - | * G2 Top 10 : displays list of n most requested terms | + | * G2 Top ' |
| * G2 Word of the day | * G2 Word of the day | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| ===== Blocks configuration ===== | ===== Blocks configuration ===== | ||
| Line 140: | Line 123: | ||
| * list of initials to be included in alphabar. Defaults to ascii lowercase letters and arabic numerals. | * list of initials to be included in alphabar. Defaults to ascii lowercase letters and arabic numerals. | ||
| * maximum length of each row in the alphabar | * maximum length of each row in the alphabar | ||
| - | * G2 Top 10 | + | * G2 Latest ' |
| - | * number of elements in top (default 10) | + | * number of elements in latest |
| * G2 Random | * G2 Random | ||
| * store latest random entry to avoid duplicates, or don't store it for reduced DB load | * store latest random entry to avoid duplicates, or don't store it for reduced DB load | ||
| * display taxonomy links for the current entry | * display taxonomy links for the current entry | ||
| + | * G2 Top ' | ||
| + | * number of elements in top (default 10) | ||
| * G2 WOTD | * G2 WOTD | ||
| * the word of the day | * the word of the day | ||
g2/featureset.1147588895.txt.gz · Last modified: (external edit)
