[opencms-dev] <cms:parse> usage

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Fri Sep 26 15:42:51 CEST 2008


Hi Olli,

I'm following this thread with great interest. Still I - me mundane -
have no idea where one should put that code piece below.


On Fri, Sep 26, 2008 at 02:05:58PM +0100, Olli Aro wrote:
> The whole point of this is that you can parse through the content inside the
> tag and do what ever you like with that content. The most common application
> would be to manipulate content. For example we have used this in order to
> ensure that all images in the content have width and height attributes set.
> 
> Below is some code for you for this application:
> 
> /*
>       * (non-Javadoc)
>       * @see org.opencms.util.CmsHtmlParser#visitTag(org.htmlparser.Tag)
>       */
>      public void visitTag(Tag tag) {
>     	 

...

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list