Posted on 2004-10-12
In a page I have I am setting:
<cfhtmlhead text="<title>The Page Title</title><meta name='description' content='This is The Meta Description Tag'>">
But later on, I'm in need of getting the actual meta description of the page that is currently being displayed. Due to the fact that thse are in hundreds of pre-parsed pages, I'm wondering is there a way to reverse the cfhtmlhead tag and read the current contents being printed out to the meta description tag?
Ideally, I would think I could pull #cfhtmlhead.metadescription# out or something like that.
Any ideas? And no, I can't set this to a variable at the top of the page and read it later.
Thanks for any help.