[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Re: How to add more fields?


  • From: Gunnar Hjalmarsson  
  • Date: Sun, 01 Dec 2002 21:40:57 +0100

Jayant Kumar Gandhi wrote:
For each ring I wish to add a field of keywords that will be used in META Keywords information on each generated page of that Ring.

First, your message made me realize that it would make sense to include the following meta tag in mainhtml.pm:

    <meta name="description" content="$rlmain::ringdesc" />

That would provide meta *description* info at the list pages, including
next/prev 5. Maybe you have already done that; I just did in the original program.


At the same time, such a meta tag would be redundant in admhtml.pm and
mailhtml.pm, since the admin pages are password protected.

As regards adding fields, the program does not include any preparations
for making it easier. In orther words, we are talking about program
modifications.

The starting point for adding new fields would be two arrays in
rlmain.pm, where the fields are defined: @rlmain::ringnames and
@rlmain::sitenames. As regards a ring keywords field, to be able to
enter the keywords, you would also need to modify 'sub form', 'sub
appearanceform', and possibly 'sub validation' in ring.pm.

I may be wrong, but I have a feeling that the search engine robots
typically don't grab the meta keywords information nowadays.
Accordingly, I doubt that this modification would be worthwhile.

While for each site in the ring, i wish to add two fields, number of votes and rating.

I suppose that you have a separate program for handling votes and rating, and that you plan to make it update sites.db with that information.

If you would decide to make the modifications, Jayant, I'd appreciate if you let us know via this list about your experiences.

/ Gunnar


Follow-Ups from:
Jayant Kumar Gandhi

References to:
Jayant Kumar Gandhi

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]