CreateFilter.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2003, 2006. All rights reserved.
  6. *
  7. * US Government Users Restricted Rights - Use, duplication or
  8. * disclosure restricted by GSA ADP Schedule Contract with IBM
  9. * Corp.
  10. *
  11. * DISCLAIMER OF WARRANTIES. The following [enclosed] code is
  12. * sample code created by IBM Corporation. This sample code is
  13. * not part of any standard or IBM product and is provided to you
  14. * solely for the purpose of assisting you in the development of
  15. * your applications. The code is provided "AS IS", without
  16. * warranty of any kind. IBM shall not be liable for any damages
  17. * arising out of your use of the sample code, even if they have
  18. * been advised of the possibility of such damages.
  19. *
  20. =================================================================
  21. -->
  22. <request
  23. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  24. xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd"
  25. type="update" create-oids="true">
  26. <!-- Sample for creating a filter with some sample entries -->
  27. <portal action="locate">
  28. <!-- Add the two words 'badword1' and 'badword2' to the black list filter.
  29. See information center for details concerning filter activation. -->
  30. <filter-instance action="update" id="DefaultBlacklistFilter">
  31. <filter-data value="badword1" action="update"/>
  32. <filter-data value="badword2" action="update"/>
  33. </filter-instance>
  34. <!-- Add the two words 'goodword1' and 'goodword2' to the white list filter.
  35. See information center for details concerning filter activation. -->
  36. <filter-instance action="update" id="DefaultWhitelistFilter">
  37. <filter-data value="goodword1" action="update"/>
  38. <filter-data value="goodword2" action="update"/>
  39. </filter-instance>
  40. </portal>
  41. </request>