camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Anstey <jans...@gmail.com>
Subject Re: [CONF] Apache Camel: TidyMarkup (page edited)
Date Tue, 20 Jan 2009 19:31:08 GMT
Nice comment :)

On Tue, Jan 20, 2009 at 3:46 PM, <confluence@apache.org> wrote:

>    Page Edited : CAMEL <http://cwiki.apache.org/confluence/display/CAMEL>:
> TidyMarkup <http://cwiki.apache.org/confluence/display/CAMEL/TidyMarkup>
>
> TidyMarkup <http://cwiki.apache.org/confluence/display/CAMEL/TidyMarkup>has been
edited by Claus
> Ibsen <http://cwiki.apache.org/confluence/display/%7Edavsclaus> (Jan 20,
> 2009).
>
> (View changes)<http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=107981&originalVersion=2&revisedVersion=3>
> Content:
> TidyMarkup
>
> TidyMarkup is a Data Format<http://cwiki.apache.org/confluence/display/CAMEL/Data+Format>that
uses the
> TagSoup <http://www.ccil.org/%7Ecowan/XML/tagsoup/> to tidy up HTML. It
> can be used to parse ugly HTML and return it as pretty wellformed HTML.
> *Camel eats our own dog food soap*
>
> We had some issues in our pdf Manual<http://cwiki.apache.org/confluence/display/CAMEL/Manual>where
we had some strange symbols. So
> Jonathan <http://janstey.blogspot.com/> used this data format to tidy up
> the wiki html pages that are used as base for rendering the pdf manuals. And
> then the mysterious symbols vanished.
>
> TidyMarkup <http://cwiki.apache.org/confluence/display/CAMEL/TidyMarkup>only supports
the
> *unmarshal* operation as we really don't want to turn well formed HTML
> into ugly HTML
> Example
>
> An example where the consumer provides some HTML
>
> from("file://site/inbox").unmarshal().tidyMarkup().to("file://site/blogs");
>
>  Requirements
>
> TidyMarkup <http://cwiki.apache.org/confluence/display/CAMEL/TidyMarkup>is provided
in the
> *camel-tagsoup.jar* so if you are using maven you can just depend on this
> artifactId camel-tagsoup.
>
>    Powered by Atlassian Confluence<http://www.atlassian.com/software/confluence/default.jsp?clicked=footer>(Version:
2.2.9 Build:#527 Sep 07, 2006) - Bug/feature
> request <http://jira.atlassian.com/secure/BrowseProject.jspa?id=10470>
>
> Unsubscribe or edit your notifications preferences<http://cwiki.apache.org/confluence/users/viewnotifications.action>
>



-- 
Cheers,
Jon

http://janstey.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message