Hi there,
ASSUMPTION: Your query is about the specialpurpose/ecommerce application. What of the metadata will be required dynamically and what is the dynamic data you want to get into the meta tags (product description, catalog name, etc.)? Do you know that? In a recent post I allready mentioned that: "product.description" will be the default entry on <META type="description" ...). In the event that you i18n that info, the spider will event see different languages provided it is able to follow your locale-switch. If you need to change anything for static (i.e. same META tag on any page displayed) or want to add other than the default mentioned above, I am afraid you'll need to get "into the mud". In that case, check the Screen definitions and the FreeMarker templates. The ecommerce default HTML header sits at: *specialpurpose/ecommerce/webapp/ecommerce/includes/headerHead.ftl* Beware, the use of THEMES may overwrite this header. If you are using themes for your layout (and not the ecommerce default theme), make sure you review *themes/<THEME>/includes/header.ftl* Some do overwrite, some don't as far as I can see. There may be a general rule that ecommerce themese will need to overwirte. As I have not been using themes so far, maybe someone on the list can elucidate. Regards Carsten 2009/9/11 Rees Watkins <[email protected]> > > > Hi > > Does anyone know how to set metadata like title for their ofbiz based web > site. Please can you refer me to some information on how this is done. > > Cheers > Rees > > > ----- Forwarded Message ---- > From: Rees Watkins <[email protected]> > To: [email protected] > Sent: Thursday, 10 September, 2009 15:58:22 > Subject: SEO meta data > > Hi > > What is the correct way to set meta data like title, metadescription, > metakeyword? > > I have several product lines each in their own category and I would like to > set title, description and keyword metadata for each catalog. > 1 - I think the metadata is set in the "Edit Catagory properties" under > name and product description. Is this correct? > > In my application the user selects the catalog from a menu at the top of > the page which loads the a page for the catalog. The screen action calls > main.groovy which calls CatalogWorker.java which returns the first catalog > listed, this is stored in the request and used by Category.groovy to load > title and other metadata. > > 2 - How do ensure the correct calalog is set in the request so > Category.groovy loads the correct information > > Thanks > Rees > > > > -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany
