Meta name

General ShopSite user discussion

Meta name

Postby dgroff » Fri Oct 21, 2011 1:53 pm

On every page Shopsite generates the meta name automatically.

Example
<meta name="generator" content="ShopSite Pro 11 r1.2 (data - BG4-Home-Default)">

Which is fine except that it doesnt have a end tag '/' . It should look like
<meta name="generator" content="ShopSite Pro 11 r1.2 (data - BG4-Home-Default)" />

Is there a way to fix this?
dgroff
 
Posts: 28
Joined: Fri May 27, 2011 8:43 am

Re: Meta name

Postby Jim » Fri Oct 21, 2011 2:31 pm

ShopSite generates html code. The /> at the end of a tag is xhtml syntax. There is no way to force ShopSite to publish xhtml code.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Meta name

Postby dgroff » Fri Dec 09, 2011 8:01 am

In future versions/updates of Shopsite will this be changed?
dgroff
 
Posts: 28
Joined: Fri May 27, 2011 8:43 am

Re: Meta name

Postby VillageHatShop » Wed Jan 11, 2012 11:36 am

How do we remove this tag all together? I don't buy this "can't be done" business.
VillageHatShop
 
Posts: 5
Joined: Sat Nov 13, 2010 4:31 pm

Re: Meta name

Postby loren_d_c » Wed Jan 11, 2012 11:58 am

The meta generator tag will be output after the first instance of 'head' found in the template. To get around this, you can put the <head> tag in a custom template include file and use [-- INCLUDE filename --] (note that this is WITHOUT the 'PROCESS' parameter, so ShopSite will not be parsing the include file's content, just dumping it into the page) in place of the <head> tag in your template.

Note that the meta generator tag is useful for supportability, since it also includes the ShopSite version and the name of the custom template used to create it, so consider leaving the <head> tag in the template, just comment out that line, that way you can easily see where to put it back in the future if you want to make sure the page is being generated via the template you think it should be.

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 109 guests