Edit existing meta tags


In default.aspx
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<meta content="text/javascript" http-equiv="Content-Script-Type"/>
<meta content="text/css" http-equiv="Content-Style-Type"/>
<meta id="MetaRefresh" runat="Server" http-equiv="Refresh" name="Refresh" />
<meta id="MetaDescription" runat="Server" name="DESCRIPTION" />
<meta id="MetaKeywords" runat="Server" name="KEYWORDS" />
<meta id="MetaCopyright" runat="Server" name="COPYRIGHT" />
<meta id="MetaGenerator" runat="Server" name="GENERATOR" />
<meta id="MetaAuthor" runat="Server" name="AUTHOR" />
<meta name="RESOURCE-TYPE" content="DOCUMENT" />
<meta name="DISTRIBUTION" content="GLOBAL" />
<meta id="MetaRobots" runat="server" name="ROBOTS" />
for instance the
<meta content="INDEX, FOLLOW" name="ROBOTS" id="MetaRobots">
should be editable


idumlupinar wrote Aug 21, 2011 at 11:25 PM

Timo any news on this? I'm currently working with STYLE Helper skin object and it is really helping me at the learning stage. However, i have trouble replacing meta description.

I have a very old module and i can only add meta info with a skinobject i guess. When used following:
<fortyfingers:STYLEHELPER AddMetaTags="DESCRIPTION:Android incelemeleri arşivi" runat="server" />
Instead of replacing it adds a second description tag below the first one.

I think module first should look for existing tags, if the value is not matched then deletes it + appends new one to page head.

wrote Aug 21, 2011 at 11:26 PM

Timo_Design wrote Aug 22, 2011 at 6:29 AM

Ok, good suggestion. I'm going to have to replace the whole meta tag handling anyway. But that will not be before somewhere next week as I'm really busy ATM.

BTW, why are you setting the description using the skin object and not the regular page title of DNN?

Timo_Design wrote Sep 12, 2011 at 10:08 PM

Added remove option to v 02.02.00

idumlupinar wrote Sep 12, 2011 at 10:34 PM

Great news, I'll test as soon as possible :)

wrote Oct 21, 2012 at 10:18 PM

wrote Feb 14, 2013 at 2:09 AM

wrote May 16, 2013 at 8:04 AM

wrote May 16, 2013 at 8:04 AM

wrote Jun 14, 2013 at 6:49 AM