Revision: 3434 http://archive-access.svn.sourceforge.net/archive-access/?rev=3434&view=rev Author: binzino Date: 2011-04-16 02:38:39 +0000 (Sat, 16 Apr 2011) Log Message: ----------- Put keywords and description into content metadata, not parse metadata. Remove System.out messages. Modified Paths: -------------- tags/nutchwax-0_13-JIRA-WAX-75/archive/src/plugin/html-decorator/src/java/org/archive/nutchwax/html/HtmlDecorator.java Modified: tags/nutchwax-0_13-JIRA-WAX-75/archive/src/plugin/html-decorator/src/java/org/archive/nutchwax/html/HtmlDecorator.java =================================================================== --- tags/nutchwax-0_13-JIRA-WAX-75/archive/src/plugin/html-decorator/src/java/org/archive/nutchwax/html/HtmlDecorator.java 2011-04-16 00:02:08 UTC (rev 3433) +++ tags/nutchwax-0_13-JIRA-WAX-75/archive/src/plugin/html-decorator/src/java/org/archive/nutchwax/html/HtmlDecorator.java 2011-04-16 02:38:39 UTC (rev 3434) @@ -32,15 +32,13 @@ // If there are no meta-tags, just return. if ( metaTags == null ) return parseResult; - Metadata parseMeta = parseResult.get( content.getUrl( ) ).getData().getParseMeta(); + Metadata contentMeta = parseResult.get( content.getUrl( ) ).getData().getContentMeta(); for ( String key : new String[] { "description", "keywords" } ) { String value = metaTags.getGeneralTags().getProperty( key, "" ); - System.out.println( key + ": " + value ); - - parseMeta.set( key, value ); + contentMeta.set( key, value ); } return parseResult; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |