Build Glossary script broken

Matt Neuburg matt at tidbits.com
Sat Mar 30 11:17:08 PST 2002


On Sat, 30 Mar 2002 00:33:33 +0000, Douglas Wagner <hdmw at mac.com> said:

>Given a website with the structure listed below, I find Frontier will
>only create a partial glossary. I ran two tests, one in a guest db and
>the other in Frontier.root.
>Frontier reports 20 items added each time, which is the correct number.
>However, I could see the number displayed in the value column of
>#glossary was first 13 and then 15, but the count of items in the
>glossary table was 16 each time.

Frontier processed 20 items, but that does not mean that 20 distinct items
were actually added to the glossary. A glossary is built around the #title
of the page. If your #title values are not unique, then each successive
page processed with the same #title as a previously processed page will
just overwrite the existing glossary entry. It is absolutely essential that
every #title in your site be unique for that site.

http://www.ojai.net/matt/webtutorial/RelativeReferences.html

m.
-- 

matt neuburg, phd = matt at tidbits.com, http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/




More information about the Frontier-Users mailing list