rome
  1. rome
  2. ROME-114

select compact output or prettyPrint

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      114

      Description

      Hi,

      and i've got a last patch for today: i would like to be able to select the
      output format when outputting a feed with SyndFeedOutput or WireFeedOutput
      between compact format (no formatting whitespaces and newlines) and pretty-print
      (better human readablity), so i patched the two output classes and added
      additional output methods, allowing to choose between pretty-print (default) or
      not. Because the added methods don't influence existing code at all (default ist
      still prettyPrint, but you can call ie output(feed, writer, false) to get a
      compact feed), this change shouldn't be any problem for existing code.

      Greetings,

      Martin

        Activity

        Hide
        martinkurz added a comment -

        Created an attachment (id=27)
        add methods to choose between pretty-print and compact format in Ouptuters

        Show
        martinkurz added a comment - Created an attachment (id=27) add methods to choose between pretty-print and compact format in Ouptuters
        Hide
        nicklothian added a comment -

        Looks to be a useful feature, and appears harmless so I will commit.

        Show
        nicklothian added a comment - Looks to be a useful feature, and appears harmless so I will commit.
        Hide
        nicklothian added a comment -

        Patch committed

        Show
        nicklothian added a comment - Patch committed

          People

          • Assignee:
            rome-issues
            Reporter:
            martinkurz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: