ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old January 30th, 2000, 01:52 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Reading META Tags

<i><b>Originally posted by : Mike Harlan (mharlan@home.com)</b></i><br />Is there a way I can read the META tags displaying the keywords and descriptions from within an ASP page?<br />

Reply With Quote
  #2  
Old January 30th, 2000, 11:43 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : steve schofield</b></i><br />No I don't believe so..<br /><br /><br />------------<br />Mike Harlan at 1/30/00 11:52:07 AM<br /><br />Is there a way I can read the META tags displaying the keywords and descriptions from within an ASP page?<br />

Reply With Quote
  #3  
Old February 4th, 2000, 11:04 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Mike B (mikeb811@hotmail.com)</b></i><br />Actually you can read the META tag info via the following javascript routine. <br /><br />Just pass which META attribute you want to read. This will read that attribute on all META tags and append them to a single string. If you remove the +'
', it will only return the last one.<br /><br />Hope this helps<br /><br />Mike<br /><br />function getMETA(whichAttribute)<br />{ // this will return the whichAttribute value of the META tag<br />var METAstr=''<br />var q=document.all<br />for (a in q)<br />{ if (q[a].tagName == "META") <br /> {<br /> METAstr+=q[a].getAttribute(whichAttribute)+'
'<br /> }<br />}<br />return METAstr<br />}<br /><br /><br /><br />------------<br />steve schofield at 1/30/00 9:43:49 PM<br /><br />No I don't believe so..<br /><br /><br />------------<br />Mike Harlan at 1/30/00 11:52:07 AM<br /><br />Is there a way I can read the META tags displaying the keywords and descriptions from within an ASP page?<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Reading META Tags


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway