Finding keywords
Heather Brown
heather at dejaviewphoto.com
Tue Mar 8 07:39:17 EST 2011
On 01/-10/-28163 02:59 PM, Cross wrote:
> Hello
>
> I have got a project in which I have to extract keywords given a URL. I
> would like to know methods for extraction of keywords. Frequency of
> occurence is one; but it seems naive. I would prefer something more
> robust. Please suggest.
>
> Regards
> Cross
>
> --- news://freenews.netfront.net/ - complaints: news at netfront.net ---
>
The keywords are an attribute in a tag called <meta>, in the section
called <head>. Are you having trouble parsing the xhtml to that point?
Be more specific in your question, and somebody is likely to chime in.
Although I'm not the one, if it's a question of parsing the xhtml.
DaveA
More information about the Python-list
mailing list