Glossary and G2 Glossary are both targeted to sites needing a glossary section. However, the modules are quite different, targeted to different types of glossary needs, and once you choose one, it will take a significant amount of work to switch to the other one after the fact, so the current maintainers of the two modules have set up this page to help you choose which module you should probably be using, or if you should really write your own.
|Revision support||Drupal core||Drupal core|
|Drupal 7.x||Dev branch||port announced|
|AJAX UI||Entry selectors|
|Glossaries per site||Multiple||Single||Single|
|RSS feeds||On entries||Drupal core||Drupal core|
|On content tags||Drupal core||Drupal core|
|Classify entries using taxonomy||Entries are terms already||Drupal core||Drupal core|
|Commenting on entries||Drupal core||Drupal core|
|XML-RPC services provided||Alphabar|
|XML-RPC||IP-based access control|
|Input filtering||Automatic||<dfn> elements|
|Memory needs vs number of entries||O(n)||O(1)||O(n)|
|Speed on small glossaries||Faster||Slower||Slower|
|Speed on larger glossaries||Slower with size||Remains constant||Slower with size|
|Themeability||Search form||Drupal core||Drupal core|
|Individual entries||Drupal core|
|Each feature block|
|Each part of an entry||Drupal core|
|Translation template supplied||Except D5 branch|
Obviously, in all cases, a "No" actually means: "roll your own", as in all Open Source software.
|Terms and nodes||
Glossary uses Taxonomy to define its terms, allowing definitions to be used as tags for existing nodes.
Since Glossary is taxonomy-based, that opens the range of taxonomy-based modules to work together.
G2 uses Node to store its terms.
This allows access control, attachment uploads, commenting, content tagging, revision control, and integration will the vast number of node-related modules.
Extensibility is directly available from core for G2 content through the extensive core hook system for nodes. Control is available at the individual field level, and includes editor-only information, which is required in publishing situations.
Glossify uses Node to store its terms.
Extensibility is directly available from Drupal core for all glossify entries. Everything that can happen to a node in Drupal can happen to a glossify entry.
Glossary is faster than G2 for small glossaries.
While most sites have a smaller glossary than the one G2 was designed for, there are also sites with larger glossaries.
G2 is optimized for large glossaries, not small ones. As such, its requirements do not increase with the number of entries.
At the time of its creation (4.7), supporting a 5000 terms dictionary with glossary.module on a shared hosting plan, was causing severe load issues.
Glossify is not optimized for speed. In fact, for large sites, it's probably a bad idea.
|Single vs multiple||The ability to handle multiple vocabularies as glossaries gives Glossary additional flexibility||G2 is designed around a single glossary by site: multiple glossaries were not necessary to the initial sponsor. More generally, sites maintaining a large glossary are typically centered around it, and won't maintain more than one per site.||
While glossify is designed around a single vocabulary (content type), it does allow multiple content types to hold its entries.
|Community||Glossary has largely been designed by its users. Many, if not most, of its features have been added and refined by the input of the community.||G2 has been developed for the specific need of one user and shared afterwards. Its original feature set was designed around that need, and has only been expanded and modified by community input afterwards.||
Glossify was designed for a sole purpose by a sole author, and shared afterwards. Expansion and modification of this module will happen via the Drupal community.
|Maintenance and support||Glossary is actively maintained. There have been performance efforts to make sure it runs as fast as possible. Community support is available, and several Drupal professionals, include some core developers, can support it.||G2 is actively maintained. There have been performance efforts to make sure it runs fast even with large glossaries. Community support is available, and commercial-level support is available from its maintainer.||
Glossify is feature complete for its original intention and installation. Modifications to the module are outside of its original scope, but welcomed by the maintainer.
|Alphabar maintenance||Automatic maintenance reduces the need for administrator intervention.||Any large glossary will use all available initials from the onset, so administrator intervention is not needed past the initial module configuration, and the processing cost of maintaining it afterwards is useless system load.||
Glossify does not provide an alphabar.
|Internationalization and localization||
Considerable work has been done to make sure that i18n (internationalization) can be effectively used with Glossary.
A translation template is provided.
G2 relies on core for i18n and is expected to work normally on sites with i18n ; its demo site is actually not english. Specific mechanisms have been applied to support non-occidental scripts.
A translation template is provided except for Drupal 5.
The base URL for the glossary pages is admin-defined, thus allowing for translation and module masking.
As glossify entries are simply nodes, glossify relies on Drupal core for i18n and translation services.
|Term presentation and links||
The Glossary filter locates terms within administrator-selectable content and adds additional HTML to them to show or (optionally) link the term's definition to the end-user as they view the content.
The terms may be marked with a superscript or icon that links to the term or the term may be converted to an "acronym," "abbr," "cite," or "dfn" element with browser help tips. If the Hovertips and Clicktips module is installed, it may be used to provide hovertips. There are also three mechanisms for marking a section of the content to not be filtered. Matching of terms may be selected as whole words or substrings, and may be either case-sensitive or not.
The G2 filter only applies its matching patterns to <dfn> elements in the input.
The terms are wrapped in a valid XHTML link with a title attribute, bearing a G2-specific class to enable pure CSS themeing
Glossify currently supports three types of presentation of terms:
The entries themselves are fully exposed as nodes to the Drupal theme system, and lists can be made via the views module.
|Links||Terms link to the entire glossary or the individual term, depending on which option the administrator chose.||Terms link to the G2 page for the term, which may be either a disambiguation page or the single destination page, depending on whether homonyms exist or not and whether administrators enable the direct link on single matches.||
Terms are linked to the individual term.
|Glossary display||When displaying the entire glossary, there is an alphabar on top, which fills in automatically. The administrator may define his/her own alphabet for those who use some language other than English. The terms are then organized by the first letter of the term's name. Each section may be separated by a CSS-themable separator. At the bottom of the display, if the user has the appropriate permissions, are shortcut links to the vocabulary and module settings pages.||
In addition to the individual term pages, G2 includes initial pages, customizable disambiguation (homonyms) pages and a customizable main page.
The main page, may be either a node reference for simplicity or a function name, for easier maintenance in the site module. When not customized, it displays an alphabar on top, identical to the one in the alphabar feature block.
Glossify does not supply a display for the entire glossary. Site administrators and designers can use the views module to create such a display.
Glossary and G2 modules work as a Drupal input filter applying to content depending on its input format. These filters are cacheable for performance reasons. Glossify does not provide an input filter. Rather, glossify marks up content on output.
Since the glossary and G2 filter content, the first time a piece of content is shown, there will be a small delay while the filtering is done. The filtered content is then cached, so the next time, the filtering is unnecessary and the delay does not occur. Glossify does not filter, so there is no delay when the content is submitted. Glossify's delay is incurred when content is viewed.
Within the glossary display, each term may be followed by a link that will initiate a search for the term, if the search module is enabled. For those who have the proper permission, there will also be a link to edit the term itself.
The type of glossary indicator that is used is specified for each input format, so, for example, "Filtered HTML" may use a superscript type of indicator, while "Full HTML" may use a hovertip. Additionally, each input format also selects which vocabularies are to be used. So one may, again for example, specify that "Filtered HTML" filter for Bible verses, while "Full HTML" filters for technical terms.
Using terms (glossary.module) allows definitions to be bound to custom nodes instead of being nodes on their own
Glossify aims at simplicity. Its code is small, its options are few, and its job is straightforward. Glossify looks at content before it is output, finding and marking up any content that is a title of another piece of content, and links the title to the entry. It does not provide an input filter, nor does it generate a landing page of entries.
Since glossify uses nodes as its entries, the vast customization that Drupal core and contrib offers to nodes are available to glossify entries. They are not limited to entry and definition pairs, but can include other fields via the Content Construction Kit. Lists and blocks can be created with Views. Entries can be classified with taxonomy; they can be themed with PHPtemplate or other theming options.
Glossify has options to limit the content types used for entries and the content types it will look through, and has three different display options for showing what terms have been referenced in the content: