Home arrow Forum

Remository Forum

 


gnostic

Karma: 1  
Click on word = check glossary - 2010/04/20 00:12 Many large sites (newspapers etc) let you click on any word in an article to see if there is more info about it (then displaying a popup with a partial definition, with the option to click and go to the glossary). For my site, this would be better than the current system which checks all the words before displaying the page. We have 1000+ words in the glossary, many with long definitions. I believe it would make a site faster to have glossary checked only on request. See a 1000 word glossary at Gnostic Teachings
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:Click on word = check glossary - 2010/04/20 16:59 It's an interesting idea. Although I think there would be pros and cons.

If the popup is to be instant, then it will have to be something like JavaScript, with the text for the popup already in the browser. For that to happen, the check of words would have to have happened prior to sending the page.

If it is to be possible to click on any word, that implies that every word in the article would have to be a link, which would involve quite a lot of processing of the page, and involve a significant overhead of extra HTML.

Given those issues, I'm inclined to stick with the present logic, although there are improvements being developed for the next release. Two schemes are being adopted to increase the speed of processing:

1. The way the lookups in the glossary are done is being optimized so as to eliminate most terms by virtue of the page content, selecting only terms that could possibly appear on the page for more detailed scanning.

2. A degree of caching is adopted by means of hashing the whole page and assuming that if the hash has not changed, then a cached result can be used, provided it is not too old. Cached pages must expire after a while, otherwise changes in the glossary will not affect the output pages unless their source changes.
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
gnostic

Karma: 1  
Re:Click on word = check glossary - 2010/04/20 19:55 Makes sense. I assume that on those sites you can only click on words that are identified already, meaning that somehow the words are checked before the page is displayed. I suppose the difference would be that the terms are not preloaded in the page. If I remember correctly, the current Glossary bot preloads the definitions in the page. This is why we do not use it. Our definitions can be the length of articles, so loading "articles in articles" is prohibitively slow. We are looking for a way to make the pages load fast, but still retain some linking to the glossary terms. Hopefully, someone smarter then me (presumably you!) will come up with a brilliant solution. We rely heavily on the Glossary component, and hope a new version comes out soon (with sh404SEF compatibility too?). Thanks! See a 1000 word glossary at Gnostic Teachings
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:Click on word = check glossary - 2010/04/21 20:17 The next release will make each term that identified in content into a link to the relevant glossary entry.

It sounds as if the solution to your problem would be to implement an optional limit on the maximum size of the popup definition, achieved by truncating the full definition.
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
gnostic

Karma: 1  
Re:Click on word = check glossary - 2010/04/22 13:11 Interesting. We look forward to the new release so we can try that solution.

Post edited by: gnostic, at: 2010/04/22 13:12
See a 1000 word glossary at Gnostic Teachings
  | | Sorry, you do not currently have permission to write here.
turminator

Karma: 0  
Re:Click on word = check glossary - 2010/05/06 19:07 Hello!

I think that its good idea. My situation is diferent. I am building a health glossary and also I have other website woth health information. I'm interested to do that when I write a word (in health website) that I have a definition (into glossary site) can create a link with the reference.

It is posible?

PD: I use JCE system for writing.

See you and best regards!
  | | Sorry, you do not currently have permission to write here.

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 9 guest online