You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Jon Anstey <ja...@gmail.com> on 2009/01/20 20:31:08 UTC

Re: [CONF] Apache Camel: TidyMarkup (page edited)

Nice comment :)

On Tue, Jan 20, 2009 at 3:46 PM, <co...@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/

Re: [CONF] Apache Camel: TidyMarkup (page edited)

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

No need to apologize. Thanks for the contribution. Keep it up and as
always family should come first :)

On Tue, Jan 20, 2009 at 11:06 PM, Ramon Buckland
<ra...@gmail.com> wrote:
> Thanks Claus, apologies I have been stuck between work meetings and my twin
> girls to get that doco written. (never did) thanks for writing it .. and Yes
> Jon, I thought it very funny (apt) of your fix for the manual .. good work.!
>
>
> r.
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Re: [CONF] Apache Camel: TidyMarkup (page edited)

Posted by Ramon Buckland <ra...@gmail.com>.
Thanks Claus, apologies I have been stuck between work meetings and my twin
girls to get that doco written. (never did) thanks for writing it .. and Yes
Jon, I thought it very funny (apt) of your fix for the manual .. good work.!


r.