Easy, just do a simple DOM call to the meta tag if it exists and
gather its contents.
var m = document.getElementsByTagName('meta');
if (m.length < 1) return;
var x;
for (var i = 0; i<m.length; i++) {
if (m[i].getAttribute('name').toLowerCase() == 'keywords') x =
m[i].getAttribute('content');
}
Then x contains your keywords.
On 6/5/05, Scott Villarosa <[EMAIL PROTECTED]> wrote:
> So based on your feedback guys I think this idea would be something more
> suitable as a Firefox extension, Greasemonkey script, or other web hack.
> Basically I'm now thinking of something that retrieves keywords from a
> site's meta tags and suggests those to the user as recommended tags. Anyone
> know a talented coder that I can collaborate my ideas with? Seriously.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Chris Lott
> Sent: Saturday, 4 June 2005 7:09 AM
> To: del.icio.us discussion list
> Subject: Re: [delicious-discuss] Recommended tags based on a site's URL
>
> On 6/3/05, Clay Shirky <[EMAIL PROTECTED]> wrote:
> > If the "tag DNA" of a URL is made
> > less variable because of reduced independent choice, that seems like a
> > big risk for such a small pinch of syntactic sugar.
>
> This phenomenon is easy to observe. I was providing a group of users I work
> with some default posting tags to "get them started" based on the section of
> a site they were posting to and content from their posts.
> Big mistake. The overwhelming response was to simply accept the defaults as
> if they are some kind of a priori cataloging system.
> Virtually NO ONE replaced the starter tags and almost no one even bothered
> to add tags even with obvious need or glaring dissonance between their posts
> and the generated recommendations.
>
> c
> --
> Chris Lott
> _______________________________________________
> discuss mailing list
> [email protected]
> http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss
>
> _______________________________________________
> discuss mailing list
> [email protected]
> http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss
>
--
Dante
dantecubed.com: Web Design, Development & more
[EMAIL PROTECTED]
_______________________________________________
discuss mailing list
[email protected]
http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss