I set up WSN Links to grab the section and details descriptions for the "description" meta tag, but sometimes it runs into some HTML which doesn't work in the meta tag and messes up the page. How can I strip out the HTML before it gets written to the meta tag?
This is the "get meta description" button? I'll change it to strip HTML, though nobody should use HTML inside a meta tag because it'll mess up the search engine listing too.
If you're really using the version you say you're using, please pay attention to critical security updates.
Comments on Stripping HTML from Custom Meta Tag
Member
Usergroup: Customer
Joined: Dec 01, 2007
Total Topics: 12
Total Comments: 24
I set up WSN Links to grab the section and details descriptions for the "description" meta tag, but sometimes it runs into some HTML which doesn't work in the meta tag and messes up the page. How can I strip out the HTML before it gets written to the meta tag?
thx.
Jackie
http://www.elementlist.com/lnx
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
This is the "get meta description" button? I'll change it to strip HTML, though nobody should use HTML inside a meta tag because it'll mess up the search engine listing too.
If you're really using the version you say you're using, please pay attention to critical security updates.
Member
Usergroup: Customer
Joined: Dec 01, 2007
Total Topics: 12
Total Comments: 24
I used this for the meta tag
IF {TID} contains detailcomments
meta name="description" content="{LINKDESCRIPTION[200]}"
Some of my descriptions have HTML and images, so that is why the HTML gets written to the description meta tag.
Member
Usergroup: Customer
Joined: Dec 01, 2007
Total Topics: 12
Total Comments: 24
I used this for the meta tag
IF {TID} contains detailcomments
meta name="description" content="{LINKDESCRIPTION[200]}"
Some of my descriptions have HTML and images, so that is why the HTML gets written to the description meta tag.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Use {LINKDESCRIPTIONSTRIPPED[200]} then.