abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Everett Toews (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ABDERA-5) Need a way to pretty print feeds
Date Fri, 06 Sep 2013 16:14:51 GMT

    [ https://issues.apache.org/jira/browse/ABDERA-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760314#comment-13760314
] 

Everett Toews commented on ABDERA-5:
------------------------------------

To use this do

{code}
Writer writer = abdera.getWriterFactory().getWriter("prettyxml");
writer.writeTo(entry, System.out);
{code}
                
> Need a way to pretty print feeds
> --------------------------------
>
>                 Key: ABDERA-5
>                 URL: https://issues.apache.org/jira/browse/ABDERA-5
>             Project: Abdera
>          Issue Type: New Feature
>            Reporter: Garrett Rooney
>            Assignee: James M Snell
>            Priority: Minor
>
> When we serialize feeds back to XML the output is kinda hideous, since it all comes out
as one really long line.
> It'd be great if there was some built in way to pretty print the output (like you get
from the --format option to xmllint), but according to James there's no way to do that in
Axiom.
> This issue is just a reminder so the idea doesn't fall off the radar.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message