abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r587556 - /incubator/abdera/java/trunk/extensions/main/src/main/java/org/apache/abdera/ext/features/FeaturesHelper.java
Date Tue, 23 Oct 2007 16:57:39 GMT
Author: jmsnell
Date: Tue Oct 23 09:57:35 2007
New Revision: 587556

URL: http://svn.apache.org/viewvc?rev=587556&view=rev
Log:
A few more tweaks to the features stuff. It will be nice when the I-D can make progress and
we can get
some standardization of the feature id's

Modified:
    incubator/abdera/java/trunk/extensions/main/src/main/java/org/apache/abdera/ext/features/FeaturesHelper.java

Modified: incubator/abdera/java/trunk/extensions/main/src/main/java/org/apache/abdera/ext/features/FeaturesHelper.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/extensions/main/src/main/java/org/apache/abdera/ext/features/FeaturesHelper.java?rev=587556&r1=587555&r2=587556&view=diff
==============================================================================
--- incubator/abdera/java/trunk/extensions/main/src/main/java/org/apache/abdera/ext/features/FeaturesHelper.java
(original)
+++ incubator/abdera/java/trunk/extensions/main/src/main/java/org/apache/abdera/ext/features/FeaturesHelper.java
Tue Oct 23 09:57:35 2007
@@ -49,6 +49,7 @@
   
   private static final String FEATURE_BASE                   = "http://www.w3.org/2007/app/";
   private static final String ABDERA_FEATURE_BASE            = "http://incubator.apache.org/abdera/features/";
+  private static final String BLOG_FEATURE_BASE              = "http://incubator.apache.org/abdera/features/blog/";
   public static final String FEATURE_SUPPORTS_DRAFTS         = FEATURE_BASE + "supportsDraft";
   public static final String FEATURE_IGNORES_DRAFTS          = FEATURE_BASE + "ignoresDraft";
    
@@ -208,6 +209,12 @@
    * (see the org.apache.abdera.ext.wsse Package)
    */
   public static final String FEATURE_SUPPORTS_WSSE = ABDERA_FEATURE_BASE + "supportsWsse";
 
+  
+  /**
+   * Indicates that the collection will remove markup that is considered potentially unsafe
from the entry
+   * examples of the type of markup that would be removed include scripts and embed 
+   */
+  public static final String FEATURE_FILTERS_MARKUP = BLOG_FEATURE_BASE + "filtersUnsafeMarkup";
   
   
   private FeaturesHelper() {}



Mime
View raw message