Re: How to add more fields?
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.
<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.
If you would decide to make the modifications, Jayant, I'd appreciate if you let us know via this list about your experiences. / Gunnar
|