lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1565) CLONE -Add meta keywords to HTMLParser
Date Fri, 05 Nov 2010 08:38:08 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Muir resolved LUCENE-1565.
---------------------------------

    Resolution: Duplicate

duplicate of LUCENE-591

> CLONE -Add meta keywords to HTMLParser
> --------------------------------------
>
>                 Key: LUCENE-1565
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1565
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Examples
>    Affects Versions: 2.0.0
>            Reporter: Milind Srivastava
>            Priority: Minor
>
> It would be good if the HTMLParser could give us the keywords specified in the meta tags,
so that we can index them.
> In HTMLParser.jj:
>   void addMetaTag() {
>       metaTags.setProperty(currentMetaTag, currentMetaContent);
>       currentMetaTag = null;
>       currentMetaContent = null;
>       return;
>   }
> One way to do it:
>   void addMetaTag() throws IOException {
>       metaTags.setProperty(currentMetaTag, currentMetaContent);
>       if (currentMetaTag.equalsIgnoreCase("keywords")) {
>           pipeOut.write(currentMetaContent);
>       }
>       currentMetaTag = null;
>       currentMetaContent = null;
>       return;
>   }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message